aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Customized window / frame java swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Customized window / frame java swing" Watch "Customized window / frame java swing" New topic
Author

Customized window / frame java swing

Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 156

Hi all I'm developing a java swing application and I want a customized window like that window will not have any of the options like titile, minimize, maximize or close option. only login text boxes and login & exit buttons. How can I do that. Actually I don't have any code to display here.
Joel Christophel
Ranch Hand

Joined: Apr 20, 2011
Posts: 237
    
    1

Take a look at JWindow.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Agree. But this discussion would fit better in our GUIs forum, so I shall move it.
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2203
    
    7
JWindow is not a good option because by default components like JTextField will not be able to receive key strokes.

Instead use an undecorated JDialog or JFrame.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Customized window / frame java swing