test/jdk/sanity/client/SwingSet/src/ToolTipDemoTest.java
author akolarkunnu
Thu, 11 Oct 2018 07:22:53 -0700
changeset 52128 1e0cdaf980f3
parent 51595 02572bed95b6
child 53666 1a1c393b5c42
permissions -rw-r--r--
8211139: Increase timeout value in all tests under jdk/sanity/client/SwingSet/src Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51595
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     1
/*
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     2
 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     4
 *
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     7
 * published by the Free Software Foundation.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     8
 *
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    13
 * accompanied this code).
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    14
 *
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    18
 *
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    21
 * questions.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    22
 */
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    23
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    24
import static com.sun.swingset3.demos.tooltip.ToolTipDemo.DEMO_TITLE;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    25
import static com.sun.swingset3.demos.tooltip.ToolTipDemo.HTML_TOOLTIP_COMP_TITLE;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    26
import static com.sun.swingset3.demos.tooltip.ToolTipDemo.HTML_TOOLTIP_TEXT;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    27
import static com.sun.swingset3.demos.tooltip.ToolTipDemo.PLAIN_TOOLTIP_COMP_TITLE;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    28
import static com.sun.swingset3.demos.tooltip.ToolTipDemo.PLAIN_TOOLTIP_TEXT;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    29
import static com.sun.swingset3.demos.tooltip.ToolTipDemo.STYLE_TOOLTIP_COMP_TITLE;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    30
import static com.sun.swingset3.demos.tooltip.ToolTipDemo.STYLE_TOOLTIP_TEXT;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    31
import static org.jemmy2ext.JemmyExt.EXACT_STRING_COMPARATOR;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    32
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    33
import java.awt.Dimension;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    34
import java.awt.Point;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    35
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    36
import javax.swing.ToolTipManager;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    37
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    38
import org.jtregext.GuiTestListener;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    39
import org.netbeans.jemmy.ClassReference;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    40
import org.netbeans.jemmy.operators.JComponentOperator;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    41
import org.netbeans.jemmy.operators.JFrameOperator;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    42
import org.netbeans.jemmy.operators.JLabelOperator;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    43
import org.netbeans.jemmy.operators.JToolTipOperator;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    44
import org.testng.annotations.Listeners;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    45
import org.testng.annotations.Test;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    46
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    47
import com.sun.swingset3.demos.tooltip.ToolTipDemo;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    48
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    49
/*
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    50
 * @test
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    51
 * @key headful
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    52
 * @summary Verifies SwingSet3 ToolTipDemo page by checking whether tooltip
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    53
 *  shown or removed on user actions, tooltip text, location, number of
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    54
 *  tooltips shown at a time, with different tooltip texts plain, html and
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    55
 *  styled.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    56
 *
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    57
 * @library /sanity/client/lib/jemmy/src
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    58
 * @library /sanity/client/lib/Extensions/src
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    59
 * @library /sanity/client/lib/SwingSet3/src
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    60
 * @modules java.desktop
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    61
 *         java.logging
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    62
 * @build org.jemmy2ext.JemmyExt
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    63
 * @build com.sun.swingset3.demos.tooltip.ToolTipDemo
52128
1e0cdaf980f3 8211139: Increase timeout value in all tests under jdk/sanity/client/SwingSet/src
akolarkunnu
parents: 51595
diff changeset
    64
 * @run testng/timeout=600 ToolTipDemoTest
51595
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    65
 */
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    66
@Listeners(GuiTestListener.class)
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    67
public class ToolTipDemoTest {
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    68
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    69
    private static int TOOLTIP_DISMISS_DELAY = 60000;
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    70
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    71
    /**
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    72
     * Testing whether tooltip shown while keeping the mouse on label, removed
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    73
     * on mouse press, tooltip text, location, number of tooltips shown at a
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    74
     * time with different tooltip texts plain, html and styled.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    75
     *
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    76
     * @throws Exception
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    77
     */
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    78
    @Test
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    79
    public void test() throws Exception {
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    80
        new ClassReference(ToolTipDemo.class.getCanonicalName()).startApplication();
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    81
        JFrameOperator frameOperator = new JFrameOperator(DEMO_TITLE);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    82
        frameOperator.setComparator(EXACT_STRING_COMPARATOR);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    83
        // Setting the tooltip dismiss delay
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    84
        ToolTipManager.sharedInstance().setDismissDelay(TOOLTIP_DISMISS_DELAY);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    85
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    86
        // Verifying the plain tooltip properties
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    87
        checkToolTip(frameOperator, PLAIN_TOOLTIP_COMP_TITLE,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    88
                PLAIN_TOOLTIP_TEXT);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    89
        // Verifying the html tooltip properties
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    90
        checkToolTip(frameOperator, HTML_TOOLTIP_COMP_TITLE,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    91
                HTML_TOOLTIP_TEXT);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    92
        // Verifying the styled tooltip properties
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    93
        checkToolTip(frameOperator, STYLE_TOOLTIP_COMP_TITLE,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    94
                STYLE_TOOLTIP_TEXT);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    95
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    96
        // Reducing the frame size to half and verifying that tooltip shown
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    97
        // even it goes out of the window
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    98
        Dimension newSize = new Dimension(frameOperator.getWidth() / 2,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
    99
                frameOperator.getHeight() / 2);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   100
        frameOperator.resize(newSize.width, newSize.height);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   101
        frameOperator.waitComponentSize(newSize);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   102
        checkToolTip(frameOperator, HTML_TOOLTIP_COMP_TITLE,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   103
                HTML_TOOLTIP_TEXT);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   104
    }
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   105
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   106
    /**
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   107
     * Shows the tooltip on specified component and verifies the properties
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   108
     * tooltip text, location. And dismisses thetooltip after verification of
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   109
     * the properties.
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   110
     *
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   111
     * @param frameOperator
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   112
     * @param compTitle
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   113
     * @param toolTipText
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   114
     */
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   115
    private void checkToolTip(JFrameOperator frameOperator, String compTitle,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   116
            String toolTipText) {
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   117
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   118
        JLabelOperator toolTipHostComp =
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   119
                new JLabelOperator(frameOperator, compTitle);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   120
        JToolTipOperator toolTipOperator =
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   121
                new JToolTipOperator(toolTipHostComp.showToolTip());
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   122
        toolTipOperator.waitTipText(toolTipText);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   123
        checkToolTipLocation(toolTipHostComp, toolTipOperator);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   124
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   125
        // Dismissing the tooltip by mouse click
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   126
        toolTipHostComp.clickMouse();
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   127
        toolTipOperator.waitComponentShowing(false);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   128
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   129
    }
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   130
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   131
    private void checkToolTipLocation(JComponentOperator componentOpertor,
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   132
                JToolTipOperator toolTipOperator) {
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   133
        Point labelStartPoint = componentOpertor.getLocationOnScreen();
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   134
        Dimension labelSize = componentOpertor.getSize();
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   135
        Point labelEndPoint = new Point((labelStartPoint.x + labelSize.width),
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   136
                (labelStartPoint.y + labelSize.height));
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   137
        toolTipOperator.waitComponentLocationOnScreen(
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   138
                labelStartPoint, labelEndPoint);
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   139
    }
02572bed95b6 8209993: Create a test for SwingSet3 ToolTipDemo
akolarkunnu
parents:
diff changeset
   140
}