Java swing disabling the window

I would like to disable the window in my swing application here is a picture to demonstrate what I mean:

My paint skills are bad but I hope you understand me, the result should look like this:

The borders are not the issue since it's easy to edit them.

Answers


You should try frame.setundecorated(true);


You need to set the frame as undecorated:

frame.setUndecorated(true);

Need Your Help

Why is the c++ input file stream checked twice here?

c++ io

Here is a snippet from a c++ tutorial:

Storing a file in a database as opposed to the file system?

sql-server database filesystems storage

Generally, how bad of a performance hit is storing a file in a database (specifically mssql) as opposed to the file system? I can't come up with a reason outside of application portability that I ...

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.