-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
P4
-
Affects Version/s: 5.0
-
Component/s: client-libs
-
generic
-
generic
The cursor changes from an arrow to a resizing cursor after cicking between 1 to 3 times on the maximize/restore button in the internal frame. This happens only when you use method setWindowDecorationStyle.
I compiled and ran the following code below with 1.5 b33 on Win 2k.
-------------------------------------------------------------------
import javax.swing.*;
public class JFrameTest {
public static void main(String[] args) {
new JFrameTest();
}
public JFrameTest() {
JFrame frame = new JFrame();
frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(300,300);
frame.setVisible(true);
}
}
-------------------------------------------------------------------
I compiled and ran the following code below with 1.5 b33 on Win 2k.
-------------------------------------------------------------------
import javax.swing.*;
public class JFrameTest {
public static void main(String[] args) {
new JFrameTest();
}
public JFrameTest() {
JFrame frame = new JFrame();
frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(300,300);
frame.setVisible(true);
}
}
-------------------------------------------------------------------
- relates to
-
JDK-5073052 Cursor doesn't change back to the default cursor after resizing frame
-
- Closed
-