Showing posts with label jtabbedpane. Show all posts
Showing posts with label jtabbedpane. Show all posts

Monday, February 20, 2012

JTabbedPane: change tab size when change tab title


I have a a JTabbedPane myTab within my JFrame. Its first tab has a title of "old title". I want to change the title dynamically, so I use this code to set: