Article View: borland.public.jbuilder.java.swing
Article #10340Re: JTree Problem !
From: Paul Furbacher [TeamB]
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
21 lines
1328 bytes
1328 bytes
Michel PΓ©rez wrote: > I has designed a JTree class in my gui this is expanded by an actionlistener > on a JButton and this listener add a JPanel with some JComponent. > How coul I paint the selected node in the JTree when I push the JButton ? > I have tried a paint method, but this doesn't work. > I need just paint a specific node but without requestFocust. It's not clear what you are trying to do. If the node is already selected, why do you want to repaint it when you press the button? And where are you adding the JPanel instance? To the tree? To the frame, or some panel within the frame? If you could provide a more detailed explanation, we might be able to make some suggestions. Paul Furbacher (TeamB)
Technical Details
Message-ID:
<37FA181B.CB4A01B8@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7tcpnc$7a64@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,6f8f244681a92853 X-Google-Attributes: gid111d45,public From: "Paul Furbacher [TeamB]" <pf@bilbo.bio.purdue.edu> Subject: Re: JTree Problem ! Date: 1999/10/05 Message-ID: <37FA181B.CB4A01B8@bilbo.bio.purdue.edu> X-Deja-AN: 533107726 Content-Transfer-Encoding: quoted-printable References: <7tcpnc$7a64@forums.borland.com> Content-Type: text/plain; charset=iso-8859-1 Organization: Reverse Alchemy, Inc. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.swing