File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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?