This is not really a JavaScript question, but more of a Java question.
I want to know if it is possible to have an anonymous Java class extend something.
For example
addWindowListener(new WindowDestroyer() extends WindowAdapter {
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
});


Reply With Quote
Bookmarks