开发者

Java Swing popup visibility

开发者 https://www.devze.com 2022-12-27 19:41 出处:网络
Why a popup created like this is shown in front of all windows applications with JRE 1.6.0_18 but it doesn\'t using 1.6.0_03 ?

Why a popup created like this is shown in front of all windows applications with JRE 1.6.0_18 but it doesn't using 1.6.0_03 ?

PopupFactory popupFactory = new PopupFactory();
    Popup popup= popupFactory.getPopup(null,new JPanel(),200,200开发者_如何学JAVA);
    popup.show();


Sounds like "something" has changed between those JRE versions. They have either fixed a bug or introduced a new one. I don't think there's more magic than that.

If you are very interested in knowing what exactly has changed, you can check out this link: http://java.sun.com/javase/6/webnotes/ReleaseNotes.html

0

精彩评论

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