Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes JTabbedPane color Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane color" Watch "JTabbedPane color" New topic
Author

JTabbedPane color

N Ganesh
Greenhorn

Joined: Jan 27, 2006
Posts: 5
Can I have the same, background and foreground color, for all the panes in a JTabbedPane whether they are selected or not.

Currently, if I set background color as orange and foreground color as white, I am getting that combination for the unselected panes.

But the selected pane's background is coming as blue only (the default for java).

Kindly help me out on this.


N Ganesh
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
Don't get me started about those stupid light bulbs.
 
subject: JTabbedPane color
 
Similar Threads
JComboBox: Opaque problem
foreground color
Can I change the back/foreground color of a disabled JComboBox?
JTabbedPane
How to give color for JRadioButtons?