Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IE7: How to block F1 key to show windows help in java applet?

843807Mar 25 2008 — edited May 8 2008
Question

My applet use F1 shotcut key in each popup dialog(JDialog) to show application
help, IE6 works correct, but IE7 shows windows help also besides
applicaiton help.
By the way, when applet got the focus, the windows help do not popped up
when press F1 key. Who can help me?
The owner of the JDialog is sun.plugin.viewer.frame.IExplorerEmbeddedFrame
which is get by the following code:

Frame jFrame = null;

Container f = getParent();
while ((f != null) && (!(f instanceof Frame)))
{
f = f.getParent();
}

if (f == null)
{
jFrame = new Frame();
}
else
{
jFrame = (Frame)f;
} //else
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2008
Added on Mar 25 2008
3 comments
231 views