Goh, Swee-Doon wrote:
> 
> I can use the Favorites in the Character Tool to explicitly add my own
> set of favorite characters. Is it possible to pre-load my list of
> characters so that all users who use the applet will get the pre-defined
> favorite character list?
> 

Yes. Like most other Tools, the Character Tool stores its settings in
the user preferences file. Therefore you need to force the corresponding
preferences key.

Applet example:

---
<applet name="XXE" id="XXE" mayscript="true"
        code="com.xmlmind.xmleditapp.applet.Applet"
        width="100%" height="600">
  <param name="jnlp_href" value="xxe.jnlp" />
  <param name="appClass" value="com.xmlmind.xmleditapp.applet.Editor1App" />
  <param name="separate_jvm" value="true" />
  <param name="classloader_cache" value="false" />
  ...
  <param name="argument10" value="-putpref" />
  <param name="argument11" value="favoriteCharsInTable" />
  <param name="argument12" value="&#171;&#187;" />
</applet>
---

See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/integrating_the_applet.html#applet_parameters

See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/command_line_usage.html



 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to