private void delete() throws SQLException {
		if (gui.connected) {
			int row = table.getSelectedRow();
			if (row != -1) {
				rslt.absolute(++row);
				try {
					rslt.deleteRow();
					reload();
				} catch (SQLException e) {
					state("cant delete insert row");
					gui.handleSQLException(e);
				}
			} else {
				state("can't delete --> no row selected");

			}
		} else
			state("can't delete --> not connected");
	}