public void exit() {

		if (isChanged) {
			int s = Tools.showExitDialog();
			if (s == JOptionPane.YES_OPTION) {
				save();
				System.exit(0);
			}
			if (s == JOptionPane.NO_OPTION)
				System.exit(0);
		} else
			System.exit(0);

	}