Or you can simply create an anonymous class when adding the listener.
Example:
//Set Action Listener
CloseButton.addActionListener(new ActionListener() {
public void...
Type: Posts; User: Asido
Or you can simply create an anonymous class when adding the listener.
Example:
//Set Action Listener
CloseButton.addActionListener(new ActionListener() {
public void...