[OpenMap Users] havahelp

From: Bart Jourquin <bart.jourquin_at_fucam.ac.be>
Date: Fri, 14 Jan 2005 09:06:07 +0100

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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jan 14 2005 - 03:09:18 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT