public void closeAllFiles(){
  while (m_TabbedPane.getTabCount() > 0) {
    if (!saveChanges(true)) {
      return;
    }
    m_TabbedPane.removeTabAt(getCurrentIndex());
    updateFrameTitle();
    System.gc();
  }
}

public void closeAllFiles ( ) { while ( m_TabbedPane . getTabCount ( ) > 0 ) { if ( ! saveChanges ( true ) ) { return ; } m_TabbedPane . removeTabAt ( getCurrentIndex ( ) ) ; updateFrameTitle ( ) ; System . gc ( ) ; } }
closes all open files
