开发者

How can I hide a "java desktop application"

I'm newbie in Java so I deicide make an application use "java desktop application" in Netbeans. It creates 3 file (ProjectNameAboutBox.java (JFrame Form), ProjectNameApp.java, ProjectNameView.java (JFrame Form and all my code in this file)).

Now, I want to ask how can I hide and restore this application when run? I already made a systemTray for it

开发者_JAVA技巧Thank you


Simply frame.setVisible(false) to hide and frame.setVisible(true) to show.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜