Perche' eseguendo questo codicesi chiude la finestra pur rispondendo no?
codice:
	public void windowClosing(WindowEvent e) {
			int result = JOptionPane.showConfirmDialog(null, ConnDB.getWord(35), ConnDB.getWord(34),JOptionPane.YES_NO_OPTION);
					if (result == JOptionPane.YES_OPTION)
							System.exit(0);

	}