-
Bug
-
Resolution: Fixed
-
P1
-
1.4.2
-
b17
-
x86, sparc
-
linux, solaris_8, solaris_9, windows_98
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2061097 | 5.0 | Joshua Outwater | P1 | Resolved | Fixed | tiger |
Name: iaR10016 Date: 11/12/2002
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b05
(The bug is not reproducible with JDK1.4.0, JDK1.4.1)
Platform[s] : RedHat Linux 7.3, Suse Linux 8.0, Windows 98, Windows 2000
switch/Mode : default
Cursor in JInternalFrame component behaves incorrectly sometimes.
The following test example demonstrates the bug:
--------- test.java ---------
import javax.swing.*;
import java.awt.*;
public class test extends JFrame {
public test() {
super("JInternalFrame test");
JDesktopPane dpane = new JDesktopPane();
JInternalFrame internalFrame = new JInternalFrame("JInternalFrame, true");
internalFrame.setBounds(20,20,100,150);
internalFrame.setVisible(true);
dpane.add(internalFrame);
getContentPane().add( dpane, BorderLayout.CENTER );
}
public static void main(String[] args) {
JFrame frame = new test();
frame.setSize(new Dimension(400,300));
frame.setVisible(true);
}
}
-----------------------------
Please, compile and run this example with JDK1.4.2.
To reproduce the failure try to move mouse to the upper JInternalFrame border.
When the cursor becomes "North resize" first time, click left mouse button and try to resize the frame.
JInternalFrame moves instead.
This failure affects two JCK1.4a tests:
api/javax_swing/interactive/JOptionPaneTests.html#JOptionPane
api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame
Specific machine info:
======================
Hostname: linux-17
OS: Windows 98
Hostname: linux-19
OS: RedHat Linux 7.3
======================================================================
- backported by
-
JDK-2061097 Incorrect cursor behaviour for JInternalFrame component
- Resolved
- relates to
-
JDK-4774514 Two JCK1.4a-runtime-api interactive tests failed
- Closed