O
onetitfemme
I need to place components which I previously add()'ed to JPanels on
the top row of a swing GUI. The JPanels containing the components
should go on the far left, the center and the far right. So I thought
that a BorderLayout would do. I tested all JPanels separately placing
them in the BorderLayout.CENTER of a JApplet, however when I try to put
them together and use BorderLayout{.EAST, .CENTER, .WEST}, the panel of
the left gets squeezed to the point you can not see it.
..
I think I might be stumbling on some gotcha. How could you fix this
problem? What is it I am not getting right?
..
thanks
onetitfemme
the top row of a swing GUI. The JPanels containing the components
should go on the far left, the center and the far right. So I thought
that a BorderLayout would do. I tested all JPanels separately placing
them in the BorderLayout.CENTER of a JApplet, however when I try to put
them together and use BorderLayout{.EAST, .CENTER, .WEST}, the panel of
the left gets squeezed to the point you can not see it.
..
I think I might be stumbling on some gotcha. How could you fix this
problem? What is it I am not getting right?
..
thanks
onetitfemme