Article View: borland.public.jbuilder.java.language
Article #18919Swing JTree & JList Woes
From: Brian Duff
Date: Mon, 06 Apr 1998 00:00
Date: Mon, 06 Apr 1998 00:00
15 lines
1061 bytes
1061 bytes
I'm writing an app which uses the Swing (1.0) JTree & JList controls pretty extensively, just wondered if anyone has come across the same problem I'm having. The problem lies with the setModel() method of both components. This ought to change the contents of the tree/list. It does seem to work, but only if you call it twice. That's fine if your tree/list is quite small, but it takes a while if you have a large tree/list. Am I being dense, or is this a problem with Swing? Brian ---- If replying by email, remove the spam related stuff from my address.
Technical Details
Message-ID:
<6gblo3$lgq2@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,d60d90eec688abd9,start X-Google-Attributes: gidf74b3,public From: bd@nospam.st-and.ac.uk.IHATESPAMMERS (Brian Duff) Subject: Swing JTree & JList Woes Date: 1998/04/06 Message-ID: <6gblo3$lgq2@forums.borland.com> X-Deja-AN: 341495456 Organization: University of St. Andrews, Computer Science Spod Lab Newsgroups: borland.public.jbuilder.java.language X-mailer-url: http://st-and.compsoc.org.uk/~briand/newsagent