Great! When you make that change, you might want to use it as an opportunity to review all of the properties that can be specified in the preferences.properties file and see if any would also worthwhile to specify for a Webstart-hosted app?
Do you follow a regular release schedule for point releases or do you decide to release based on the changes made? Cheers, Mike -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Fri 4/27/2007 8:41 AM To: Santy, Michael Cc: xmleditor-support at xmlmind.com Subject: Re: [XXE] specifying LaF for WebStart-hosted XMLmind Santy, Michael wrote: > > 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? No, there is no way to specify the LAF when XXE is deployed using Java Web Start. We'll change that in next release and will allow to specify the LAF class name in a system property (either a ``standard'' one: swing.xxx or a proprietary one: XXE_LAF_CLASSNAME; don't know yet). When this will be implemented, you'll have to specify this sytem property and its value in the jnlp descriptor. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070427/19014c5a/attachment.htm

