public void deleteCuboid(int id) {
		if (id <= 0) return;
		if (!existsCuboid(id)) return;
		
		try {
			
			PreparedStatement deleteCuboid = db.prepareStatement("DELETE FROM " + CuboidHandler.cuboidTable + " WHERE id = '" + id + "';");
			deleteCuboid.executeUpdate();
			
			getCuboids().remove(id);
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}