Saturday, July 25, 2009

Tutorial to remove JFrame titlebar in Java

This tip helps to remove the title bar of JFrame:-

To remove the title bar, just use following code

JFrame f=new JFrame();
....
f.setUndecorated(true);

This is very simple and just use of one statement helps us to do our job.

If you liked this tip, please consider bookmarking it!!

No comments:

Post a Comment

Write Your Comments..

Share this Page:-