Hi ranchers.
I want to use the jgoodies l&f inside my jar (my executable jar file).
inside the main class I wrote :
UIManager.put("ClassLoader", MainManager.class.getClassLoader( ));
try {
UIManager.setLookAndFeel("com.jgoodies.plaf.plastic.PlasticXPLookAndFeel");
}
now, I have the following tree inside my jar :
META-INF\
images\*.gif
com\*.class
plastic.jar // jgoodies jar
forms.jar // jgoodies jar
when writing :
java -jar MyApp.jar it works fine and every thing is ok (the application is uses the jgoodies l&F) but when double clicking on the jar, it doesn't launch.
(I have set the main class attribute inside the manifest file).
so, any ideas , any help please ??