java.awt.Desktop.browse()方法的问题 [英] java.awt.Desktop.browse() method issue
问题描述
当我们使用Desktop.browse方法来打开Internet Explorer中的URL,然后将它覆盖在浏览当前网页。因此,如果用户在浏览器中做任何事情关键在当前页面,那么它的全部丢失。
When we use Desktop.browse method to open a url in Internet Explorer, then it overrides the current web page in the browser. Hence if user was doing anything critical in current page in browser, then its all lost.
这不会在IE8和Firefox发生。但问题是,有没有IE6。
This does not happen in IE8 and firefox. But the problem is there in IE6.
有没有人找到了解决了在IE6这个问题。
Has anybody found a fix for this problem in IE6.
推荐答案
更改IE的设置打开一个新窗口。
正如你所指出的设置是可以在
Change the settings in IE to open a new window. As you pointed out the settings is available in
工具 - > Internet选项 - >高级 - >再利用的Windows快捷键
Tools->Internet Options->Advanced->Reuse Windows for shortcuts
这篇关于java.awt.Desktop.browse()方法的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!