Help with setting up panels in Java
Posted
by Milos
on Stack Overflow
See other posts from Stack Overflow
or by Milos
Published on 2010-05-22T18:38:32Z
Indexed on
2010/05/22
18:40 UTC
Read the original article
Hit count: 234
I'm new to Java awt, so I am having trouble with setting up panels. I have one giant panel, which needs to hold 3 panels inside (photo is attached at the bottom). One will go on top(1), second one will be in the middle(3), and third goes on the bottom(2). Any remaining space has to be divided equally between (1)/(3) and (3)/(2). Also, the middle panel (3) is a table, so GridLayout has to be used.
How can I achieve this?
Thanks in advance!
P.S. I've tried to draw it in MS Paint (http://i45.tinypic.com/2w523ie.jpg)
© Stack Overflow or respective owner