public void mouseClicked(MouseEvent event) 
    {
		((AutomatonEnvironment)getDrawer().getAutomaton().getEnvironmentFrame().getEnvironment()).saveStatus();
        if(event.getButton() == MouseEvent.BUTTON1)
        {
            State state = getDrawer().stateAtPoint(event.getPoint());
            if(state == null)
                super.mouseClicked(event);
            else
                MooreStateTool.editState(state);
        }
    }