aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to refresh my table data dynamicly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to refresh my table data dynamicly" Watch "How to refresh my table data dynamicly" New topic
Author

How to refresh my table data dynamicly

Qunfeng Wang
Ranch Hand

Joined: Jan 28, 2005
Posts: 433
I use SNMP(through UDP) to get data from agent. Then present it in a JTable. When I have a lot of devices it will be slowly. I need to wait about 30 seconds. It may need more when the amounts of device grow. Is there a method I can present row by row which I mean when fech a row from agent I refresh my table dynamicly.

Thnks in advance.


To be or not to be. It's a question.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
What's stopping you from adding data to the table one-by-one, as you receive it from SNMP? The table should repaint itself as soon as you alter its contents.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to refresh my table data dynamicly