GManF

I have written a program that graphs lines from the values input b the user. The is one problem: I get bombarded with run-time error messages whenever i click the "graph" button which calls methods in a separate class GraphPanel.
Here is what the event handler looks like:
public void actionPerformed( ActionEvent e ) {
      if( e.getSource() == graph_button ) {
        setGraphValues();
        drawing_panel.draw( a , b , c );
      } else if( e.getSource() == clear_button ) {
               drawing_panel.clear();
      } else { // no options left
       System.exit( 0 );
      }Any help would be very much appreciated

Im sorry I didn't post the error messages. I got so many of them, that I couldn't even see what the first one was. Anyway, here they are:
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Similar Messages

Maybe you are looking for

  • New problem. I can not burn a playlist to disk.

    New problem. I can not burn a playlist to disk. The 'checking playlist' now takes about one second, looks very much like a malfunction here. Seems to initialize the disk - them moves straight into 'burning/finalizing disk' which also takes about one

  • List of Adobe forms in SAP standard

    Hi Experts, First: is there a list with all available Adobe forms in SAP standard? If possible sorted by Solution (ERP, SRM, CRM, SCM, ...) and module (SD, MM, PM, ...). Second: is there a roadmap for today not available forms, when they will be migr

  • How to place swf in Interactive PDF below other objects/frames

    Hello there, My first post here , I hope one can help. I want to make a PDF with some text/content on top, and swf animation in the background - below content. So I place SWF file into InDesign, bring it to the layer below texts, then I make spread p

  • Negative values on customer consignment stock

    Hello, Is it possible to have negative values on customer consignment stock? i.e. the same material is sent to a customer, as consignment stock (special stock W), from different plants. If the material is not used by the customer (then it has not bee

  • ALV with check boxs and buttons

    Hi guys, It's been a while since last time I used ALV and its options. I have a requirement to show many records in ALV format. each record starts with a check box, user can choose which record by checking each and click on a button to merge them (th