public interface ControllerListener
isConnectedparameter, or you can have different listeners registered for connection and disconnection events and ignore the
Note: Your implementation will not be called on the Event Dispatching Thread. If you
want to affect Swing controls, you will need to use
java.awt.EventQueue.invokeAndWait. Alternatively, you can implement
ControllerListenerEDT interface instead.
void controller(Controller controller, boolean isConnected)
Controllerobject for the controller changing connection status.
trueif the controller has been connected,
falseif it has been disconnected.