Removing the Title Bar of a Frame : JFrame Window « Swing « Java Tutorial

Java Tutorial
1. Language
2. Data Type
3. Operators
4. Statement Control
5. Class Definition
6. Development
7. Reflection
8. Regular Expressions
9. Collections
10. Thread
11. File
12. Generics
13. I18N
14. Swing
15. Swing Event
16. 2D Graphics
17. SWT
18. SWT 2D Graphics
19. Network
20. Database
21. Hibernate
22. JPA
23. JSP
24. JSTL
25. Servlet
26. Web Services SOA
27. EJB3
28. Spring
29. PDF
30. Email
31. J2ME
32. J2EE Application
33. XML
34. Design Pattern
35. Log
36. Security
37. Apache Common
38. Ant
39. JUnit
Java
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Tutorial » Swing » JFrame Window 
14. 80. 20. Removing the Title Bar of a Frame
import java.awt.Frame;

public class Main {
  public static void main() {
    Frame frame = new Frame();
    frame.setUndecorated(true);

    // Get the current decorated state
    boolean undecorated = frame.isUndecorated();
  }
}
14. 80. JFrame Window
14. 80. 1. Creating a WindowCreating a Window
14. 80. 2. Display a JFrame instanceDisplay a JFrame instance
14. 80. 3. Resizing and positioning a JFrameResizing and positioning a JFrame
14. 80. 4. Constants for JFrame window close actionConstants for JFrame window close action
14. 80. 5. Sizing Windows with ToolkitSizing Windows with Toolkit
14. 80. 6. Centering a WindowCentering a Window
14. 80. 7. Extending JFrame: Closing Frames by DefaultExtending JFrame: Closing Frames by Default
14. 80. 8. Exiting an Application When a JFrame Is Closed
14. 80. 9. JFrame with Label and Window Listener to Handle Closing the FrameJFrame with Label and Window Listener to Handle Closing the Frame
14. 80. 10. Handling JFrame Events
14. 80. 11. Specifying Window DecorationsSpecifying Window Decorations
14. 80. 12. Set Default window close operation
14. 80. 13. SetIconImages for JFrame
14. 80. 14. Creating a Titleless and Borderless JFrame
14. 80. 15. Close a JFrame under condition
14. 80. 16. Creating a Borderless Window
14. 80. 17. Creating Frames with a background image
14. 80. 18. Setting the Icon for a Frame
14. 80. 19. Getting All Created Frames in an Application
14. 80. 20. Removing the Title Bar of a Frame
14. 80. 21. Making a Frame Non-Resizable: use setResizable(false) to freeze a frame's size.
14. 80. 22. Use Component listener to ensure frame visibilities
14. 80. 23. Drag and move a frame from its content area
14. 80. 24. Disabling the Close Button on a JFrame
14. 80. 25. Maximize a JFrame
14. 80. 26. Make a JFrame always visible
14. 80. 27. Preventing a Window from Gaining the Focus
14. 80. 28. Getting the Child Components of a Container
14. 80. 29. Get Top Frame
14. 80. 30. Make a JInternalFrame a tool window
14. 80. 31. Move JInternalFrame To Front
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.