public void initKeyListeners() {
		KeyListener deleteListener;
		deckTable.addKeyListener(deleteListener = new KeyListener() {
			public void keyPressed(KeyEvent k) {

				if (k.getComponent() instanceof JList) {
					switch (k.getKeyCode()) {
						case KeyEvent.VK_DELETE: removeCardsInImageListBuffer();
						break;
					}
				}
				else {
					switch (k.getKeyCode()) {
						case KeyEvent.VK_DELETE: removeCardsInBuffer();
						break;
					}
				}
			}
			
			public void keyTyped(KeyEvent k) {
				
			}
			
			public void keyReleased(KeyEvent k) {
			}
		});
		imageList.getList().addKeyListener(deleteListener);
	}