Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7107585

[macosx] Test incorrect calculate position of object on frame

XMLWordPrintable

    • b14
    • generic
    • os_x
    • Verified

        Problems with test closed/javax/swing/JSlider/6348946/bug6348946.java

        On Mac os x default size of JFrame less than in other platforms.
        In method clickOnSlider mouse click happens on JSliders's thumb.

        May be need change line:
        robot.mouseMove(frameLefatX + 30, frameBottomY - 15);
        to:
        robot.mouseMove(frameLefatX + 20, frameBottomY - 15);

        or manualy set size of window.

        log in attachment.

              alexsch Alexandr Scherbatiy
              pealexan Petrov Alexander (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: