awt : text editor

f.e's icon

I have an mxj external on one side, which needs a text editor (on
dbleclick(), for example). On the other side, i have this text editor,
in an independant class. Do i have to include the code of the editor in
my mxj, or could i point to it from my mxj ? How do i do this ?

best

f.e
--

topher lafata's icon

as long as it is in the classpath you should be able to reference it
from your mxj class and make an instance
of it when appropriate. I am not saying this cod ewill work but you
get the idea.

import my.texteditor.*;

private MyEditor _editor = null;

public void dblclick()
{
    if(_editor == null)
        _editor = new MyTextEditor();

    _editor.setVisible(true);
    _editor.bringToFront();

}

topher