Skip to Main Content

Java Programming

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!

Width of tabs in JTabbedPane

807591Mar 31 2008 — edited Mar 31 2008
I have created a JTabbedPane and added 6 tabs to this but the size of the tabs are wrapping to the length of the text.

Apart from using spaces to pad out the text (which is a complete hack) is there any other way to set the width of the tabs so that they are all the same and take up the width of the JTabbedPane?

Cheers
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2008
Added on Mar 31 2008
2 comments
1,303 views