🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTree and right mouse click!

#10418
From: AA
Date: Fri, 24 Sep 1999 00:00
8 lines
875 bytes
How do you get the JTree to highlight a node when that node is selected
with the
right mouse button? Normally, JTree automatically hightlights a node
when selected
with the left mouse button but that's not the case for the right mouse
button!
This is useful for pop-up menus on right mouse click on a tree node.
Thanks for you help..
Technical Details
Message-ID: <37EBC41D.577A35CC@magnus.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,da0b68b96afed5a3,start
X-Google-Attributes: gid111d45,public
From: AA <eaabouzo@magnus.uwaterloo.ca>
Subject: JTree and right mouse click!
Date: 1999/09/24
Message-ID: <37EBC41D.577A35CC@magnus.uwaterloo.ca>
X-Deja-AN: 529149140
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Ambiance
Mime-Version: 1.0
Reply-To: eaabouzo@magnus.uwaterloo.ca
Newsgroups: borland.public.jbuilder.java.swing