public void keyReleased(KeyEvent e){
		//JOptionPane.showMessageDialog(null,e.getKeyCode());
int key = e.getKeyCode();
		
		if(key == KeyEvent.VK_LEFT)dx = 0;
		if(key == KeyEvent.VK_RIGHT)dx = 0;
		if(key == KeyEvent.VK_UP)dy = 0;
		if(key == KeyEvent.VK_DOWN)dy = 0;
	}