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 |
|