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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java Applet MAC setMnemonic problem

Status
Not open for further replies.

thebarslider

Programmer
Dec 21, 2001
80
GB
Hello,

I have written an applet to run on OSx using Sarafi. I have added some hot keys to the buttons on the applet by using:

setMnemonic

Unfortunately, when the user types (Option B) for example a special character is outputted to the text box they are editting before the hot key method is run.

For example I have a hot key to set the text to Bold, immediately before the text is set to bold a special character is output. Is there a work around to prevent this?

I presume it must be possible to use control keys instead of alt/option.

i.e. control a

although i cannot figure out a way to do this..

Could someone please help me as i'm tearing out my hair to get this working.

Many Thanks.

Mark.
 
Yes it works fine on windows. Unfortunately it needs to work on Safari on OS 10.

Cheers. Mark.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top