zprog Posted August 26, 2004 Posted August 26, 2004 I want to know if it is possible to create an anonymous Java class that extends another class.For example addWindowListener(new WindowDestroyer() extends WindowAdapter { public void windowClosing(WindowEvent e) { System.exit(0); } });
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now