File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

prevent "control n" from opening a new browser window with an applet

 
Anne Forumer
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet, A, totally occupying a browser window. Not surprisingly, A new browser window opens with another instance of applet A in it. I put some javascript in the HEAD section to intercept "Control N", but it is not preventing a new browser window from opening! I tried to test it by trying to pop up an alert box if I type "control N". javascript works if there is no applet on the page.

Should this be working? If no, what do I need to do? How does an applet hand-off keystrokes like "control N" to the browser?

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic