Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Java Swing Components

Can anyone pls help:
i have created a gui with buttons which should display a
panel with buttons on the center panel of my user
interface.The panel i want to display only becomes
visible if i manually resize the window with my mouse.
Anyone have any ideas how i can fix this problem?
Thanks.

I have tried pack() ,setsize() and resize() methods and
still no change.When i add a textArea to the panel and set
text like i am trying to do with buttons it works ok but
when i try to add buttons it doesn't appear until i resize
the gui with my mouse.
Any thoughts will be helpful
Thanks
[649 byte] By [bigskolo] at [2007-11-11 10:16:55]
# 1 Re: Java Swing Components
Do you have any code to post?
pacify at 2007-11-11 22:31:41 >