Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTabbedPane color  RSS feed

 
N Ganesh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!