Progress Indicator (Progress Bar)

Hi,
I'm currently working on a stand alone Java Application and am developing GUI with Java Swing. Currently I need to implement a Progress bar so as to indicate the length of the process where the length of the process is unknown.It would be nice if you could share your views about this, or even get me a sample code in relation to this.
Thanks and regards
Jenith

Well actually, only the JDK 1.4 allow such thing.
The other solution is allways increasing the max size
on when the max length is set, to set the length to the minimun
and restart the process. Try the progressbar of the JDK 1.4 seems
to be the best solution for your problem.

Similar Messages

  • Can BIP report have a progress bar/indicator?

    Hello,
    I have a BIP report embedded in a dashboard along with the BI answers report.
    While processing, the BIP report shows a clock symbol indicating the progress bar where as BIP report is not showing anything.
    this gives the end user a wrong impression that whether the report is executed or still processing.
    Is there a way to set a text message or a symbol to show progress?
    Please reply if you know how to.
    Thank you
    Narasimha Rao

    Sorry about that! We are working on adding this back to Firefox in an upcoming version:
    https://bugzilla.mozilla.org/show_bug.cgi?id=741654

  • FM10 Progress-bar indicator shows no progress

    I'm using FM10 (v10.0.2.419) on Windows 7 OS.
    When I print to postscript, the pink ribbon that used to show the progess does not display any longer,
    and the percentages indicator remains at 0%.
    Any ideas? My colleague right next to me is using the same SW and HW and does not have this problem.
    Thanks in advance for any ideas....

    Do you see the page numbers increasing below the progress bar (thermometer in FM's parlance)? Does the job "print" to completion? What device are you printing to?
    You could check your maker.ini file to see if the colour definition has been changed to be a background grey. The default setting should be:
    [Thermometers]
    ;-------------------- Thermometer Color Definitions -----------------------
    ThermoDoneColor=255, 0, 255
    ThermoRemainingColor=192, 192, 192
    There are two versions of the maker.ini file. The global one in the %FMhome% folder and the user-specific one in the \Users\<username>\AppData\Roaming\Adobe\FrameMaker\11 folder.

  • How long will the progress indicator spin before safe mode progress bar shows up?

    How long will the progress indicator spin before safe mode progress bar shows up?

    Not a good sign,  your HD is failing or has serious block problems. It might be possible to reformate the drive and start over.
    or something more agressive to do the repair, like Disk Warrior http://www.alsoft.com/diskwarrior/
    You need a backup plan in place here.
    more information here in a similiar thread:
    https://discussions.apple.com/message/17623074#17623074

  • Is there any component like percentage indicator not progress bar in Flex ?

    Hi All,
    I have to display a percentage value in a graphical way.( for example say 75% , a tube similar to progress bar which has a fill up to 75 % )
    Is there any such component in flex or can I use progress bar ? please share your thoughts.
    Thanks,
    Tc.

    You want to use a determinate ProgressBar with mode set to manual:
       <mx:ProgressBar id="progressBar" minimum="0" maximum="100" mode="manual"
           label="0%" labelPlacement="bottom">
       </mx:ProgressBar
    Then use setProgress( %, 100 ) to set the percentage:
      // set the progress to 10 of 100 (10%)
      progressBar.setProgress( 10, 100 );
    Let me know if that does the trick.
    Ben Edwards

  • What happend to the download progress bar and the secure site indicator (lock)?

    I recently upgraded to Firefox ver.4. Immediately noticed that the green download progress bar no longer displays. Also when accessing a secure web site the lock icon previously displayed in the lower right of the window is no longer there. Any suggestions on how to get them back?

    The status bar was removed in Firefox 4. You can use this two add-ons:
    https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    https://addons.mozilla.org/en-US/firefox/addon/download-statusbar/
    The Lock icon has been changed. Please read this article:
    https://support.mozilla.com/en-US/kb/Site%20Identity%20Button
    You can use this add-on to get the classic icon back:
    https://addons.mozilla.org/en-US/firefox/addon/padlock-icon/

  • Director 12 - progress bar

    I need to add a progress bar to the splash screen of a Director 12 .dcr which is hosted on a website.
    The progress bar doesn't have to show the exact time remaining before the main.dcr starts, it just gives the user a rough indication that "loading" is happening.
    I was thinking of using an animated .gif for this, making the .gif visible when the user clicks the Start button, but I don't knon how to do this in Director.
    Is there a standard way to make a loading-in-progress indicator in Director, for a web hosted .dcr?
    Thank you.

    Is this the kind of thing you are looking for?
    -- **Drop this Behavior on your progress bar**
    global gNetmovieID1
    global gCurrentSprite
    global gBarWidth
    global gBarConverter
    global gPercentText -- starts at 0% and ends at 100%
    global gStatList
    global gPercentDone
    on beginSprite me
      tellStreamStatus(TRUE) -- Turns on the stream status!!!
      floatPrecision = 2
      gCurrentSprite = me.spriteNum -- the current sprite "progress bar"
      gBarWidth = (sprite gCurrentSprite).width
      gBarConverter = (float(gBarWidth)) / 100
      gNetmovieID1 = preLoadNetThing("http://www.website.com/filename.dcr?p=" & string(random(1000) ) ) -- preLoads your hosted .dcr file!!!
    end
    on exitFrame me
      if Netdone(gNetmovieID1) = TRUE then
        gPercentText =  "100%"
        PLAY MOVIE ( "http://www.website.com/filename.dcr" ) -- plays your hosted .dcr file!!!
        abort
      else
        -- This checks the download status and updates the "progress bar" and the gPercentText
        gStatList = getStreamStatus(gNetmovieID1)
        if (gStatList.bytesSoFar > 0) then
          gPercentDone = (gStatList.bytesSoFar * 100.0001) / gStatList.bytesTotal
          (sprite gCurrentSprite).width = integer (gPercentDone * gBarConverter)
          gPercentText = string(integer(gPercentDone) & "%")
        else
          (sprite gCurrentSprite).width = 1
          gPercentText =  "0%"
        end if
      end if
    end if

  • What's happened to the Share Monitor or at least a progress bar in 10.0.6?

    Previously when exporting using the Share menu, I either had a progress bar or the Share Monitor to show how my export was doing.
    Now in 10.0.6 there appears to be neither of these items so I have no idea how long it will take.
    Am I doing something wrong or have both these items disappeared?
    If the latter, how do I estimate the time the export will take?

    All exports in FCP X as of 10.0.6 are background processes, and GPU enbled so they are much, much faster.
    Click the Background Process indicator in the Dashboard to see the progress there.  Just like when you import files.   The great news is, now you can contiue working while exporting is going on in the background.
    See the Export Enhancements section of this review:
    http://www.macprovideo.com/hub/review-2/review-final-cut-pro-x-1006-a-major-upda te

  • SAP BPC 7.5 Client, Silent install but with progress bar, can it be done?

    Hi All,
    I need to uninstall the BPC 7 Client and then deploy 7.5 to around 250 users accross the country.
    We have SCCM (SMS) in place so will be using that.
    I have the uninstall of 7 sorted and I have the response file etc sorted for the silent install of 7.5 and the install runs, silently, no issue.
    Is there a way though that one can "turn on" the progress bar during the install? So that users dont shutdown or disconnect in the 15min it takes the install to run.
    By way of example, in the SAP Business objects enterprise client on can configure the Silent install so that although it never prompts the user for a reponse there is a progress bar that runs, indicating that there is an install in progress.
    Thanks in advance,
    Bryan

    Hi Sebastian,
    No worries, I am using a pop up countdown so the users have some idea on progress. Would love to know why the install runs for over 15min.
    In the above case the uninstall was easy as we had deployed using MS AppV so it was just a case of deleting the advert in SCCM and the application was pulled from the users desktops.
    For 7.5 I am using a vbscript with following to uninstall:
    The install string pulled from the clients registry uninstall folder:
    RunCommand Chr(34) & "C:\Program Files\InstallShield Installation Information\{EC8753EF-EE78-48B5-A4D0-FBBD237B5D53}\setup.exe" & Chr(34) & " -runfromtemp -l0x0009UNINSTALL -removeonly"
    We create a custom link, so this deletes it.
    DeleteFile "c:\Users\Public\Desktop\SAP BPC 7.5.lnk"
    You should be able to create something similar for 7.0 & 7.1
    Hope that helps,
    Bryan

  • The progress bar (in green)which was visisble at the right hand side down in Firefox 3.6.8,is not visible here which seems little unfriendly.

    The progress bar (in green)which was visisble at the right hand side down in Firefox 3.6.8,is not visible here which seems little unfriendly.Or is it available(may be there is some settings i have to apply)?Please tell me if it is available in this version or not,and if yes then how to bring it.Thanks!

    You can add the progress indicator in the Firefox 4 add-ons bar with the [https://addons.mozilla.org/firefox/addon/status-4-evar/ Status-4-Evar] add-on

  • Creating Progress Bar for File Upload

    Hi, I'm trying to implement a progress bar indicator for a file upload in WebDynpro, without very good results.
    I'm using a fileupload UI element, a TimerTrigger and a ProgressIndicator UI elements for this purpose.
    It seems that using the fileupload UI element the iview is locked during the file upload, and therefore it prevents for the timer triggered action to be performed (this action updates the progress bar).
    Additionally I havent been able to capture the transfered bytes from the upload. Maybe I'm using the wrong elements?
    How could I achieve this. Has anyone done it?
    I would really appreciate all the help I could get.
    Homer Vargas

    Hi,
    Can anyone please tell me the way to upload file from client system to server.
    The code i have is as follows:-
    Jsp:-
    function saveImage(){
         //projectname.javafilename
         var strStatus = "save";
         document.saveImageForm.action="/irj/servlet/prt/portal/prtroot/TestXML.TextImageLink?frmstatus="+ strStatus;
         document.saveImageForm.method="post";
         document.saveImageForm.submit();     
    <form name="saveImageForm" encrypt="multipart/form-data">
    <table width="388" cellpadding="1" cellspacing="1" bgcolor="#F0F0F0" border='0'>
           <tr>
                 <td><font color="blue" face="verdana" size="2">IMAGE:</font></td><td><input id="image" type="file" name="image" value=""/></td>
         </tr>
    <tr>
         <td><input type="submit" name="submit" value="Submit" onclick="saveImage();"/></td>
         </tr>
    </table>
    </form>
    now i am not getting what to write in java file
    using IPortalComponentRequest.
    Using the jsp file upload in tomcat is working but here it is not working
    please help meee
    Thanks in Advance
    Regards
    Sirisha

  • Issues with publishing my iWeb site to .MAC - Progress bar freezes at 100%

    Well, as topic says, i'm having troubles publishing my iWeb site to .MAC now since upgrading to '08. The progress bar reaches full circle, but then nothing. Left it uploading to .Mac for well over 2 hours one time while out of the house...nada. Sometimes i get an error message, sometimes not and have to close iWeb while it's still publishing.
    Any feedback regarding this?
    Thanks in advance.
    /Rich

    Update: After 36 hours, I have successfully managed to upload my entire website via the "Publish All to .Mac" option. I now have blue indicators on the left side of my iWeb program in place of those pesky red ones. How did I do it? Well, I'm not sure. But on my last attempt I looked at the problem from a different perspective, so I took an alternate approach. I had a feeling that I was experiencing a network timeout issue caused by a 3rd party software, so I created a Whitelist entry on my website filtering software that allows unlimited access to "idisk.mac.com";; and "web.mac.com";; domains. I've got two kids at home, so I'm running the free OpenDNS Dashboard service on my network which provides content filtering (blocks adult site, phishing site, etc..). I started using this service two weeks ago. My last website update was a week before that. I figured I had nothing to loose by trying. To my surprise, it worked. Now, it took almost two hours to publish, of which the pie indicator was in the  "filled" position for a nerve racking hour. To reconfirm,  I then made a minor change to one of the pages on my website and re-published. This time using the "Publish to .Mac" option in place of the ALL option and once again it worked. It took less than 5 minutes. Now, I'm not sure if this is a coincidence, maybe Apple fixed the problem, or maybe my website filtering service was causing some type of time out issue all along??  Don't know.. But at least for now, I'm a happy camper since I have my site up.

  • Progress Bar for Web -- cr version 13.0.7.1136

    Hello All..
    The report is taking few seconds to display output.,So, i want to show progress bar while loading!!
    I've found couple of threads answering this question here but those seems to be old and i could not understand where those are being pointed.The below thread result redirects to welcome page where i could not find anything!!
    how to show progress bar while loading report ? 
    please suggest!!

    I did Don... found this !! but could not see any downloadable sdk guide there!!
    SAML Response from SAP ID Service     
    anyways., I've downloaded sap crystal reports .NET sdk developer guide.. there i saw 'Report Processing Indicator'.followed that and added 'ProcessingInidcatorText' and 'ProcessingIndicatorDelay' to web.config. but report is not showing with progress bar.
    My Need: User selects some selection criteria(like username or role) from dropdown and clicks 'Show Report' button. Then it is taking nearly 15 to 20 seconds of time to display filtered data. there i need to show user that 'please wait.., data is being processed'. i could see crystal default progress bar saying 'please wait while the document is being processed' when i refresh the report or navigating from page to page but not on button click after selection criteria.
    any help would be appreciable!!

  • How to create/set progress bar for loading flash intro

    Hi,
    I am having a falsh intro for my website.
    But its taking time to download and play the intro when we try to access it.
    I have seen many sites with progress bar indicating the status on the downloading of flash items.
    Can anybody please tell me how should I go about this?

    You can make a simple loader, it's a visual cue so your users wait for a moment.
    Try this, get a GIF from one of these site: http://www.google.com/search?hl=en&client=safari&rls=en-us&q=loading+gif&btnG=Se arch
    download it and name it as loader.gif
    add it to you page, and add the following to the page using HTML Snippet:
    <script type='text/javascript'>
    var timerCount = 0;
    var delayTimer = 5; // change this for the duration to show the loader.gif
    var loaderName = 'loader.gif';
    function stopLoader() {
    _imgs = parent.document.getElementsByTagName('img');
    for (ji = 0; ji< _imgs.length; ji++) {
    if (_imgs[ji].src.indexOf(loaderName) != -1) {
    loaderElement = _imgs[ji];
    break;
    if (timerCount == delayTimer) {
    loaderElement.style.visibility = 'hidden';
    clearInterval(_stopLoader);
    timerCount++;
    parent.iWLog(timerCount);
    _stopLoader = setInterval('stopLoader()', 1000);
    </script>
    BTW, here is an example: http://hdl.50webs.com/Sample/Blank.html

  • How to keep a progress bar

    Hi all,
               I want to keep a progress bar to my views on each action.How  to keep that??
    Can anyone plz help me out
    Regards
    Padma N

    Hi,
    A progress bar has 3 main properties namely
    1) barcolor -which will decide color of progressbar.
    create a context say ctx_barcolor of ProgressIndicatorBarColor type
    which u can find in com.sap.ide.webdynpro.uielementdefinitions
    2) percentvalue  -This will decide the curent length of indicator.
    This should be an integer say ctx_prcnt.
    3) displayvalue -This will decide which value u want to display in ur progress bar.
    This should be a String.For instance say ctx_dispval.
    Now suppose I want to set my progress bar to 80% and say of green color.
    Then first of all I will set percentvalue property.
    wdContext.currentcontextelement.setCtx_prcnt(80);
    Then I will set barcolor property.
    wdContext.currentContextElement().setCtx_barcolor(WDProgressIndicatorBarColor.POSITIVE);
    And  finally I will set displayvalue property.
    wdContext.currentContextElement().setCtx_dispval(wdContext.currentContextElement().getCtx_va_prcnt()+"%");
    Collectivelly
    wdContext.currentcontextelement.setCtx_prcnt(80);
    wdContext.currentContextElement().setCtx_barcolor(WDProgressIndicatorBarColor.POSITIVE);
    wdContext.currentContextElement().setCtx_dispval(wdContext.currentContextElement().getCtx_va_prcnt()+"%");
    I hope this helps
    Regards
    Surender Dahiya

Maybe you are looking for