I'm hosting XMLmind via WebStart and could not find a way to override the 
default look and feel.  I was able to do so in a standalone application, in 
which the default look and feel classname can be specified with the 
lookAndFeelClassName property in the preferences.properties file.  However, 
there seems to be no mechanism to pass this information into a WebStart 
application.  I even tried specifying the standard "swing.laf" property in the 
jnlp descriptor without success.  

I think that there are two ways to accomplish this, both requiring changes to 
the XXE distribution:

1) Provide a means to specify that the preferences.properties is located inside 
of one of the jars packaged with the webstart app.  The XXE_USER_PREFERENCES 
only allows the specification of a filename, which cannot be known ahead of 
time in a webstart app.

2) Have the WebStart class look for a XXE_LAF_CLASSNAME property specifying the 
look and feel classname.

Is there a simpler mechanism for specifying the default LAF in a webstart app?

Cheers,
Mike Santy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070427/90615e5c/attachment.htm
 

Reply via email to