File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes User Interface Look & Feel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "User Interface Look & Feel" Watch "User Interface Look & Feel" New topic
Author

User Interface Look & Feel

Satheesh Thekku Veethil
Greenhorn

Joined: Jan 31, 2002
Posts: 25
In java all the user interface components have the look & feel as defined by the Laf. However there is no provision to remove decorations. Is it possible?
For example Dialog boxes always come with a close button (a cross on the top right corner). Is it possible to remove the close button?
In other words can I disable the decorations.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Have you tried making use of Dialog::setUndecorated( boolean )?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Thanks Dirk..but it is valid for 1.4 only..any work around for lower version.
Arun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User Interface Look & Feel
 
Similar Threads
Is there a way to make a window (no frame) and add my own components to it?
JFrame decorations aren't working
Is there any way to hide the title bar of java applications?
how to remove the window close icon.
How to disable or remove Close Button on JFrame