Henry Mok wrote:
>
> I have a question about using XMLmind in an applet. I want to simply the
> interface and remove some of the menu items. For example, under "File", I
> want to remove the save options. I am doing this by changing the
> customize.xxe_gui file in the XMLmind_XML_Editor\addon directory. This works
> fine when I am using XMLmind on the desktop.
>
> To deploy, I am running " deploywebstart -applet xxe -index" and loading the
> files that it generates. The applet is working fine but the changes that
> I've made to the customize.xxe_gui file are not reflected in the applet's
> interface. When I look in the xxe_addon.jar, the customize.xxe_gui is there
> but it doesn't seem to work the same way.
>
> If I want to change the user interface, is changing the customize.xxe_gui
> the correct way of doing this?
Yes.
> Is the process for customizing an applet interface different?
No. What you did should work fine.
I've tried to reproduce your problem by copying the MathML add-on (this
add-on contains a customize.xxe_gui file among many other files) to
XMLmind_XML_Editor\addon and the ``customized applet'' worked fine for me.
Note that the customize.xxe_gui file is referenced in the
XMLmind_XML_Editor\webstart\xxe.jnlp file (generated by deploywebstart)
as follows:
---
<property name="javaws.XXE.guiCustomizations"
value="addon:mathml_config/common/customize.xxe_gui"/>
---
Please send me your customize.xxe_gui. I'll try to reproduce the problem
using your specific customization.