tags:

views:

228

answers:

1

I'm writing a server/client program. In the server, when I click a button some infomations will be sent to client and show on a jLabel. But the problem is when the client get focus, it loses all the informations recieved. Somebody help me please!!!

A: 

Make sure to use SwingUtilities.invokeLater to perform the changes to JLabel on the EDT.

Devon_C_Miller