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 ( (JFrame Form),, (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

Thank you


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

Need Your Help

Want UITableView to “snap to cell”

ios objective-c uitableview uiscrollviewdelegate

I am displaying fairly large images in a UITableView. As the user scrolls, I'd like to the table view to always snap the center-most photo in the middle. That is, when the table is in a resting sta...

Insert, select and insert in same command

c# sql-server

Currently i'm using the following C# code to insert rows into a database

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.