Problem while changing label text during server client communication

Hi All,

I've a Swing application, I m communicating to another application thru socket,from that application i've to get some values and then i need to show those values on "Labels" in Swing application. These values will get changes when user presses diff values on command prompt (thru another application). My application is working as Server Socket, another application works as Socket Client. I m able to show values at my GUI first time,but when client passes next set of information ,it is not getting conveyed to my application.

Say for the example user presses 100 at client application ,then client passes some values to server,i m receiveing at my end & showing it,then user presses 200 at client application

& client sends another set of info ,which i m not able to show at my GUI which is acting as a server.

I don't hv idea how to set up synchronous transmission b/w server & client, and refresh the labels at GUI.

Please help me...

Thanks in advance

Thanks & regards,

Sneha

[1062 byte] By [snehaa] at [2007-11-27 9:12:41]
# 1
set the text and update the UI, use updateUI() method
dayanandabva at 2007-7-12 21:59:28 > top of Java-index,Desktop,Core GUI APIs...
# 2
along with that, you have check whether u have proper threading or not?
Aniruddha-Herea at 2007-7-12 21:59:28 > top of Java-index,Desktop,Core GUI APIs...