A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Swing / AWT / SWT
Help me reducing JTABLE loading time..
Joined: Oct 28, 2004
Feb 05, 2009 06:21:54
Hi my small application loads connected agents with properties in a jtable.
*Connected agents are are some process which are listening to some port.
If I have 30 agents and out of 20 are connected. So I have to load 20 agents in the table.
But when the application loads.. my swing application hangs as it takes time to see if all the agents are connected and then load only connected agents.
Is this possible to load a connected in the jtable as soon as we figure out those are connected. So that swing application do not be in loading state.
and update the jtable successively
Joined: Jan 24, 2006
Feb 05, 2009 09:09:19
It sounds like you may want a seperate worker thread to update the
Joined: Dec 13, 2008
Feb 08, 2009 01:56:55
doInBackground() handles all connected agents and calls publish(agent) for every connected agent and in process(List<Agent> agents) the connected agent's properties are inserted into table.
Have you checked out
subject: Help me reducing JTABLE loading time..
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015