Remove JFrame title bar


****************************************************
COMPLETE SOURCE CODE FOR : RemovingTitleBar.java
****************************************************


import javax.swing.JFrame;

public class RemovingTitleBar
{
public static void main(String[]args)
{
JFrame a=new JFrame("REMOVING TITLE BAR");
a.setUndecorated(true);
a.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
a.setSize(200,200);
a.setVisible(true);
}
}


****************************************************
JUST COMPILE AND EXECUTE IT
****************************************************