🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Detecting secondary component selection

#9057
From: John P. McGrath
Date: Thu, 08 Jun 2000 00:00
21 lines
1234 bytes
On Wed, 7 Jun 2000 12:51:45 -0400, James Cook wrote:

> I would like to implement context sensitive help on my Java screens,
> the way it is sometimes done in Windows. They allow the user to
> click on a button (this I can do), the cursor changes (got it
> covered), then the user clicks on a field, label, text, combo,
> whatever (don't know how), and a popup explains the feature
> (know how).

Have you looked at the JavaHelp API?  This provides code that does 
exactly what you want.  It is available at:

    http://www.java.sun.com/products/javahelp/index.html

Even if you cannot use the library itself, the source code would provide 
an example of how to code it yourself.

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.13a8f0c1e7f5858a9899a4@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8hltut$5uf7@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b3d2c88f0fc7000b
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: Detecting secondary component selection
Date: 2000/06/08
Message-ID: <MPG.13a8f0c1e7f5858a9899a4@forums.borland.com>
X-Deja-AN: 632481249
References: <8hltut$5uf7@bornews.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing