public void keyReleased(final KeyEvent e) 
    {
    	int key = e.getKeyCode();
        ImageIcon ii;
        if (key == 37) 
        {
            dx     = 0;
            ii     = new ImageIcon(this.getClass().getResource("Assets/Images/craft.png"));
            image  = ii.getImage();
            width  = this.image.getWidth(null);
            height = this.image.getHeight(null);
        }
        if (key == 39) 
        {
            dx     = 0;
            ii     = new ImageIcon(this.getClass().getResource("Assets/Images/craft.png"));
            image  = ii.getImage();
            width  = this.image.getWidth(null);
            height = this.image.getHeight(null);
        }
        if (key == 38) 
        {
            dy     = 0;
            ii     = new ImageIcon(this.getClass().getResource("Assets/Images/craft.png"));
            image  = ii.getImage();
            width  = this.image.getWidth(null);
            height = this.image.getHeight(null);
        }
        if (key == 40) 
        {
            dy     = 0;
            ii     = new ImageIcon(this.getClass().getResource("Assets/Images/craft.png"));
            image  = ii.getImage();
            width  = this.image.getWidth(null);
            height = this.image.getHeight(null);
        }
   }