tags:

views:

34

answers:

1

Hello All,

I know many times already talked about this problem but for me non of them helped. I have a client-server application which communicate via sockets.

The method is the following:

  1. Client make a request to the server
  2. Server receive the request, process
  3. Send back the requested data via XML
  4. The JTable update / populate with new XML data

The client request happen every 5th second so the table flickering is very frequent.

What do you think how able to solve this issue, stop the flickering completely and keep frequent update?

Regards

+1  A: 

I'm wondering if it could be a threading issue. When working with Swing, you want to make sure that tasks such as making a call to the server are done on a thread other than the UI thread. Then when you update the table, this must be on the swing thread.

Jay Askren
Thanks for the post. I will check / try to solve via this way and let U know
gabor