🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12478

Re: Modal JInternalFrame?

#12478
From: Steve Waters
Date: Fri, 11 Dec 1998 00:00
24 lines
1400 bytes
There is another alternative that is a window listener, you could as i
have done not allow the user to use another window until some operation
is complete and the modal window is disposed of, that would then inturn
reselect the "current" window, and the allow the user to continue as
before.

Regards
Steve


Joel Elias wrote:

> Can an instance of JInternalFrame be modal to another
> instance of JInternalFrame? (i.e. the first pane is disabled
> until the second Frame is closed?).  I noticed a couple of
> methods on JInternalFrame that might make this possible:
> startModal() and stopModel().
> What do these methods do precisely?
>
> I know its possible to use a JOptionPane class to
> instantiate modal internal dialogs, but I would like to use
> internal frames instead.
>
> Any relevant comments are appreciated.
Technical Details
Message-ID: <3671D4DB.3BE95A46@bellsouth.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3671B9C2.A0EE60DD@longs.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8e15f0a43f997774
X-Google-Attributes: gid111d45,public
From: Steve Waters <steve_w@bellsouth.net>
Subject: Re: Modal JInternalFrame?
Date: 1998/12/11
Message-ID: <3671D4DB.3BE95A46@bellsouth.net>
X-Deja-AN: 421400801
Content-Transfer-Encoding: 7bit
References: <3671B9C2.A0EE60DD@longs.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing