The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

RE: Removing TitleBar from JFrame

Posted by Rod Ollerhead on October 01, 2001 at 2:47 PM

> Hi, is there any way to remove the title bar or the three buttons on the top right hand corner for JFrame. I understand that JInternalFrame has methods to remove them. What abt JFrame?
> Pls help. Thank you.

> Regards

frame.setIconifiable(false);
frame.setMaximizable(false);
frame.setResizable(false);

((javax.swing.plaf.basic.BasicInternalFrameUI) frame.getUI()).setNorthPane(null);





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us