public void actionPerformed(ActionEvent e) 
    {
        if (e.getSource() == entryField)
        {
            processCommand();
        } 
        else if (e.getSource() == buttonLook)
        {
        	GameEngine.interpretCommand("look");
        }
        else if (e.getSource() == buttonNorth)
        {
        	GameEngine.interpretCommand("go north");
        }
        else if (e.getSource() == buttonSouth)
        {
        	GameEngine.interpretCommand("go south");
        }
        else if (e.getSource() == buttonEast)
        {
        	GameEngine.interpretCommand("go east");
        }
        else if (e.getSource() == buttonWest)
        {
        	GameEngine.interpretCommand("go west");
        }
        else if (e.getSource() == buttonBack)
        {
        	GameEngine.interpretCommand("back");
        }
    }