another newbie swing question..

zollen
zollen used Ask the Experts™
on
Hi Guys,

   I want a JWindow object that behave like a modal JDialog. It means all events should be intercepted by the JWindow object but not it's parent window(or grandparent).
It should always be on top and parent window(s) should be temporary inactive.

Here is a different question:
Is it possible to remove the title bar from a JDialog??

thanks.
stephen
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Mick BarryJava Developer
Top Expert 2010

Commented:
> Is it possible to remove the title bar from a JDialog??

No.

As far as making a JWindow modal, you would have to implement this yourself.
Java Developer
Top Expert 2010
Commented:
Actually I may be wrong.

In 1.4 try the JDialog method setUndecorated() to remove title bar.

Author

Commented:
Hi Object,

   To implement modal from scatch, where should I start? Any idea?


stephen

Author

Commented:
Hi Object,

   To implement modal from scatch, where should I start? Any idea?


stephen

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial