Tuesday, March 22, 2011

Box/Glue/Struts in BoxLayout using NetBeans

Couldn't figure out how to add Box/Glue/Struts to a BoxLayout in NetBeans 6.9. From my research on the web, it can't be done w/ the designer.

A solution I found was to add an empty border to the control beside which I wanted to put a space, and set the insets accordingly. Meh.

0 Comments:

Post a Comment

<< Home