wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How to get system's window colors? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to get system Watch "How to get system New topic
Author

How to get system's window colors?

Matt Wilcko
Ranch Hand

Joined: Sep 23, 2003
Posts: 65
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

Joined: Nov 27, 2002
Posts: 451
Take a look at java.awt.SystemColor.


kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get system's window colors?
 
Similar Threads
I just wrote my first program using JFileChooser
Happy New Year! Welcome to our new forums!
More of an aesthetic question (editor colors)
Compiling multiple source files
Printing through Linux from a Windows system