-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.3.1
-
x86
-
windows_2000
Name: jk109818 Date: 05/09/2003
FULL PRODUCT VERSION :
java version "1.3.1_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_07-b02)
Java HotSpot(TM) Client VM (build 1.3.1_07-b02, mixed mode)
FULL OS VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
When a JSplitPane is disabled and if it contains another Splitpane resize Cursor is not shown but it allows to resize.
Here is the sample code for simulating the problem
-----------------------------------------------------
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class test extends JFrame {
public test() {
super("JSplitArea cursor test");
JSplitPane splitPane1=new JSplitPane(JSplitPane.VERTICAL_SPLIT);
JSplitPane splitPane=new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, new
JTextArea(), new JTextArea());
splitPane1.setTopComponent(splitPane);
splitPane1.setBottomComponent(new JPanel());
splitPane1.setDividerLocation(180);
splitPane1.setEnabled(false);
splitPane.setDividerLocation(20);
splitPane.setPreferredSize(new Dimension(500, 300));
getContentPane().add(splitPane1, BorderLayout.CENTER);
}
public static void main(String[] args) {
JFrame frame = new test();
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
frame.pack();
frame.setVisible(true);
}
}
----------------------------------------------------------
in the give sample horizontal split does not show resize cursor until vertical split is disabled.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 185430)
======================================================================
FULL PRODUCT VERSION :
java version "1.3.1_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_07-b02)
Java HotSpot(TM) Client VM (build 1.3.1_07-b02, mixed mode)
FULL OS VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
When a JSplitPane is disabled and if it contains another Splitpane resize Cursor is not shown but it allows to resize.
Here is the sample code for simulating the problem
-----------------------------------------------------
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class test extends JFrame {
public test() {
super("JSplitArea cursor test");
JSplitPane splitPane1=new JSplitPane(JSplitPane.VERTICAL_SPLIT);
JSplitPane splitPane=new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, new
JTextArea(), new JTextArea());
splitPane1.setTopComponent(splitPane);
splitPane1.setBottomComponent(new JPanel());
splitPane1.setDividerLocation(180);
splitPane1.setEnabled(false);
splitPane.setDividerLocation(20);
splitPane.setPreferredSize(new Dimension(500, 300));
getContentPane().add(splitPane1, BorderLayout.CENTER);
}
public static void main(String[] args) {
JFrame frame = new test();
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
frame.pack();
frame.setVisible(true);
}
}
----------------------------------------------------------
in the give sample horizontal split does not show resize cursor until vertical split is disabled.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 185430)
======================================================================