Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JProgessBar designs

Thread Tools

JProgessBar designs

Abraham Khalil
Posts: n/a
I want a JProgressBar like the one in Netscape when fetching email.
It looks something like this in order:

Status: DYNAMIC MESSAGE (Status label with dynamic message next to it)

Progress Bar [] [] ... (Each [] is a square box follow by space)

[Cancel] (Cancel button to cancel at anytime)

Now I have to create a new dialog class, something like
And have the JProgressBar as an object inside that class
JProgressMonitor doesn't solve this problem as one can't change how it
displays a fixed title and dynamic message below it. Correct me if
I'am wrong.

To have squares animating progress, would that mean to set it to
windows look and feel and stick to that?

How do we implement the Cancel button generically? Should I have
MyTask class or something and what if the other thread is busy
connecting to say a socket or url? Can the cancel button interrupt the
parent thread and dispose the dialog, or the user can be in a
situtation where
the cancel button is not resposive straight away and might take a few

Looking for best recommendations and things to watch out for when
designing it generically.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenTech open souce Designs & tools VHDL 0 09-07-2005 07:15 AM
Synthesizing high-density designs in Quartus Divyang M VHDL 4 08-08-2005 08:20 PM
Is that to implement JProgessBar, we need do in different thread? James Java 3 12-10-2004 08:52 PM
Good books/pointers for ISP designs jmiklo Cisco 3 11-25-2004 11:18 AM
example designs for Xilinx System Generator ? Timo Dammes VHDL 2 06-11-2004 04:45 PM