🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15805

Re: wait dialog like splash

#15805
From: Jason Burton
Date: Fri, 30 Apr 1999 00:00
20 lines
1342 bytes
>  How do I create a dialog that displays a wait message when creating a
> dialog with a lengthy jbinit that is being called from another dialog?

If you are using Swing, a JWindow has the right look (no border, etc) of a
splash window, and an AWT Window (I think) has the right look.  I have never
been able to get either to actually show up while the other frame is
loading.  I have been trying:

splashScreen = new SplashScreen();
splashScreen.show();
longLoadingFrame = new loadLoadingFrame();
longLoadFrame().show();
splashScreen.hide();

where the SplashScreen class is a JWindow with some pictures, etc on it.
The problem is that no matter how I repaint/validate/invalidate my splash
screen, it never gets refreshed to the point of fully displaying itself.

Jason
Technical Details
Message-ID: <7gcebk$qif7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3724855B.3D8B5337@adrsoft.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,42b9dc76dd71923e
X-Google-Attributes: gidf74b3,public
From: "Jason Burton" <Jason.Burton@McLeodSoftware.com>
Subject: Re: wait dialog like splash
Date: 1999/04/30
Message-ID: <7gcebk$qif7@forums.borland.com>
X-Deja-AN: 472698878
References: <3724855B.3D8B5337@adrsoft.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language