Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to set background Color to JFrame when we use Window Look and Feel  RSS feed

 
buntha Choudhary
Ranch Hand
Posts: 136
Android Eclipse IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing problem on setting the background color of JFrame when I am using Window Look and Feel.
The same scenario is wokring fine when I am using Metal Look and Feel. I am as well facing the problem to set the BackGround Color for JInternalFrame


 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It should be

instead of

 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not really a L&F problem, just the way you've written the code

 
buntha Choudhary
Ranch Hand
Posts: 136
Android Eclipse IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks For the immediate and proper response
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!