// 0=yes, 1=no, 2=cancel
public static boolean yesNo(String yesNoQuestion){
		int input = JOptionPane.showConfirmDialog(null, yesNoQuestion);
        // 0=yes, 1=no, 2=cancel
		return input==0;
		//TODO remove the Cancel button. Should only be Yes and No.
	}
public static boolean yesNo(String yesNoQuestion){
int input = JOptionPane.showConfirmDialog(null, yesNoQuestion);
// 0=yes, 1=no, 2=cancel
return input==0;
//TODO remove the Cancel button. Should only be Yes and No.
public static boolean yesNo(String yesNoQuestion){
int input = JOptionPane.showConfirmDialog(null, yesNoQuestion);
// 0=yes, 1=no, 2=cancel
return input==0;
//TODO remove the Cancel button. Should only be Yes and No.
}
public static boolean yesNo(String yesNoQuestion){
int input = JOptionPane.showConfirmDialog(null, yesNoQuestion);
// 0=yes, 1=no, 2=cancel
return input==0;
//TODO remove the Cancel button. Should only be Yes and No.
}