Z
Zerex71
Greetings,
I spent a frustrating amount of time yesterday trying to figure out
how to get access to the UIManager class. I am dusting off my Swing
skills after a number of years and I shouldn't have to be fighting the
compiler - the Swing paradigm is enough of a challenge as it is.
I am simply trying to set the LAF of my app to use the cool Java metal
look instead of the default Windows LAF. Here's the offending LOC:
import javax.swing.UIManager;
UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
It throws the four exceptions listed in the Java documentation at Sun,
leading me to believe it simply does not know where to find the
UIManager class. I have a normal Java 1.6.0_05 installation.
Any help will be greatly appreciated!
Thanks,
Mike
I spent a frustrating amount of time yesterday trying to figure out
how to get access to the UIManager class. I am dusting off my Swing
skills after a number of years and I shouldn't have to be fighting the
compiler - the Swing paradigm is enough of a challenge as it is.
I am simply trying to set the LAF of my app to use the cool Java metal
look instead of the default Windows LAF. Here's the offending LOC:
import javax.swing.UIManager;
UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
It throws the four exceptions listed in the Java documentation at Sun,
leading me to believe it simply does not know where to find the
UIManager class. I have a normal Java 1.6.0_05 installation.
Any help will be greatly appreciated!
Thanks,
Mike