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.
精彩评论