Friday, March 31, 2006

Small steps, working code, test test test

Its been more than 5 years since I've done any swing. This is fun!

I've refined things a bit, having been forced to make my theory work. :-) I'm not using the create code hook like I said. Rather, I just create a empty JFrame with BoxLayout. Then I can just add another JFrame (this one built using the NetBeans GUI builder) and it just works.

The key to keeping this simple is BoxLayout--it gives the auto resizing you want to make the subordinate components using GroupLayout happy.

I'm still going very slow. But even small steps can take you far if you avoid going in circles.

Bill

0 Comments:

Post a Comment

<< Home