Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use F-Keys for Java Applet Functions

Status
Not open for further replies.

bobbyrabbit

Technical User
May 23, 2005
10
GB
Hope I've posted in the correct section...

have an applet which uses ASCII figures for applet functions eg.
<PARAM NAME = "REWIND_KEY" VALUE = "49">
<PARAM NAME = "RECORD_KEY" VALUE = "50">
<PARAM NAME = "PLAY_KEY" VALUE = "51">
<PARAM NAME = "PAUSE_KEY" VALUE = "52">

This equates to using CTRL+1 for Rewind and CTRL+2 for Play etc.

Is it possible to use the F-Keys instead, I appreciate the F-Keys are used for browser functions.
 
you can change it to CTRL + f
because control key need special treatment
change the value from 59 to 102.
I think you need to keep the CTRL key because Java use CTRL for combination of keys.
(for capital letter F, you need 70)
Please look at and look at dec value.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top