🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: What class to use for a StatusBar?

#9680
From: Sweder Schellens
Date: Tue, 15 Feb 2000 00:00
33 lines
1473 bytes
Dear Tor,

I have tried your solution. It works but I have one small problem.


When the user selects a menu option I search the harddisk for a certain
file.
During the search I want to display the directories I'm scanning.

I do this using:

JLabel statusBar = new JLabel();
statusBar.setText("Scanning " + directory.toString());

The problem is that the status bar doesn't display anything at all.
It looks like an update problem.
What am I doing wrong?
Am I forgetting something?

Kind regards,

Sweder Schellens



Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> wrote in message
news:uael2g2p1.fsf@sds.no...
> "Sweder Schellens" <sweder.schellens@qa-systems.com> writes:
>
> > I want to add a status bar to my application. What swing class
> > should I use?
>
> A JLabel is usually sufficient.
Technical Details
Message-ID: <88bfs8$jd01@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <88b0si$j5j6@bornews.borland.com> <uael2g2p1.fsf@sds.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,85b51552b2a3f7ef
X-Google-Attributes: gid111d45,public
From: "Sweder Schellens" <sweder.schellens@qa-systems.com>
Subject: Re: What class to use for a StatusBar?
Date: 2000/02/15
Message-ID: <88bfs8$jd01@bornews.borland.com>
X-Deja-AN: 586092160
References: <88b0si$j5j6@bornews.borland.com> <uael2g2p1.fsf@sds.no>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: QA Systems Technologies B.V.
X-MSMail-Priority: Normal
Reply-To: "Sweder Schellens" <sweder.schellens@qa-systems.com>
Newsgroups: borland.public.jbuilder.java.swing