[OpenMap Users] havahelp

From: Bart Jourquin <bart.jourquin@fucam.ac.be>
Date: Fri Jan 14 2005 - 03:06:07 EST

Hi all,

This is probably not the right place to post this question, but maybe
some of you can help me...

I use JavaHelp in my OpenMap app to create a context sensitive help
system. I've choosen to implement it by means of the "help" or "f1" key
using HelpBroker.enableHelpKey method. This work perfectly well as long
as I can have access to the component that has the focus.

How can I do it for JOptionPane.showXXX methods?

Example for a simple plaf chooser:

String selectedValue = (String) JOptionPane.showInputDialog(null,
        "Look & Feel to use:",
        APPNAME,
        JOptionPane.INFORMATION_MESSAGE, null, lfNames,
lfNames[currentLFIndex]);

if (selectedValue != null) {
...
{

How can I associate a HelpBroker.enableHelpKey(...) on such a pane?

Many thanks

-- 
Prof Dr Bart Jourquin
F.U.Ca.M. - G.T.M.
Chaussée de Binche, 151a, B7000 Mons (Belgium)
Tel. : +32 65 323293, Fax. : +32 65 315691
http://www.fucam.ac.be/jourquin
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jan 14 03:09:18 2005

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:40 EDT