Article View: borland.public.jbuilder.java.swing
Article #9608Child Dialog
From: Keith Underwood
Date: Sat, 19 Feb 2000 00:00
Date: Sat, 19 Feb 2000 00:00
21 lines
1431 bytes
1431 bytes
I have an app that I want to open the app and then at the same time open
a dialog box for the user to select between 2 choices before he/she
starts using the app.
In init() I have
private void jbInit() throws Exception
...
...
JDialog StartupDialog = new JDialog(this, "File Select", true);
...
...
fileDialog.setVisible(true);
The preceding line willnot let my app open and the app hangs. If I
comment out the line my app opens but
I get no dialog. I have also tried 'fileDialog.show();' and this makes
the app hang also.
How do I open my app and then have the dialog box open on top on it in
modal mode.
Keith
Technical Details
Message-ID:
<38AEC927.7D30A5CF@gte.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,d0e2e5745703eef5,start X-Google-Attributes: gid111d45,public From: Keith Underwood <keithu@gte.net> Subject: Child Dialog Date: 2000/02/19 Message-ID: <38AEC927.7D30A5CF@gte.net> X-Deja-AN: 587453157 Distribution: world Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gte.net X-Trace: /Kp2luuwIB5C7gZicS91u6WJugJ5as3i2ed0w4/lt6iIEbQS/TSuJyDJ13r68p3bJI9UVhQvU3UB!Bl5FB7KxBudx1765Kn1D3buBh4Dfd6xr+/pzHxuv0gannvwywWMTEocqcg== MIME-Version: 1.0 NNTP-Posting-Date: Sat, 19 Feb 2000 16:54:45 GMT Newsgroups: borland.public.jbuilder.java.swing