开发者

How can I prevent reload when I hit F5

I don't want to reload my Java applet when I press F5, but I want my application to use F5 key.

I want the user to use F5 for his use - I don't want to disable F5 key in my applet, b开发者_JAVA技巧ut when he presses F5, the Applet should not reload.

I found that when ever we are refreshing, the Applet stop method is called. but it should not happen.


Use another key combination for your applet (e.g. Ctrl-F5). The user needs F5 to refresh the web page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜