awt : text editor

    May 17 2006 | 7:25 pm
    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 ?
    f.e --

    • May 17 2006 | 8:20 pm
      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();