Article View: borland.public.jbuilder.java.swing
Article #11482Re: Using the SwingWorker Class for GUI responsiveness
From: Michael Carroll
Date: Tue, 25 May 1999 00:00
Date: Tue, 25 May 1999 00:00
16 lines
1214 bytes
1214 bytes
John Blalock wrote in message <7icb7g$r124@forums.borland.com>... >I am using the SwingWorker class to allow the GUI to remain responsive while >a database load occurs in the Borland GridControl. This doesn't really answer your question but: if you specify Load.ASYNCHRONOUS instead of Load.ALL in the QueryDescriptor for your QDS, you also get a thread spun off for you in the background, to do the loading. This can lead to problems of its own too (in particular, some UI components might need to be disabled until the load finishes), but might be less of a headache than SwingWorker, since you're using a QDS anyway. Michael -- Michael Carroll Sigma Data Systems, Inc.
Technical Details
Message-ID:
<7iee5b$t2j1@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7icb7g$r124@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b15a82ec982225c8 X-Google-Attributes: gid111d45,public From: "Michael Carroll" <mcarroll@gosigma.com> Subject: Re: Using the SwingWorker Class for GUI responsiveness Date: 1999/05/25 Message-ID: <7iee5b$t2j1@forums.borland.com> X-Deja-AN: 481922201 References: <7icb7g$r124@forums.borland.com> Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing