I have been working on a GUI bit where I would like to play around with another Look and Feel. I have downloaded the Seaglass L&F .jars here: https://seaglass.googlecode.com/svn/doc/downloads.html
I have added the dependency to my classpath as such when building:
...>javac -classpath C:\...\Metro\seaglasslookandfeel-0.2.jar Metro.java
And then ran it with this:
...>java Metro
The code that is throwing the error is here:
try {
UIManager.setLookAndFeel("com.seaglasslookandfeel.SeaGlassLookAndFeel");
} catch (Exception e) {
e.printStackTrace();
}
The error is:
java.lang.ClassNotFoundException
I am not sure why the program cannot find the Class with seaglass if I had included it with my build line. Help is appreciated. Thanks!