java - How make method in GUI running in background -


i want create lan chat app udp method transfer information. here, have problem app.i have 2 essential guis. general gui , private chat gui. in general gui there jlist displays online users (users playing app). , in private chat gui, have jtext displays chat history.

my problem is, how make method runs continuously, can update jlist inform list of online users , jtext inform every chat came , sent back.

have @ jgroups, want, , think have sample chat application.

http://www.jgroups.org/


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -