File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTabbedPane color
 
Similar Threads
foreground color
JComboBox: Opaque problem
Can I change the back/foreground color of a disabled JComboBox?
How to give color for JRadioButtons?
JTabbedPane