You may use two panels inside your container.
In each panel you have to put what was your columns.

Panel1:
 -----------
|  JLabel   |
|  JLabel   |
|  JLabel   |
|  JLabel   |
|  JLabel   |
 -----------

Panel2:
 -------------
|             |
|             |
|  Component  |
|             |
|             |
 -------------

And then add both panels to your container, either with a
BorderLayout, or a GridLayout, for example.

 -------------------------
|  JLabel   |             |
|  JLabel   |             |
|  JLabel   |  Component  |
|  JLabel   |             |
|  JLabel   |             |
 -------------------------

JPanel Panel1 = new JPanel(new GridLayout(5,0));
Panel1.add(new JLabel("one"));
Panel1.add(new JLabel("two"));
Panel1.add(new JLabel("three"));
Panel1.add(new JLabel("four"));
Panel1.add(new JLabel("five"));

GridLayout layout=new GridLayout(0,2);
Container c=getContentPane();
c.setLayout(layout);
c.add(Panel1);
c.add(Component);

setSize(800,600);
show();


This is a rough example, it may not be precise, but it may show you
the way it can be done.

Hope it helps.

::~::~::~::~::~::~::~::~::~::~::~::
:: "Si un programa es �til,      ::
::  te lo har�n cambiar.         ::
::                               ::
:: Jorge Morales Pou             ::
:: jmp07_ARROBA_tid.es           ::
:: Telef�nica I+D                ::
:: Madrid.                       ::
::~::~::~::~::~::~::~::~::~::~::~::

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

Reply via email to