public static int showExitDialog() {
		Object[] options = { Tools.getLocalizedString("YES"),
				Tools.getLocalizedString("NO"),
				Tools.getLocalizedString("ButtonCancel") };
		JFrame frame = new JFrame();
		frame.setIconImage(Program.programIcon);
		int n = JOptionPane.showOptionDialog(frame,
				Tools.getLocalizedString("EXIT_DIALOGUE"),
				"KS Boolean Expression", JOptionPane.YES_NO_OPTION,
				JOptionPane.YES_NO_CANCEL_OPTION, null, options, options[0]);

		return n;
	}