case UserDB.PASSWORD-1:
case UserDBSchema.PASSWORD-1:
		public void setValueAt(Object val, int row, int col)  {			User u = (User) userList.get(row);			switch (col) {			// DB Schemas start at one, Java columns at zero.			case UserDB.PASSWORD-1:				String newPass = (String)val;		// Get new value				try {					setPasswordStatement.setString(1, newPass);		// ready,					setPasswordStatement.setString(2, u.getName());	// steady,					setPasswordStatement.executeUpdate();		// and update!				} catch (SQLException ex) {					JOptionPane.showMessageDialog(null,						"SQL Error:\n" + ex.toString(), "SQL Error",						JOptionPane.ERROR_MESSAGE);					break;				}				u.setPassword(newPass);	// bypassed if DB update failed				break;			// Only password cells are editable.			default:				JOptionPane.showMessageDialog(null,					"setValueAt" + val.getClass() + "," + val, "Logic error",					JOptionPane.ERROR_MESSAGE);				break;			}		}