Hi Joe You can use the observer/observable pattern on the server-side but you still need a polling timer for each ulc session to get the observed state changes accumulated in a queue to then process them in the 'ULC thread'. For a complete example, this might help: http://ulc-community.canoo.com/snipsnap/space/Polling+Timer The alternative to the polling timer is to keep a separate connection open between client and server. Etienne
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe L Sent: Friday, January 05, 2007 9:31 AM To: [email protected] Subject: [ULC-developer] Observer and Observable over ULC I didn't see anything in the message archives about this. I was wondering if anyone had done an observer/observable relationship over ULC. The two classes I'm using are java.util.Observable and (interface) java.util.Observer The observable is a list on the server side of usernames, and the observer is implemented on a class that extends ULCFrame. It's supposed to show the users currently logged into the system. When I use the observer/observable pair I'm able to open the applet on one of the machines, and it shows the windows and list of usernames correctly. Then when I go to open it on another computer none of my dialogs appear. I was previously using a ULCPollingTimer and polling the list of usernames for updates, but a coworker suggested the Observer/Observable pair for better performance. Is polling the only way to accomplish the result I'm looking for? Thanks, Joe __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
