BoxLayout in Netbeans GUI builder

  • Follow


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
0
Reply Gerald 3/25/2005 2:32:32 AM


0 Replies
420 Views

(page loaded in 0.023 seconds)

Similiar Articles:








7/25/2012 12:02:11 PM


Reply: