-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
generic
-
generic
Name: cl74495 Date: 10/11/2000
The method setLookandFeel() in javax.swing.UIManager has two versions,
one which takes a string specifying the name of the LaF class to load
and one accepts the already loaded LaF class.
The method that accepts a string then calls javax.swing.SwingUtilities.loadSystemClass()
to load the specified class. This will bypass any custom classloaders
that are in use. What this means is that custom look and feel classes
must be added to the VM's classpath before the application is started,
they cannot be made available via a custom classloader after the VM
has started.
This is similar to bug #4203151 and the same solution should work.
(Review ID: 110667)
======================================================================
- duplicates
-
JDK-4155617 Swing can't use a PLAF from a different classloader than loaded the Swing jar
-
- Resolved
-