JProgessBar designs

Discussion in 'Java' started by Abraham Khalil, Sep 4, 2003.

  1. 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
    JProgressDialog?
    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
    clicks?

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

    Thanks
    Abraham Khalil, Sep 4, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Timo Dammes
    Replies:
    2
    Views:
    6,515
    Elliot Schei
    Jun 11, 2004
  2. Divyang M
    Replies:
    4
    Views:
    697
    Divyang M
    Aug 8, 2005
  3. Replies:
    0
    Views:
    487
  4. Novice
    Replies:
    5
    Views:
    508
  5. James
    Replies:
    3
    Views:
    1,142
    Daniel Grieves
    Dec 10, 2004
Loading...

Share This Page