public void actionPerformed(ActionEvent e)
            {
                try
                {
                    controller.setSimpNum(Double.parseDouble(simpParam.getText()));
                }
                catch(NumberFormatException exc)
                {
                    controller.setSimpNum(0);
                }
                
                if(!help.isVisible())
                {
                    controller.helpOff();
                }
                if(controller.help())
                {
                    help.setVisible(true);
                }
                
                if(controller.isDrawing())
                {
                    frame1.setCursor(pen);
                }
                else if(controller.isMoving())
                {
                    frame1.setCursor(move);
                }
                else if(controller.isSelecting())
                {
                    frame1.setCursor(cross);
                }
                else
                {
                    frame1.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
                }
                frame1.repaint();
            }