File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

How to refresh my table data dynamicly

Qunfeng Wang
Ranch Hand

Joined: Jan 28, 2005
Posts: 430
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

Joined: Mar 22, 2005
Posts: 41096
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
subject: How to refresh my table data dynamicly
Similar Threads
JTable � handle Row lost focus event
New to hibernate
Refreshing a Page, repeats last action
How to save the changes in db through JTable
How to implement booking action