• Post Reply Bookmark Topic Watch Topic
  • New Topic

Color

 
Piyush Walia
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i change the color of the JScrollPane,JMenu Selected Item,JMenuItem Text.
I have tried setBackgound(Color col) and setForegound(Color col),but they are not working.Please help me.
 
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!