jQuery in Action, 2nd edition
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: GridBagLayout/JScrollPane Bug Explained- Is there a workaround?
 
Similar Threads
gridbaglayout tutorial
simple GridBagLayout question
GridBagLayout
GridBagLayout, & addComp() What are the parameters?
how to align components in GridBagLayout in JAVA swing