Need help laying out my display window
Posted on 2004-10-01
I'm having trouble making my application display correctly. It is supposed to look something like:
titled label for display
large textarea button
I'm using a GridLayout manager and a JPanel with BorderLayout.
When I run this I get a very tiny box in the center of the top panel where the label is supposed to be.
My text area is there, but it's not as deep as I want it to be. I changed the number for the depth, but it won't change it.
The two buttons on the right side don't show at all and the two bottom buttons are ok.
Can anybody suggest what I can do? Should I use GridBagLayout? How would I use it if I should?