I copied this description from Bug Id 4259296

The symptoms can be reproduced easily with

http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/TreeDemo.java

                                      Basically, when a JTree inside a
JScrollPane is smaller than the viewport of
                                      the scrollpane then PageUp/PageDown keys
cause a wierd redraw effect. The JTree
                                      appears to be shrunk to its actual size
and is moved such its bottom edge
                                      touches the bottom edge of the JScrollPane
 (the gap between the two top edges
                                      is also rendered differently - in gray).

                                      Expanding or shrinking nodes, followed by
further PageUp/PageDown keypresses
                                      further confuses the positioning of the
JTree.


This bug has been closed with no workaround. If somebody has a fix for this,
please let me know.
I am using JDK1.2.2.

Thanks
Neelima


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to