| Author |
Why does a Panel above effect the Panel layout below?
|
Brady Diggs
Ranch Hand
Joined: Jun 26, 2008
Posts: 42
|
|
Hi everyone.
Thanks in advance for reading this.
It's been a while since I worked with Java AWT.
Why does a Panel (Panel1) affect the layout of a Panel
(Panel2) below it?
Panel1 uses FlowLayout. Panel2 uses GridBagLayout.
They are both on another Panel that uses BorderLayout.
Any ideas?
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16487
|
|
Here's an idea, based on the information provided: the upper panel affects the lower panel because it causes the lower panel to have less space to be laid out in.
Bear in mind that the idea is based on the information you provided, which is almost nothing. If you had an example of this effect, you could post it and ask a specific question about it.
|
 |
 |
|
|
subject: Why does a Panel above effect the Panel layout below?
|
|
|