Article View: borland.public.jbuilder.java.swing
Article #1525Re: how many nodes that JTree support?
From: Tor Iver Wilhelmsen (TeamB)
Date: Sun, 26 Oct 2003 07:40
Date: Sun, 26 Oct 2003 07:40
14 lines
1350 bytes
1350 bytes
"Chris" <zerol@263.net> writes: > I'm have a small problem with JTree. > When load 5000 nodes into a JTree, it's > works terribly slow. You need to look into optimizations like - Not using DefaultMutableTreeNode but writing your own more optimized TreeNode implementation. For instance you could delay creating child nodes until they are needed. - Turning off stuff like double buffering and deregistering the JTree component with the ToolTipManager
Technical Details
Message-ID:
<u7k2sqwfi.fsf@ergo.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3f994daa@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,962f66eb2276150a X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-10-26 00:41:15 PST Sender: towi@SDSA3850 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: how many nodes that JTree support? References: <3f994daa@newsgroups.borland.com> From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB)) Date: 26 Oct 2003 08:40:01 +0100 Message-ID: <u7k2sqwfi.fsf@ergo.no> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 139.105.7.229 X-Trace: newsgroups.borland.com 1067154001 139.105.7.229 (26 Oct 2003 00:40:01 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail