Name: ks84122 Date: 10/22/2001
In any JNLP file, add the following line to a properties section:
<property name="swing.defaultlaf" value="javax.swing.plaf.metal.MetalLookAndFeel"/>
(This is for a Mac -- on other platforms just try to force another L&F.)
The property value will be ignored because Swing is initialized long before the JNLP file is read. We need a way to specify that a property should be defined at Java launch time, not just at JNLP parse time.
Need to provide a possibility to pass argument string to the java runtime (rather than just initial and max heap size). That way, it
would be possible to pass "-Dswing.defaultlaf=value" to the java runtime at launch time or to pass any other thing if a need
for it arises (something like:
<!ATTLIST j2se jvmargs CDATA #IMPLIED>, parse it in the C code and pass
the jvmargs to the java runtime).
The other workaround would be to call UIManager.setLookAndFeel() if swing.defaultlaf property is passed. However,
this seems to be not a very good solution.
(Review ID: 134021)