I'm writing a JTree app that could potentially load a lot of data, perhaps a few mb, which can take 5-10 seconds to process all of it.
To improve the user experience, I'd like to immediately load enough data for the user to visually chew on for a while, then lazy load the rest of it (the lion's share). The javadoc for JTree.DynamicUtilTreeNode looks promising, but neither google nor this mail archive show many references to it. Is there a standard way to do this? I'm probably sunk if JTree internally calls one of those traversal methods. I've also considered another approach: Place a time limit on the initial traversal. When the limit is reached, prematurely tell JTree that the model has no more children. Present this half-finished model to the user and start a background thread the populates the rest of the tree. Is this as outlandish as it sounds? Thanks in advance for any opinions, Erik Ostermueller __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing