jagguy
asked on
listeners in Java
I have done much ActionScript3 before and it uses listeners to detect some condition. Java has been around longer so I expect this is simialr.
If I want to for example put a whole lot of data into an array in class, and then I want something to tell me when this is done in the 'main' , I use a 'lisetner'.
Hw do I code for this.
If I want to for example put a whole lot of data into an array in class, and then I want something to tell me when this is done in the 'main' , I use a 'lisetner'.
Hw do I code for this.
ASKER
I really need a complete example as i didnt follow that.
just say i make a call to a procedure to fill an array with a lot of data. i want a listener to tel me when the array has finished filling
just say i make a call to a procedure to fill an array with a lot of data. i want a listener to tel me when the array has finished filling
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.scoug.com/os24u/1999/scoug905.2.javaevents.html