Alex Milowski wrote:
> I've been working on integrating a mathml editor (from design science) 
> and I've got
> it working!  The problem I have is that the component behaves strangely 
> inside the
> editor in a number of ways:
> 
>    1. At document load, odd "white" boxes appear as the document load in 
> the upper right
>       corner.  They go away when the whole document appears.
> 
>    2. As the document scrolls and the components should scroll off the 
> page, they float
>       over the bottom of the document and the status bar to the end of 
> the window.
> 
>    3. If I load another document, they stay visible over the new document.
> 
> These are all Java/Swing issues, but I'm not certain what's up.
> 
> The MathML viewer/editor is an applet that I've wrapped in a JPanel.  
> Obviously, something
> is not quite right.

 From what you describe, I think the component you are using (the 
applet) is a *heavyweight* java component.

This kind of component does not mix well with the so-called 
``lightweight'' Swing components 
(com.xmlmind.xmleditor.view.DocumentPane is a ``lightweight'' Swing 
component).

If this is the case, this is very bad news for you because I see no way 
to embed your MathML editor in XXE. (The fact that the applet is wrapped 
in a JPanel does not help.)

---
PS: In principle, this kind of question (i.e. support to Java 
developers) is not answered in xmleditor-support.


Reply via email to