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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -