public void moveTable(Table t, int speed) {
		if(!l.isKeyDown(KeyEvent.VK_CONTROL)) {
			if(l.isKeyDown(KeyEvent.VK_ESCAPE)) {
				selected.clear();
				info.update();
			} else if(l.isKeyDown(KeyEvent.VK_DELETE)) {
				for(int i = 0; i < selected.size(); i++) {
					tables.remove(selected.get(i));
				}
				selected.clear();
				info.update();
			}
			
			boolean up = l.isKeyDown(KeyEvent.VK_UP) || l.isKeyDown(KeyEvent.VK_W);
			boolean down = l.isKeyDown(KeyEvent.VK_DOWN) || l.isKeyDown(KeyEvent.VK_S);
			boolean right = l.isKeyDown(KeyEvent.VK_RIGHT) || l.isKeyDown(KeyEvent.VK_D);
			boolean left = l.isKeyDown(KeyEvent.VK_LEFT) || l.isKeyDown(KeyEvent.VK_A);
			
			if(!up && !down && !left && !right) {
				if(tableFrame != timeBeforeTableMove) tableFrame = timeBeforeTableMove;
			} else {
				if(!(up && down)) {
					if(up) {
						t.addY(-speed);
					} else if(down) {
						t.addY(speed);
					}
				}
				
				if(!(left && right)) {
					if(left) {
						t.addX(-speed);
					} else if(right) {
						t.addX(speed);
					}
				}
				clampTable(t);
			}
		}
	}