Forums Register Login

signal generator.

+Pie Number of slices to send: Send
This is supposed to look like the attachment that I included.

Basically, my problem is that when I ran the program, it is not at all the way I would like it. How do I layout my buttons so that it looks like the picture? I understand that I I can use .WEST, .CENTER, .LEFT, but even that doesnt work for me.
I'm not asking you to do this for me, but at least point me in the right direction.
Thanks.
Untitled.png
[Thumbnail for Untitled.png]
+Pie Number of slices to send: Send
Let's move this to the Swing/AWT forum.
1
+Pie Number of slices to send: Send
You can set your layout manager to null or Absolute--either is VERY poor practice as you lose your resize options--Take it from one that started out doing just that, and it really does come around to bite you, and it's usually very severe when it does.

Laying out a GUI has to be done in layers--think multiple layouts and probably multiple panels. Once you get that idea going, things become a lot more simple to make complex GUI's that don't have that box and column look.
Would you like to try a free sample? Today we are featuring tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 914 times.
Similar Threads
ActionListener Or Layout Problems?
Getting sql error [Microsoft ][odbc microsoft access driver]numeric index out of range
tictactoe help
getText() is not working?
problem with handling the states of the events
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:33:50.