ActionListener A1 = New ActionListener ()
{
Public Void ActionPerformed (ActionEvent E) {
String name =
(Jbutton) E.Getsource ()). GetText ();
TXT.SETTEXT (NAME);
}
}
This is a Button's ActionListener, which has used an inner hidden class. I still have another question, why do new ActionListener () can? ? ? ActionListener is an interface. . . . Can I call Interface's constructrou? ? ? ?