Results 1 to 2 of 2
  1. #1
    new_2_java is offline Member
    Join Date
    Feb 2008
    Rep Power

    Default Console Progress Bar

    Hi everyone,

    I have a stand-alone java program which connects to a remote server and downloads arround some 200 documents to a local drive. The process takes sometimes to complete.

    During this time, I would like to display a progress bar or something of that sort. Can someone please help me to correct direction.

    I am not using SWING or AWT.

    Please advise...


  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    NewEngland, US
    Rep Power


    If you're intention to simulate a progress bar through the console, you can write one yourself that grows as a function of the time it takes to connect.
    Java Code:
    $bash-3.00 Downloading...
    $bash-3.00 Progress(50%)
    $bash-3.00 Progress(89%)
    This process involves knowing your code and how to output a simple textual representation, like that above.
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

Similar Threads

  1. How to get input from Console
    By karma in forum New To Java
    Replies: 8
    Last Post: 08-13-2010, 10:32 PM
  2. ModSecurity Console 1.0.3
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 04-15-2008, 07:44 PM
  3. how to implement progress bar .....
    By roshithmca in forum AWT / Swing
    Replies: 1
    Last Post: 03-06-2008, 05:18 PM
  4. Console doesn't appear!
    By PeteMarsh in forum New To Java
    Replies: 2
    Last Post: 12-17-2007, 06:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts