Skip to main content

Enabling help on functional keys

1 reply [Last post]
Anonymous

Hi!

I could use enableHelpOnKey method to make avil the help information on
functional key.

In default it is taking it as F1 key. I want to change the key for sample if
I want to have helpset information on F6 or F5 How could I do it?

Thanks!
Abarajith

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Abarajith.B, ISDC Chennai wrote:

> Hi!
>
> I could use enableHelpOnKey method to make avil the help information on
> functional key.
>
> In default it is taking it as F1 key. I want to change the key for
> sample if I want to have helpset information on F6 or F5 How could I do it?
>

Rewrite the code in enableHelpOnKey in your own class so that it handles
a F6 or F5 key. Of course I have to ask why you're using something other
than the standard F1 or "help" key.

binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.