🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to direct handle right click action inside JInternalFrame

#8413
From: Billy Chan
Date: Wed, 20 Sep 2000 00:00
16 lines
1165 bytes
Hi,

    I am writing a JFrame with many JInternalFrames inside. I want to
implement a mouse right click action on the JInternalFrame. I can do it but
if the JInternalFrame is deactivated at first, I have to click the mouse
button once to activate it and then another click to trigger the mouse right
click button action in the JInternalFrame. How can I pass it by once, that
is if I right click the mouse button once on the deactivated JInternalFrame,
it will activate and trigger the mouse event on that JInternalFrame. I've
found Excel on Windows have such feature. So is it possible for such java
programs?

Thanks.

Regards
Billy
Technical Details
Message-ID: <39c85dcc$1_1@dnews>
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,8a82fb0f6ce97882,start
X-Google-Attributes: gid111d45,public
From: "Billy Chan" <billyc@boomhq.com>
Subject: How to direct handle right click action inside JInternalFrame
Date: 2000/09/20
Message-ID: <39c85dcc$1_1@dnews>
X-Deja-AN: 671933912
X-Trace: 19 Sep 2000 23:48:44 -0800, 202.77.183.3
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600