public void closeFile(boolean showCancel){
  if (getCurrentIndex() == -1) {
    return;
  }
  if (!saveChanges(showCancel)) {
    return;
  }
  m_TabbedPane.removeTabAt(getCurrentIndex());
  updateFrameTitle();
  System.gc();
}

public void closeFile ( boolean showCancel ) { if ( getCurrentIndex ( ) == - 1 ) { return ; } if ( ! saveChanges ( showCancel ) ) { return ; } m_TabbedPane . removeTabAt ( getCurrentIndex ( ) ) ; updateFrameTitle ( ) ; System . gc ( ) ; }
closes the current tab
