BoxLayout in Netbeans GUI builder

From: Gerald (gcaldwe1_at_bellsouth.net)
Date: 03/25/05


Date: Thu, 24 Mar 2005 21:32:32 -0500

I'm constructing a small application using the GUI Builder in Netbeans
rather then straight code. I have a JPanel with a BoxLayout. I've added
a several buttons and I want to create box.HorizontalStruct between the
first and the second button.

      Basically I want to implement the following code using the GUI.

     container.add( new JButton("1");
     container.add(Box.createHorizontalStruct(22));
     container.add( new JButton("1");

Is this possible using the GUI builder? I can't seem to find the Box
container anywhere on the Swing palette.

Thanks in advance
Gerald


Quantcast