A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to get system's window colors?
Joined: Sep 23, 2003
Jan 26, 2004 14:23:00
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.
Joined: Nov 27, 2002
Jan 26, 2004 17:53:00
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:
subject: How to get system's window colors?
Compiling multiple source files
More of an aesthetic question (editor colors)
Printing through Linux from a Windows system
I just wrote my first program using JFileChooser
Happy New Year! Welcome to our new forums!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014