Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to adjust the width of JButton ??

sunnycodeFeb 25 2007 — edited Feb 25 2007
Dera Friends:
I met problem,
I have a batch of JButtons, but eah button has only few words in text, such as ABC, etc, but JButton is too fat or too wide, I really hope to reduce its width to fit its text.
How to do it??
Thanks
sunny
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2007
Added on Feb 25 2007
8 comments
2,909 views