Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Q: change LooknFeel - all workarounds fail?

843802Oct 31 2002 — edited Oct 31 2002
Hello,

I'm trying to use a separate Look and Feel. The code I use is something like this: (from the JNLP main class)

ClassLoader jwsClassLoader = this.getClass().getClassLoader();
UIManager.put("ClassLoader", jwsClassLoader);
SlafLookAndFeel slaf = new SlafLookAndFeel("com.memoire.slaf.SlafLookAndFeel");
UIManager.setLookAndFeel(slaf);

This enables the look and feel, but FAILS when using the FileOpenService.
I've tried half a dozen workarounds and none have succeeded so far. Has anyone been able to do this?

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2002
Added on Oct 31 2002
3 comments
95 views