Hi,

I have a program that communicates with a device.
I want the user interface to change if the communication changes.
for example progressbar update or I/O time out.

what I normally do in VB is create an event object and let the gui respond to an event of this object.

What is the best way in Java? I have seen several action and events listeners.
but no explanation yet of how to implement it yourself.
example code would be great.

thx,

Jewe
(java wannabe)