🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #176

how to enable a leaf in a JTree after clicking it.

#176
From: backstreetboy
Date: Wed, 14 Jun 2006 05:25
14 lines
1600 bytes
Hi there,

Well i did create a small application using a JTree , the JTree ends at
leaf node.
I coded it such a way that once we click a leaf  a JFrame is
displayed.Now once after clicking on a leaf it gets highlited (say blue
in color) it allows me to click the same leaf  for the second time
instantly but the JFrame doesnt open up this time, rather i need to
click on some other leaf and then get back to the older one.

Is there a work around for this, any help is appreciated.

bye
Technical Details
Message-ID: <1150262727.331560.206180@g10g2000cwb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!g10g2000cwb.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,7056f7f96e5fcb82,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!g10g2000cwb.googlegroups.com!not-for-mail
From: "backstreetboy" <rajesh.backstreetboy@gmail.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: how to enable a leaf in a JTree after clicking it.
Date: 13 Jun 2006 22:25:27 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <1150262727.331560.206180@g10g2000cwb.googlegroups.com>
NNTP-Posting-Host: 61.17.252.119
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1150262733 22836 127.0.0.1 (14 Jun 2006 05:25:33 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 14 Jun 2006 05:25:33 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g10g2000cwb.googlegroups.com; posting-host=61.17.252.119;
   posting-account=1YxNQw0AAADIoYaqze8KM7r9F8cXiBNA