File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane color" Watch "JTabbedPane color" New topic

JTabbedPane color

N Ganesh

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
I agree. Here's the link:
subject: JTabbedPane color
jQuery in Action, 3rd edition