Title: RE: GridLayout with different Width columns

Draw a picture of what you want.
If it's like this:

 ------------------------------------------
|____________________________|_____________|
|____________________________|_____________|
|____________________________|_____________|
|____________________________|_____________|
|____________________________|_____________|
|____________________________|_____________|
|____________________________|_____________|
|____________________________|_____________|
|____________________________|_____________|

That's easy.
JPanel panel = new JPanel(new BorderLayout());
JPanel centerPanel = new JPanel(GridLayout(size,1));
JPanel eastPanel = new JPanel(GridLayout(size,1));
panel.add(centerPanel, BorderLayout.CENTER);
panel.add(eastPanel, BorderLayout.EAST);

easy, if that's what you are looking for.
aaron

-----Original Message-----
From: Brian Steele [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 3:19 PM
To: '[EMAIL PROTECTED]'
Subject: GridLayout with different Width columns


Has anyone ever setup a gridlayout with different width columns?  I think I
need to use 2 seperate gridlayouts (1 for each column) or something like
similar.  Any suggestions or examples?

Thanks!
Brian

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to