-
JDialog w/o titlebar
hi there, going through the java.sun forums, looks like there are 3 solutions:
1. upgrade to v 1.4 and call something like "unDecorated" ( i can't upgrade!
)
2. use JNI ( not sure how...but i'd prefer to stick with pure java )
3. use JWindow ( but I can't make it MODAL )
I prefer option 3 but could someone please post the code to make the window
modal so it's like a dialog box w/o the titlebar.
Thank you very much for your help 
cheers
raymond
-
Re: JDialog w/o titlebar
Hi,
1. Have a look into handleEvent to see how it is handled for a Modal JDialog.
2. Try to use your own Look and Feel for JDialog.
Regards,Swapnil
"raymond" <rlam4659@shaw.ca> wrote:
>
>hi there, going through the java.sun forums, looks like there are 3 solutions:
>
>1. upgrade to v 1.4 and call something like "unDecorated" ( i can't upgrade!
>)
>
>2. use JNI ( not sure how...but i'd prefer to stick with pure java )
>
>3. use JWindow ( but I can't make it MODAL )
>
>I prefer option 3 but could someone please post the code to make the window
>modal so it's like a dialog box w/o the titlebar.
>
>Thank you very much for your help 
>
>cheers
>raymond
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks