🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Is there a thread issue that I'm overlooking? (Advanced issue)

#11761
From: kerbel
Date: Mon, 12 Apr 1999 00:00
26 lines
1493 bytes
Hi

Please could someone help me...
I've developed a large-scale GUI application in Java 2 with Swing. The
main class entails calling up the GUI class which initialises and
updates the interface accordingly. For various reasons, a number of
dialogs need to be created (in the background) before or just after
the GUI is displayed. I have not set them to visible, however they are
instantiated. 

The problem is that on execution of the application, it sometimes
hangs before displaying the GUI. Almost as if it gets stuck while
instantiating the dialogs. The dialogs do work fine and 97% of the
time, everything runs fine, but the other few percent are
unacceptable. Is there a thread issue that I could be overlooking? Do
I need to use something like invokeAndWait ?

I would greatly appreciate any advice.

TIA

Uri Kerbel
--
uri@kalbi.demon.co.uk
www.kalbi.demon.co.uk 
--
Technical Details
Message-ID: <37125f92.5370880@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ba1579b6e7e949e1,start
X-Google-Attributes: gid111d45,public
From: kerbel@kalbi.demon.co.uk
Subject: Is there a thread issue that I'm overlooking? (Advanced issue)
Date: 1999/04/12
Message-ID: <37125f92.5370880@news.demon.co.uk>
X-Deja-AN: 465632404
X-NNTP-Posting-Host: kalbi.demon.co.uk:158.152.128.133
X-Trace: news.demon.co.uk 923953097 nnrp-09:10402 NO-IDENT kalbi.demon.co.uk:158.152.128.133
Reply-To: kerbel@kalbi.demon.co.uk
Newsgroups: borland.public.jbuilder.java.swing
X-Complaints-To: abuse@demon.net