private void closeAllDumps(){
  Object[] options={"Close all","Cancel close"};
  int selectValue=JOptionPane.showOptionDialog(null,"<html><body>Are you sure, you want to close all open dump files","Confirm closing...",JOptionPane.DEFAULT_OPTION,JOptionPane.QUESTION_MESSAGE,null,options,options[0]);
  if (selectValue == 0) {
    topNodes=new Vector();
    resetMainPanel();
  }
}

private void closeAllDumps ( ) { Object [ ] options = { "Close all" , "Cancel close" } ; int selectValue = JOptionPane . showOptionDialog ( null , "<html><body>Are you sure, you want to close all open dump files" , "Confirm closing..." , JOptionPane . DEFAULT_OPTION , JOptionPane . QUESTION_MESSAGE , null , options , options [ 0 ] ) ; if ( selectValue == 0 ) { topNodes = new Vector ( ) ; resetMainPanel ( ) ; } }
close all open dumps
