This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 155

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: 39070
    
  23
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: 2191
    
    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.
 
GeeCON Prague 2014
 
subject: Customized window / frame java swing