Results 1 to 7 of 7
Thread: About look and feel
- 02-04-2009, 06:06 AM #1
- 02-04-2009, 08:13 AM #2
- 02-05-2009, 05:37 AM #3Member
- Join Date
- Feb 2009
- Rep Power
HAVE YOU TRIED USING setSystemLookandFeel() function..
- 02-05-2009, 06:17 AM #4
And perhaps you would like to enlighten us which standard class in the JDK has a method setSystemLookAndFeel(). I couldn't find it in the API.
S-Index (Java Platform SE 6)
- 02-12-2009, 08:00 AM #5
Thanks for your contribution in this threadMak
(Living @ Virtual World)
- 02-12-2009, 05:00 PM #6
This is very simple; however, make sure you do it *first thing*, before any other Swing code.
Note that you can *only* use this LAF on a Windows machine. Check out the Sun Tutorial.
A *very* recent change (1.6.10) change the default LAF from Metal ("Java") to the OS specific (WindowsLookAndFeel, for Windows) one.
Also, the latest Metal LAF, with the default "Ocean" theme, looks very nice, and it is cross-platform.
Last edited by Steve11235; 02-12-2009 at 05:12 PM. Reason: oops...
- 02-13-2009, 02:55 AM #7Java Code:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());Tell me if you want a cool Java logo avatar like mine and I'll make you one.
- By Stein in forum New To JavaReplies: 10Last Post: 10-03-2008, 04:07 AM
- By Java Tip in forum Java TipReplies: 0Last Post: 03-11-2008, 10:53 PM
- By arun_kumar in forum AWT / SwingReplies: 1Last Post: 11-17-2007, 06:21 PM
- By gabriel in forum New To JavaReplies: 2Last Post: 08-06-2007, 08:44 AM