keeping the size of the buttons the same
hello guys
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?
thanks
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:
http://forums.codeguru.com/showthread.php?526329-keeping-the-size-of-the-buttons-the-same&p=2079421
Although cross posting is allowed,
for everyone's benefit, please read:
Java Programming Forums Cross Posting Rules
The Problems With Cross Posting