🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: no repainting of jdialog

#9736
From: MHenderson
Date: Thu, 10 Feb 2000 00:00
31 lines
1754 bytes
thanks,

it was a good point to start at !

Steve Cannon wrote:

> 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: <38A28C7D.6314398F@gmx.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38A0839C.5291FBD4@gmx.net> <87qbo7$9jm3@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b6badc5a3bed51f1
X-Google-Attributes: gid111d45,public
From: MHenderson <MHenderson@gmx.net>
Subject: Re: no repainting of jdialog
Date: 2000/02/10
Message-ID: <38A28C7D.6314398F@gmx.net>
X-Deja-AN: 584048128
Content-Transfer-Encoding: 7bit
References: <38A0839C.5291FBD4@gmx.net> <87qbo7$9jm3@bornews.borland.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