-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
hopper
-
x86
-
windows_2000
-
Verified
Name: ddT132432 Date: 09/12/2001
java version "1.4.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)
Take entire JScrollPane demo from:
http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html
Use the first demo code on the URL (ScrollDemo.java).
Modify ScrollDemo.java's main:
public static void main(String s[]) {
JFrame frame = new JFrame("ScrollDemo");
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
JSplitPane splitter = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
splitter.setTopComponent(new ScrollDemo());
splitter.setBottomComponent(new JButton("Press me!"));
frame.setContentPane(splitter);
frame.pack();
frame.setVisible(true);
}
Run the application (I have tested and found the problem with J2SE 1.3.X).
Resize the window if necessary to get vertical and horizontal scrollbars.
Use the splitter to make the JScrollPane small enough that the vertical
scrollbar goes over the rowheader area. Notice that the rowheader is painted
between the edge of the scrollbar and the splitter bar. The same problem holds
true of the column headers..
(Review ID: 131568)
======================================================================
- relates to
-
JDK-8044371 setOneTouchExpandable functionality of JSplitPane will reduce vertical Scrollbar
-
- Resolved
-