private void removeEditor(){
  if (editPane != null) {
    view.remove(editPane);
    editPane=null;
  }
  if (editPanel != null) {
    view.remove(editPanel);
    editPanel=null;
  }
  removeColorPanel();
  view.requestFocusInWindow();
  view.repaint();
}

private void removeEditor ( ) { if ( editPane != null ) { view . remove ( editPane ) ; editPane = null ; } if ( editPanel != null ) { view . remove ( editPanel ) ; editPanel = null ; } removeColorPanel ( ) ; view . requestFocusInWindow ( ) ; view . repaint ( ) ; }
removes the annotation editor from the process renderer .
