Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Font Size on JTabbedPane
Robin Harriet
Greenhorn
Posts: 3
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Does anyone know the best way to change the font style and/or fontsize on the tab of a JTabbedPane?
Thanks!
Manfred Leonhardt
Ranch Hand
Posts: 1492
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Robin,
How about the following?
JTabbedPane tabbedPane = new JTabbedPane();
tabbedPane.setFont( new Font( "Dialog", Font.BOLD|Font.ITALIC, 24 ) );
To easy?
Manfred.
Robin Harriet
Greenhorn
Posts: 3
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No such thing as too easy! I'll give it a try. Thanks!
Robin
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
TabPane Events
How do you switch JPanels to be shown within the same JFrame
GridBagLayout not show JTabbedPane right initially but is ok after clicking other tabs
Highlight the Selected Tab in JTabbed Pane
tab style GUIs
More...