keeping the size of the buttons the same
I was wondering if i want to keep the size of the buttons the same when resizing the program, how can i code that.
now when I resize the program the buttons become larger if I maximize the program the reverse is true, so how can I keep the buttons size the same?
Re: keeping the size of the buttons the same
Use the set*Size methods, where * means Preferred, Minimum, and Maximum. If that does not work, then post an SSCCE.
This thread has been cross posted here:
Although cross posting is allowed,
for everyone's benefit, please read:
Java Programming Forums Cross Posting Rules
The Problems With Cross Posting