I was wondering if lejos can support custom events. I have a thread which attempts to connect to another NXT. I wish that when the NXT 1 fails to connect to the NXT 2 the user is prompted with a message stating if he wants to retry. In order to this I thought of firing an event which is captured by a listener set in the main class.
Unfortunately it seems that java.util.EventObject cannot be imported. Therefore here I am assuming that custom events are not supported, but appreciate if you could confirm this.
If I am not able to use custom events is there another method which I can use so that I can achieve the same idea?
Thanks a lot for your assistance