kryzb
asked on
Context-sensitive help...
Is there a way to pop up a relevant HTML help screen when pressing a key (F1) in a Java applet?
I've seen some discussion on this advising the use of HTML components, Swing text boxes and even Java browsers (e.g. ICE) but all I want to do is trigger a page from the browser I've currently got open. The one that's running my applet.
Is this impossible?
Kryz.
I've seen some discussion on this advising the use of HTML components, Swing text boxes and even Java browsers (e.g. ICE) but all I want to do is trigger a page from the browser I've currently got open. The one that's running my applet.
Is this impossible?
Kryz.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
0. associate help URL for every component.
1. add keyListener to every component.
2. when user presses F1, you have to open the correct web page.
you have to solve 0 yourslef, 2 is easy, for 1 take a look at
http://www.javaworld.com/javaworld/javatips/jw-javatip72.html