🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: no repainting of jdialog

#9721
From: Steve Cannon
Date: Tue, 08 Feb 2000 00:00
26 lines
1595 bytes
Go to the Sun web site and do a search for "SwingWorker".  You are having
thread problems because of Swing's single-threaded design.


"MHenderson" <MHenderson@gmx.net> wrote in message
news:38A0839C.5291FBD4@gmx.net...
> hi,
>
> i have a little problem here, i'm not able to solve.
> i try to show a little information frame with a jprogressbar while doing
> timeintensive code in an application.
> now, when i show (setvisible) the information frame (jdialog) i only get
> the outline of the window but the components inside the window (with the
> progressbar) aren't visible and when the code is through the frame
> dissapears (setvisible(false)).
> i guess i'm missing something like an window updating or so ?
> i tried a lot of combinations calling the information frame from a
> decoratedframe, frame, and so on. also i changed the class used by the
> information window (jdialog, frame, ...).
> i also tried all combinations of function calls like repaint and so on.
> anyone has a clou ?
>
> thanks a lot !
>
> mhenderson
>
Technical Details
Message-ID: <87qbo7$9jm3@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38A0839C.5291FBD4@gmx.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b6badc5a3bed51f1
X-Google-Attributes: gid111d45,public
From: "Steve Cannon" <scannon@austin.rr.com>
Subject: Re: no repainting of jdialog
Date: 2000/02/08
Message-ID: <87qbo7$9jm3@bornews.borland.com>
X-Deja-AN: 583447565
References: <38A0839C.5291FBD4@gmx.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing