Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get system's window colors?

 
Matt Wilcko
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there a way to detect the color user's system is using for windows? My swing app is gray, but my windows xp windows are tan. I want to be able to match the color selection on any system.
 
Ken Krebs
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at java.awt.SystemColor.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic