I'm using swing and want to implement such construction as this:
|- - - -|
| table |
| with |
| images|
| |
|- - - -|
| text |
|-------|
I implement table with images using GridLayout and it looks okay for me.
JPanel mainPanel = new JPanel(); //which layout should I use?
InterfaceBuilder builder = new InterfaceBuilder();
panel.add(builder.getTable()); //this function returns JPanel with grid layout. It is okay
panel.add(builder.getLabel());
Which JComponent and mainPanel
's layout should I use to implement text field with custom height and size?