JProgress bar automatic updation as web page uploads

hi,
I am new java programmer. I am supposed to make a Java browser with some functions similar to Internet Explorer.
As I started Swing just a week back, I am really bad at it. Though i finished all the other parts, just one thing to add a final touch i need is to create a Jprogress bar which gets updated automatically as page is uploaded. Can anyone help me about that? I have studied the tutorials on JProgressBar and was able to create a timer based bar but not a bar that woks as a status bar i.e. as the page is uploaded.
I would be very very grateful if anyone could guide me.
Thanking You in advance.
Manish Kumar

You could use a 'fake' progress bar (that moves independently). That's what even Internet Explorer does. You cannot know anyways if or when a page will be loaded. Just let something move to let the user know that something is still going on. Do you know what I mean? Even an animated GIF could do the job.
A smarter way would be to let the progress bar show different constant values depending on what is happening: 10% when the request was sent, 20% when the server is contacted, 30% when the server responds and so on.

Similar Messages

  • How can I get a song to play automatically on a web page ?     iWeb 1.1.2

    Can I get a song to play automatically when my web page opens? iWeb 1.1.2

    As long as you don't mind doing a little post publish editing of your .js files, it's fairly easy to do. You will find them in this path on your iDisk, using the Go menu in Finder:
    Go/iDisk/MyiDisk/Sites/iWeb/Nameofsitefolder/Page_filesFolder/Page.js
    Open the .js files for that particular page on your iDisk with any text editor (I like Taco, and it's free) and make the following changes to the script code that controls your movie: (you will find the movie code near the top of the page in the .js file)
    Change autoplay="false" to autoplay="true"
    Change loop="false" to loop="true"
    Changing controller value="true" to controller value="false" will remove the controller from the page entirely. Make these changes in both sets of tags, (object and embed).
    Make the changes and just "Save". Clear your browser cache and you should see the changes take effect immediately. Bear in mind you will have to make this modification each time you republish your site. You can also save this modified .js file and replace the republished file with it, as long as no other changes were made to the page in iWeb.
    -Mark

  • The update of web page iCloud is great, but why don't u just remove the "Notes" label from the "Mail" app?

    The update of web page iCloud is great, but why don't u just remove the "Notes" label from the "Mail" app?
    In additional, I also would like to see a "iOS liked" way to edit my "United contact" on the web page iCloud, just like on my iphone. That would be really great and more greater!
    Anyway, thanks for your work!

    frederickfromacworth wrote:
    but the updated icons on the update page don't go away.
    It's difficult to tell exactly what you mean, or where you are looking.
    But if you're looking in the App Store on the iPad, in the Updates area, and you still see the icons, they presumably now say "Open" to the right instead of "Update".  They will stay that way as a history of what you have done.  They will disappear after a while - something like 30 days.  That is fine.

  • Automatically update target variation pages disable

    Hello everyone,
    I applied site variation and checked
    Automatically update target variation pages   option during this process. 
    now, when i create or update a page in en-us version it also creates the tr-tr version of this pages which as draft. 
    Is there any way to change this settings on site or powershell? 

    Try below to enable it:
    http://technet.microsoft.com/en-us/library/ff721974(v=office.14).aspx

  • Scroll Bar missing on Safari web pages and unfamiliar screen saver image

    I recently upgraded my OS X from Panther to Tiger v. 10.4.11 and upgraded to Safari 3.1.2. Now the scroll bar down the right side is missing from the open web page in Safari. Where did it go and how do I get it back?
    Also, unfamiliar images appear, something like a screen saver when I leave my computer for a
    few minutes without putting it to sleep or shutting it down. It's a black/white/gray portrait of
    a woman and as the picture moves around the screen, the image magnifies. I have no idea
    where this image came from nor how to get rid of it. Any ideas?

    Hi Busy1, and a warm welcome to the forums!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it finishes.
    The usual reason why updates fail or mess things up, or things don't load/run, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates again, or even do an A&I if you have enough free disk space.
    The combo update for PowerPC-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateppc.html
    The combo update for Intel-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateintel.html
    Repair Permissions after re-install, then reboot again.
    If all the above do not resolve the problem, then it's time for an Archive & Install, which gives you a new OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120
    Might try this for Scroll Bars...
    http://lifehacker.com/5040043/add-double-scroll-arrows-to-both-ends-of-the-scrol l-bar
    when I leave my computer for a
    few minutes without putting it to sleep or shutting it down...
    Check System Preferences>Desktop & Screen Saver>Screen saver Tab for that.

  • How to update your web page on.mac / autoplay music

    hi,
    I just put up a web page on.mac..how do you update it or do you have to republish it...an how do you get music or moves to autoplay,,thanks,,Jim
    ppc g5 2.0 dual 2.5gig mem., g-4 1.67 , 17"pb , macbook white 1 gig   Mac OS X (10.4.8)   imac g5 1.9 1.5 gig mem.

    you update your site by going to iWeb and hitting the publish button! this will copy all the files up again and your site is online.
    if you start to have a bigger page you can only upload the changes (pages that are in red in the site organizer) by going File/Publish To .Mac!
    to autoplay music see here. when you re-publish your site you have to do the same stuff over again!
    max

  • Is there a way to automatically have a web page begin to scroll down?

    Is there a way -- sort of an "autoplay" sort of way to have a web page begin to slowly scroll down to the bottom like a teleprompter automatically? I know this isn't technically iWeb but the site is created in iWeb and from that basis I'm sure I"ll have to edit the code somehow -- like is done when making autoplay movies and music.

    Settings > iCloud > Photos > My Photo Steam > On.

  • When I first startup firefox I automatically get a web page displayed that I cannot exit from. I move the firefox page to another workspace to get rid of it. How do I prevent this webpage from loading ?

    web page automatically loads up each time and the exist bottom is disabled on the screen.

    Maybe your problem is caused by that particular add-on?
    I use the Print/Print Preview add-on and have never had that happen. <br />https://addons.mozilla.org/en-US/firefox/addon/printprint-preview/

  • I've updated a web page and now the links will not open in any browser except safari

    I've updated a web site and the links no longer work. I'm using Dreamweaver. The page works perfectly in Safari but not in Explorer or Firefox and I don't know what to change to fix this.
    == not sure what to add here

    I thought I did post the page. Anyway, I did solve the problem. I'm working in Dreamweaver on files originally created in GoLive. The CSS from GL has to be completely expunged from the file or Firefox has this issue (doesn't respond to links). This, even though the problem had no obvious connection to the linked text. Interestingly, images with links worked fine.
    I spent 45 minutes on the line with Adobe tech support and they didn't catch this. But while talking to them it occurred to me.
    thanks, Bob

  • How do you automatically update a Web Gallery from a Smart Album?

    I just installed iPhoto '08, and like the new features. I have published several Web Galleries, which are great for people who don't have Macs. I am publishing a smart album of all of the photos taken in the last month (Date is in the last 1 Month). However, when I add new photos, they show up automatically in the Smart Album, but they don't show up automatically in the Web Gallery. Is there a way to do this in iPhoto '08? Is there a way to do this with Automator? Thanks for your help.

    TeeJay6:
    Welcome to the Apple Discussions. No you can't because the web gallery is a separate entity from the smart album. Once the gallery is created in iPhoto you have to add photos to it manually and then click on the icon to update it online.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How can I get the status bar back on my web page

    I want to get the status bar on the bottom of the web page so that I can slide from left to right if an article is too large for my monitor. I had it this morning 1-5-15. After checking out Thunderbird as an option for my email, the bar disappeared after uninstalling Thunderbird. I know about hovering over the web pages I have on my menu bar, but I would rather have the entire bar at bottom of page.
    The gray bar shows up in my email only. I would like to have it on all my websites.
    Thank you.

    Does the scroll bar appear if you maximize the window or possibly switch to full screen mode via F12?
    You can try to open the system menu via Alt+Space and see if you can resize the window in case the current window is too high and the horizontal scroll bar falls off.
    Try to open a new window in case there is a problem with the current window.
    You can check for problems caused by a corrupted xulstore.rdf file.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Automatic update of web.xml when running UIX application

    I moved my UIX project from 9.02 to 9.03. The UIX resource files have changed between the versions so I deleted the old cabo folder so that when I ran my applicaton for the first time it would rebuild it. When I ran my application my web.xml file was automatically updated with the following servlet initialisation parameters:
    <init-param>
    <param-name>oracle.cabo.servlet.pageBroker</param-name>
    <param-value>oracle.cabo.servlet.xml.UIXPageBroker</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.ui.UIExtensions</param-name>
    <param-value>oracle.cabo.data.jbo.ui.JboUIExtension</param-value>
    </init-param>
    The problem is that I've got my own pageBroker already defined in web.xml so when I run my application it used UIXPageBroker instead. This took me a while to find - my app just suddenly stopped working. I don't know what actually updated web.xml but I think it needs to check for the presence of these parameters before inserting them.
    Cheers
    Ian

    Sorry about that Ian, I agree that the code should
    check for the presence of another PageBroker. I'll
    log a bug and bring this up with the development
    team.
    - Jeff

  • My spry menu bar rolls down my web page as I scroll down page??

    Can anyone help??  Created spry menu bar in dreamweaver cs3, looks good but when I scroll down my web page the entire bar moves too.

    gideon007 wrote:
    I'm no expert here but it sounds like its fixed positioned.
    Agreed,
    If not, post a online url.

  • Best small format that can play automatically in a web page

    I did two videos that I want to play in web pages when the page opens. In m4v format they are 5.8 MB and 15.6 MB. Way too big for connections here. I've tried shrinking to 3gb format, and they are now a little small, but very clear. But when the web page comes up, a message comes up and asks what you want to open it with, then downloads the video in another window.
    What is a good small format that plays automatically in the page?

    if you highlight the movie in iWeb, and open inspector and go to the QT logo at the far right and click on it you can check "autoplay.
    rr

  • CC Application updates history web page.

    Why does not Adobe put online a web page with all the list of most recent updates for all CC applications? That would clear the doubts that something is wrong with AAM or CC desktop not displaying any update request for weeks.

    Hi Mesoric,
    Please find below the page for the product updates of adobe:
    http://www.adobe.com/downloads/updates.html
    Regards
    Akshay

Maybe you are looking for