File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Swing / AWT / SWT
Change the Color of Title of JTabbedPane
Joined: Feb 04, 2008
Mar 24, 2008 00:38:00
Assume there are many tabbed panes in a window.
If JtabbedPane is not active then change color of Title Bar of Tabbed Pane to gray, just like in eclipse,
If Active, the Color of the Title Bar of Tabbed Pane is Blue.
How can i achieve this Functionality??
Thanks and Regards,
Joined: Oct 27, 2005
Mar 24, 2008 08:13:00
I checked the basic look&feel class for tabbed panes, and found the following color properties:
You can set these as follows:
Now I don't really know which of these properties you should change, but you can find out by
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Change the Color of Title of JTabbedPane
Active Title Bar Color
swing tabbed pane alignment
Action for JMenuItem
What is the simplest way to order this?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014