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

Mouse cursor changed unexpectedly on JSplitPane on XAWT

XMLWordPrintable

    • generic, x86
    • linux, solaris_2.5.1

      OPERATING SYSTEM(S):
      Redhat Enterprise Linux AS version 4(RHEL4), RHEL3, and SLES9

      FULL JDK VERSION(S):
      java version "1.5.0_03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
      Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)

      DESCRIPTION:
      1. Compile and launch JSplitPane component, such as the sample below.
      ----JSplitPaneTest.java ---------
      import javax.swing.*;
      public class JSplitPaneTest extends JSplitPane {
              public JSplitPaneTest() {
                      super();
              }

              public static void main(String[] args) {
                      JFrame frame = new JFrame("Swing JSplitPane component");
                      frame.getContentPane().add(new JSplitPaneTest());
                      frame.setSize(300, 300);
                      frame.setVisible(true);
              }
      }
      ------------------------------

      2. Move mouse cursor to the divider between left-button and right-button

      3. Press left mouse button and keep it, then mouse icon is changed to left and right arrow,

      4. Move mouse cursor to the outside of window (Don't release left mouse button)

      5. Move mouse cursor back to the inside of window.

      Result
      Mouse icon is changed to standard arrow icon.

      Expected Result
      Mouse icon should not be changed. It should keep left and right arrow,like Motif AWT.

      Additional Information:
      Does not occur on Motif AWT.

            dav Andrei Dmitriev (Inactive)
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: