title: Class is not Abstract?
body: <pre><code>private class HandlerClass implements ActionListener
      {
          public void actionPerfomed(ActionEvent event)
          {
              JOptionPane.showMessageDialog(null, String.format("%s", event.getActionCommand));
          }
      }
  </code></pre>
  
  <p>This is part of my code and when I compile, I get an error saying HandlerClass is not abstract and does not override abstract method <code>actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener</code>. To my understanding, <code>actionPerformed</code> should override <code>HandlerClass</code> shouldn't it? I already tried adding "<code>abstract</code>" before the word class but then I get another error since I can't call an abstract class. I'm not sure if maybe there's an exception I can use to solve this?</p>