aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes GridBagLayout/JScrollPane Bug Explained- Is there a workaround? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "GridBagLayout/JScrollPane Bug Explained- Is there a workaround?" Watch "GridBagLayout/JScrollPane Bug Explained- Is there a workaround?" New topic
Author

GridBagLayout/JScrollPane Bug Explained- Is there a workaround?

Josh Rehman
Ranch Hand

Joined: Jul 24, 2001
Posts: 63
Ever seen a jumpy GridBagLayout? Ever wonder why? This demo code explains it, and tracks root cause. The code to reproduce is self-explainitory. The first class is the one that demos the problem. The second is a utility class I use in the first, and is not relevant to the problem.

Josh Rehman
Ranch Hand

Joined: Jul 24, 2001
Posts: 63
Found something in the bug parade that looks related. Please join the Sun JDC and vote for this bug! The more votes, the more likely this bug will get fixed!
http://developer.java.sun.com/developer/bugParade/bugs/4760103.html
 
Consider Paul's rocket mass heater.
 
subject: GridBagLayout/JScrollPane Bug Explained- Is there a workaround?