protected void initFinish(){
  ExtensionFileFilter[] filters;
  int i;
  super.initFinish();
  m_Script=newScript(m_TextCode.getDocument());
  m_Script.addScriptFinishedListener(this);
  filters=m_Script.getFilters();
  for (i=filters.length - 1; i >= 0; i--)   m_FileChooser.addChoosableFileFilter(filters[i]);
  m_Actions=createActionTable(m_TextCode);
  m_NewAction=new NewAction();
  m_OpenAction=new OpenAction();
  m_SaveAction=new SaveAction("Save",false);
  m_SaveAsAction=new SaveAction("Save As...",true);
  m_PrintAction=new PrintAction();
  m_ClearOutputAction=new ClearOutputAction();
  m_ExitAction=new ExitAction();
  m_UndoAction=new UndoAction();
  m_RedoAction=new RedoAction();
  m_CutAction=updateAction(m_Actions.get(DefaultEditorKit.cutAction),"Cut","cut.gif","ctrl X",'C');
  m_CopyAction=updateAction(m_Actions.get(DefaultEditorKit.copyAction),"Copy","copy.gif","ctrl C",'o');
  m_PasteAction=updateAction(m_Actions.get(DefaultEditorKit.pasteAction),"Paste","paste.gif","ctrl V",'P');
  m_StartAction=new StartAction();
  m_StopAction=new StopAction();
  m_ArgsAction=new CommandlineArgsAction();
  m_AboutAction=new AboutAction();
}

protected void initFinish ( ) { ExtensionFileFilter [ ] filters ; int i ; super . initFinish ( ) ; m_Script = newScript ( m_TextCode . getDocument ( ) ) ; m_Script . addScriptFinishedListener ( this ) ; filters = m_Script . getFilters ( ) ; for ( i = filters . length - 1 ; i >= 0 ; i -- ) m_FileChooser . addChoosableFileFilter ( filters [ i ] ) ; m_Actions = createActionTable ( m_TextCode ) ; m_NewAction = new NewAction ( ) ; m_OpenAction = new OpenAction ( ) ; m_SaveAction = new SaveAction ( "Save" , false ) ; m_SaveAsAction = new SaveAction ( "Save As..." , true ) ; m_PrintAction = new PrintAction ( ) ; m_ClearOutputAction = new ClearOutputAction ( ) ; m_ExitAction = new ExitAction ( ) ; m_UndoAction = new UndoAction ( ) ; m_RedoAction = new RedoAction ( ) ; m_CutAction = updateAction ( m_Actions . get ( DefaultEditorKit . cutAction ) , "Cut" , "cut.gif" , "ctrl X" , 'C' ) ; m_CopyAction = updateAction ( m_Actions . get ( DefaultEditorKit . copyAction ) , "Copy" , "copy.gif" , "ctrl C" , 'o' ) ; m_PasteAction = updateAction ( m_Actions . get ( DefaultEditorKit . pasteAction ) , "Paste" , "paste.gif" , "ctrl V" , 'P' ) ; m_StartAction = new StartAction ( ) ; m_StopAction = new StopAction ( ) ; m_ArgsAction = new CommandlineArgsAction ( ) ; m_AboutAction = new AboutAction ( ) ; }
finishes up after initializing members and setting up the gui .
