title: using actionPerformed fails because a method in it can throw exceptions
body: <p>SOLVED! Thanks all for quick answers, the problem was that i thought that if u catch an exception that u still have to add throws Exception to the header
  ^^ pretty dumb off me, thanks again!
  ------------------------------------ORIGINAL POST-------
  Hello,
  I have a method load(), this method throws IOException's.
  I'm trying to make this:</p>
  
  <pre><code>    public void actionPerformed(ActionEvent e){
         if(e.getActionCommand().equals("Load")){
             load();
         }
      }
  </code></pre>
  
  <p>the problem is, I should add throws IOException to the actionPerformed, but if I do so.
  I get an error saying: "The class isnt declared abstract or doesn't override public void actioPerformed()</p>