Anonymous class implements interface, cannot have arguments
<p>i have some code that i am trying to recompile and understand, but i have a method that does not compile and i wish to find the good work around. the method is as follows.</p>

<pre><code>private void launchEventPanel(String title) { 
    EventQueue.invokeLater(new Runnable(title) { 
        public void run() { 
        JFrame myFrame = new JFrame(); 
        myFrame.setTitle("Conference Call"); 
        myFrame.setIconImage(CallConference.this.myCore.myPanel.myIconManager.getPromptIcon(CallEMart.class.toString())); 
        myFrame.getContentPane().add(CallConference.this.myEventPanel, "Center"); 
        myFrame.pack(); 
        myFrame.setVisible(true); } }); }
</code></pre>

<p>the second line of the EventQueue.invokeLater does not compile, i get the error "Anonymous class implements interface, cannot have arguments".</p>

<p>any help and work around is highly appreciated. thanks!</p>
