public void doClose()
		{
		if (!hasChanged()) System.exit(0);
		int c = JOptionPane.showConfirmDialog(frame,
				Resources.getString("Jeie.UNSAVED_MESSAGE"),
				Resources.getString("Jeie.UNSAVED_TITLE"),
				JOptionPane.YES_NO_CANCEL_OPTION);
		if (c == JOptionPane.CANCEL_OPTION) return;
		if (c == JOptionPane.YES_OPTION) if (doSave(false)) { System.exit(0); }
		if (c == JOptionPane.NO_OPTION) System.exit(0);
		}