private boolean userWantsToConvert(){
  if (m_userHasBeenAskedAboutConversion)   return true;
  m_userHasBeenAskedAboutConversion=true;
  return (JOptionPane.showConfirmDialog(this,"This experiment has settings that are too advanced\n" + "to be represented in the simple setup mode.\n" + "Do you want the experiment to be converted,\n"+ "losing some of the advanced settings?\n","Confirm conversion",JOptionPane.YES_NO_OPTION,JOptionPane.WARNING_MESSAGE) == JOptionPane.YES_OPTION);
}

private boolean userWantsToConvert ( ) { if ( m_userHasBeenAskedAboutConversion ) return true ; m_userHasBeenAskedAboutConversion = true ; return ( JOptionPane . showConfirmDialog ( this , "This experiment has settings that are too advanced\n" + "to be represented in the simple setup mode.\n" + "Do you want the experiment to be converted,\n" + "losing some of the advanced settings?\n" , "Confirm conversion" , JOptionPane . YES_NO_OPTION , JOptionPane . WARNING_MESSAGE ) == JOptionPane . YES_OPTION ) ; }
gets te users consent for converting the experiment to a simpler form .
