The compiler will create an anonymous (no name) class the way that you coded it in post#9.
Type: Posts; User: Norm
The compiler will create an anonymous (no name) class the way that you coded it in post#9.
Not quite. You are adding an instance of an ActionListener object to the fileItem class's list of ActionListeners.
Yes
No. Your method of creating an anonymous class is incorrect.
You need to add the method definition inside of the {}s
Do a Search on the Forum for ActionListener for sample code.
Another way to see interfaces is as a way to give a data type to a class. Java requires most arguments to methods to be of a certain data type. Interfaces allow one class to have many different data...