Show progress with I/O

I have the following piece of code within an event which does a lot of reading and writing from and into different files. The process takes about 10 seconds.
ProgBar p = new ProgBar(jProgressBar1);
void okbutton_actionPerformed(ActionEvent e)
    temp = usernametextfield.getText().trim(); //temp is a string
    if (temp.length()>0)
      p.start();
      load();
      saveData();
      savewelcomeframe();
      savedeleteframe();
      savemainframe();
      retrievewelcomeframe();
      this.dispose();
    else JOptionPane.showMessageDialog(jOptionPane1, "Invalid Entries. Try again.","Error Message", JOptionPane.ERROR_MESSAGE);
  }On the frame where the okbutton is I want to use a JProgressBar in an Indeterminate mode. I wrote the following piece of code that returns a JProgressBar.
import java.awt.*;
import javax.swing.*;
public class ProgBar extends Thread {
  JProgressBar progbar1 = new JProgressBar();
  public ProgBar(JProgressBar prog) {
    progbar1 = prog;
  public void run(){
      progbar1.setIndeterminate(true);
      progbar1.setString("Loading...");
} It doesn't work. If I remove this.dispose() from the first piece of code, the progressbar works but only after all the reading and writing is done. In effect it looks like that my code works but not as independent threads.
I have read in the tutorial that I/O blocks progress bars, is that true in this case. and if it is? is there a way around it.
I don't want to use ProgressMonitorInputStream in a pop up window. Can you help?

Here's what I did:
1. I set up my I/O stuff working in a low priority thread. It looked something like:
int totallength = ...
int have = 0;
Inputstream in = ...
byte[] buf = new byte[4000];
while (have!=totallength) {
  int b = in.read(buf);
  if (b==-1) break; //some sort of error
  have+=b;
  ProgressBar.setValue(have/totallength);
}

Similar Messages

  • How do you use the status column to show progress of a step in an OI?

    Hi everyone,
    I was just doing a little browsing and noticed the picture at the top of the http://www.ni.com/teststand/ web page.  It shows a progress bar in the status column of a step being executed.
    I have several applications where this would be a very useful addition.  I use the progress bar at the bottom of the OI and sequence editor regularly, but would very much like to show progress of an individual step in the status column.  It would be particularly useful where you turn the tracing off into a sequence but want to see that progress is being made through the steps within it...
    Anyone know how to do this?  I have been unsuccessful in trying to find examples....
    Cheers,
    Barry

    James,
    I believe your answer to Bazza's question also applies to my situation, but I wasn't sure so I thought I would ask.  I am working on a custom TestStand operator interface in LabVIEW using the UI controls.  I would like it to behave as closely as possible to the old Test Executive.  Specifically, I would like the operator to be able to see the contents of the sequence file, interact with them, and see the execution results all in the same view.  Is that possible?  In other words, can I display and interact with a sequence file (display the sequence steps, run selected steps, loop selected steps, etc.) and display the sequence's execution results (including tracing) in the same SequenceView control or do I have to use 2 of them?
    Thanks,
    Ryan Wright

  • HT1752 My MacBook on startup shows file with question mark ,, what now?

    My Mac shows file with question mark, what now.

    Press the power button down to force a emergency use only hardware shutdown.
    Press and hold the Option/alt key on the built in keyboard, boot the machine.
    If MacintoshHD appears, select it and click the arrow, then in System Preferences > Startup Disk reset that. Done.
    Sometimes a NVRAM reset is required then the above done again.
    Folder with question mark issue
    ..Step by Step to fix your Mac
    If MacintoshHD doesn't appear, or if it boots to gray screen or other issues, then it's more complicated of a fix, but once inside OS X then reset the Startup Disk.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    ..Step by Step to fix your Mac
    You might need this if you don't have a recent backup and your problem is software related, Disk Utiltiy can't fix the drive and recommends you backup, erase and install.
    .Create a data recovery/undelete external boot drive
    If Disk Utility + Hardware Test shows no boot drive, then you have a dead drive or cable, or Mac issue.
    My computer is not working, is my personal data lost?

  • Firefox Downloads (in classic or new download window) does not show progress or downloads

    I noticed that when I download anyhitng that the download window (classic and new) windows do not show progress anymore, do not show files downloaded, nor give me anything to right-click and go to that folder, in which it was saved. I had it fixed for 1 day, until it started to lose the files the next day.
    I only see the arrow turning green, with no result within the downloadswindow.
    I had done the following:
    1. In the Location bar, type about:config and press Enter.
    o The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
    2. In the Search field, type browser.download.manager.scanWhenDone.
    3. Double-click on the browser.download.manager.scanWhenDone setting to change its value to false.
    You can set the Boolean pref browser.download.useToolkitUI to true on the about:config page to restore the classic Download Manager window.
    Yet this problem still continues.

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    When in Safe Mode... <br />
    * The status of plug-ins is not affected.
    * Custom preferences are not affected.
    * All extensions are disabled.
    * The default theme is used, without a persona.
    * userChrome.css and userContent.css are ignored.
    * The default toolbar layout is used.
    * The JIT Javascript compiler is disabled.
    * Hardware acceleration is disabled.
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Make task befor send mail. Use of "Show Progress" and Exception

    Hello,
    Could I handle Send Event of MailItem in a way that Outlook understand it.
    I want to do a long task before sending the mail. The user musn't be block. I wish Outlook display the task when user click on "Show progress" I have two choise actualy:
    - I cancel upload while my task ending.
    - I make a new thread were i do all the process and finally call the mailItem send method
    The first seems to work pretty well. But it need the user wait to the end of the process before send. As it didn't block the user to write read others mail it could be a solution.
    I prefered the second one who don't change the user experience. But i have many problem to do it :
    - How to apeared in "Show progress"
    - Exception raise when i send a (draft)mailItem show in preview pane.
    Thanks.

    That is how Outlook Object Model works. Prior to Outlook 2013, some things would work on secondary threads, but sometimes they would blow up in a really spectacular fashion. So in Outlook 2013 Microsoft made a decision to raise an exception immediately as
    soon as Outlook detects that one of its objects is used on a thread other than the primary Outlook thread.
    This applies to the COM addins only of course since when your code is running inside the outlook.exe process. If you are out-of-proc, all calls will be marshaled to the main Outlook thread anyway, which negates the whole purpose of using multiple threads
    to begin with.
    Only Extended MAPI (C++ or Delphi) can be safely used on a secondary thread. You can also use the
    RDO family of objects in
    Redemption - it wraps Extended MAPI and can be safely used on a secondary thread from any language. See also
    http://www.dimastr.com/redemption/faq.htm#Threads
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Show Progress During Lengthy Multiple Procedures Executing

    I have a C# winform app that on a button press event will call about 8 different procedures taking close to 10 minutes to perform the full cycle of events.  I see that you can use a Background Worker to display a progressbar and display text above the
    progress bar, but is their a way I can display when each different procedure is entered?  For example, possibly show in a BackgroundWorker Something like this: (maybe customize the message a little bit more but this would get the point across and at least
    show progress)
    Procedure 1 Starting 03/25/2015 10:01:08 p.m....
    Procedure 1 Finished 03/25/2015 10:02:25 p.m...
    Procedure 2 Starting 03/25/2015 10:02:28 p.m...
    Procedure 2 Finished 03/25/2015 10:04:30 p.m...
    Procedure 3 Starting  03/25/2015 10:04:50 p.m...
    Procedure 3 Finished 03/25/2015 10:06:15 p.m...

    This is exactly what the ProgressChanged Event is for:
    https://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.progresschanged(v=vs.110).aspx
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • New Macbook Pro beeping on startup + showing progress bar

    Hi;
    Yesterday I bought my new 13inch MacBook Pro. When I came to turn it on this morning, it first made a beep sound; then it showed the Apple logo with a progress bar under it. The bar made no progress, suddenly it rebooted again but without making any sound, and the Apple logo re-showed again with the bar. This happeded 3 times before the Mac booted.
    Any ideas?
    Please help, I am new to Mac, and I'm Lovin' It.
    Thank you.
    Elias.

    eliasfromnewyork wrote:
    It is true; the past day I had updated my software and I turned it off. This all started happening the next day. I understand that it might be updating the EFI firmware, I remember I did install it; but the problem is that it happened twice in a row (I shut down the computer and re-turned it on again) and the same things happened. But it never happened again. I just wanted to know that my new MB is OK. (I am new to Mac and not familiar with MB beeping at startup, is it normal?).
    Thank you.
    If the issue got fixed that means that the MacBook was updating its EFI. The "bong" sound is normal at start up, however the "beep" sound will be heard only when the EFI is update or has a problem.

  • Keywords imported but don't show up with photos

    I am not getting keywords to show up with imported photos. i've done a lot of searching on this and other forums to try to figure out what is different about my situation but to no avail. here's what I've deduced though:
    the keywords will import if I deselect “Copy the items to the iPhoto Library”. But if I leave the default box checked", I will not get keywords associated with the photos.
    (the rest of my discussion deals with a library where the imported photos ARE copied to the library)
    Interestingly, the keywords ARE imported into iPhoto (if one looks at the keyword list); they just aren't attached to the photos (i.e. clicking <Get Info> shows no keywords, as opposed to them being there but just not showing up on the screen with the image). Most (but not all) of my imported photos show up in iPhoto without any keywords attached. Most Events are all-or-nothing; i.e. all the photos of the event either have keywords or don’t. At least one Event is a mix. I cannot make any sense as to why some do, as the ones that do will be part of an event that all the other photo's don't show the keywords; additionally, neither the ones with nor the ones without keywords share any common feature or change (e.g. edited, rotated, file type, keyword/tag name, etc.).
    I'm a pretty basic user when it comes to photos (but with a fair amount of common sense and computer knowledge); not trying to do anything fancy here. I don't know much about photography, so I'm not manipulating photo settings on my camera and am not (purposefully/knowingly) manipulating the metadata directly from the file. So, I'm baffled as to why my system would be acting differently than any other "out of the box" iMac.
    In case it matters:
    -- the photos being imported originated from a Windows-based PC and tagged by Adobe Photoshop Elements. I have the same problem regardless of whether I export them (using Photoshop) to a file on the iMac or directly import them over the network from the PC using iPhoto.
    -- (Using iPhoto Library Manager) I created another iPhoto library to see if the same thing would happen with photos imported to a different library -- same problem. (BTW, I checked the new library's Keywords BEFORE I imported to make sure the keyword "library" wasn't somehow replicated from the previous library.)
    -- In one of your forum discussions, you said that these “copies” would be in the “Originals” folder within the iPhoto package, right? If so, then they are the same size as the files being imported minus a few KBs, presumably due to the lack of associated keywords.
    I assume that these "copied" files are suppose to retain their keyword/tag info. Any ideas why they aren't and/or what I can do about it? I tried rebuilding the database too but that didn't do any good. I'm figuring on trying to reimport everything again, but I fear I'll get the same result.

    Welcome to the Apple Discussions. First try the simple fix: delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder. Launch iPhoto and see if the keywords show up. If not, then launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) 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 created an Automator workflow application (requires Tiger or later), 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. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome

    Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome. Works in IE. This is my first time trying to post a question - so please be kind. I am also not good with code and am finding css a real challenge after learning to design based on tables. I'm using CS5.
    The "test" page with the slide show is: http://www.reardanwa.com/index-slides.html   The same page without the slide show is http://www.reardanwa.com/
    I realize the images are not ideally sized - I'll fix those once I get the pages to function.  Maybe I need a different slide show? I would prefer a widget that I can modify to required size & postition. Again - I'm not good at building with code from scratch.
    The problem is the naviagation links that are directly next to the slide show do not work in Firefox of Chrome. They do work in IE.
    I've read about using jQuery.noConflict(); code but can't figure out the correct way to use it in my case or whether that's even part of the solution. I know my code is not well organized as I have cobbled together from various sources in an attempt to format the page the way the client wants it. Also, FYI, I will eventually try to make the page work in Surreal CMS.
    I've spent sevaral days over the last several weeks trying to solve sth slide show/navigation conflict - so any specific light you can shed will be much appreciated.
    Thanks in advance.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Reardan Area Chamber of Commerce</title>
    <meta name="description" content="home page for Reardan Area Chamber of Commerce" />
    <meta name="keywords" content="Reardan WA, chamber of commerce" </>
    <script src="scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="scripts/jquery.cycle.all.js" type="text/javascript">  </script>
    <script type="text/xml">
    </script>
    <style type="text/css">
                                  #slideshow { 
                                      padding: 10px;
                                            margin:0; 
                                  #slideshow-caption{
                                            padding:0;
                                            margin:0;
                                  #slideshow img, #slideshow div { 
                                      padding: 10px;
                                      background-color: #EEE;
                                      margin: 0;
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              background: #004B8D;
              margin: 0;
              padding: 0;
              color: #000;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
               /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    .left
    position:absolute;
    left:0px;
    .center
    margin:auto;
    width:95%;
    .box
              position:relative;
              left:-90px;
              width:950px;
              height:350px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              z-index:1000;
    .slide{
        position:absolute;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #42413C;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #6E6C64;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
    /* ~~this fixed width container surrounds the other divs~~ */
    .container {
              width: 960px;
              min-height:900px;
              padding:5px 0px 0px 0px;
              background: #E8F8FF;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background: #E8F8FF;
              padding:10px 5px 0px 5px;
    .sidebar1 {
              float: left;
              width: 225px;
              margin: 60px;
              color: #FFFF0D;
              background: #595FFF;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
        z-index:-1;
    .sidebar2 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:2;
    .sidebar3 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:3;
    .content {
              padding: 0px 0px 0px 0px;
              width: 780px;
              float: left;
              background: #E8F8FF;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0px 15px 5px 10px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this removes the list marker */
              border-top: 0px solid #FFFF66; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
              margin-bottom: 50px; /* this creates the space between the navigation on the content below */
              font: Arial Black, Verdana, , Helvetica, sans-serif;
              font-size:1.3em;
              font-weight:bold;
              z-index:2;
    ul.nav li {
              border-bottom: 0px solid #FFFF66; /* this creates the button separation */
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 3px 0px 5px 0px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              width: 185px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
              text-decoration: none;
              color: #FFFF0D;
              background: #595FFF;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              background: #595FFF;
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
              color: #FFFFFF;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              background:  #595FFF;
              color: #FFFF0D;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    -->
    </style>
    </head>
    <body>
    <div class="container">
      <div class="header"><!-- end .header -->
      <a href="#"><img src="images/Chamber-Logo-2.gif" alt="Reardan Chamber Logo" width="187" height="163" hspace="10" vspace="5" align="top" /></a><img src="images/Reardan-Chamber-Title.gif" width="476" height="204" alt="Reardan Area Chamber of Commerce, Dedicated to Preserving and Enhancing Area Businesses" /><p></p>
      <p style="color: #F00">This Site is under construction! Please pardon our dust as we create!</p>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="about.html">About Us</a></li>
          <li><a href="history.html">Reardan History</a></li>
          <li><a href="activities.html">Activities</a></li>
          <li><a href="business.html">Business<br />
            Directory</a></li>
          <li><a href="about.html">Join the<br />
            Chamber</a></li>
           <li><a href="links.html">Links<br />
      <span style="font-size: 85%">Tourism</span><br />
          </a></li>
        </ul>
         <!-- end .sidebar1 --></div>
    <br />
    <br />
    <br />
    <br />
    <div class="box" +"slide">
      <script type="text/javascript">
    // BeginOAWidget_Instance_2559022: #slideshow
                               slideshowAddCaption=true;
    $(window).load(function() {
      $('#slideshow').cycle({
                        after:                              slideshowOnCycleAfter, //the function that is triggered after each transition
                        autostop:                              false,     // true to end slideshow after X transitions (where X == slide count)
                        fx:                                        'blindX',// name of transition effect
                        pause:                              false,     // true to enable pause on hover
                        randomizeEffects:          true,  // valid when multiple effects are used; true to make the effect sequence random
                        speed:                              100,  // speed of the transition (any valid fx speed value)
                        sync:                              true,     // true if in/out transitions should occur simultaneously
                        timeout:                    5000,  // milliseconds between slide transitions (0 to disable auto advance)
                        fit:                              true,
                        height:                       '300px',
                        width:         '525px'   // container width (if the 'fit' option is true, the slides will be set to this width as well)
    function slideshowOnCycleAfter() {
              if (slideshowAddCaption==true){
                                  $('#slideshow-caption').html(this.title);
    // EndOAWidget_Instance_2559022
      </script>
      <div id="slideshow">
        <!--All elements inside this will become slides-->
        <img src="images/100_1537.jpeg" width="600" height="450" title="caption for image1" /> <img src="images/Parade-2011-2.jpg" width="300" height="225" title="caption for image2" /> <img src="images/100_1495.jpeg" width="600" height="450" title="caption for image3" />
        <div title="sample title"> Images for slide show will need to be re-sized to fit box to avoid distortion</div>
        <img src="images/beach4.jpg" width="200" height="200" title="caption for image4" /> <img src="images/beach5.jpg" width="200" height="200" title="caption for image5" /> </div>
      <!--It is safe to delete this if captions are disabled-->
      <div id="slideshow-caption"></div></div>
    <div class="sidebar2" "anotherClass editable"><p align="center"><strong>Chamber News</strong><br />
    Local News item
    <br />
    Another New item</p>
      <p align="center">lots of news this week<br />
        <br />
        <br />
        <br />
      </p>
    </div>
    <div class="sidebar3" "anotherClass editable"><p align="center"><strong>Upcoming Events</strong></p>
      <div align="center">    <a href="activities.html" style="color: #FFFF0D">Community wide yard sales</a><br />
        <br />
        <br />
        <br />
        <br />
      </div>
    </div>
    <div class="content"><br />
    <br />
    </div>
    <div class="footer">
            <p align="center"><span style="font-size: small">Reardan Area Chamber of Commerce</span><br />
              <span style="font-size: x-small">[email protected]  - 509.796.2102</span><br />
            </p>
            <!-- end .footer -->
    </div></body>
    </html>

    If you DO want the slideshow overlaping the navigation try the below css:
    .sidebar1 {
        float: left;
        width: 225px;
        margin: 60px 0px 60px 60px;
        color: #FFFF0D;
        background: #595FFF;
        border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
    .box {
    float: left;
    margin-left:-60px;
    width:700px;
    height:350px;
    border-radius: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;

  • I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.

    Hi,
    I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.
    The "Staged" folder is present and remains after a restart, but the extensions do not get installed. They show in the extensions page with the "will be installed after you restart Firefox" message and remain like this no matter how many times I restart.
    Any Idea's?
    Running Firefox 24.0 on Windows 8.1
    Many Thanks,
    BD
    P.S. Just tried to install the "troubleshooter" add-on before posting the question and I got an error saying it cannot install because it cannot modify the needed file. (I did it manually instead)

    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the extensions.* files (e.g. extensions.sqlite, extensions.ini) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled or not compatible extensions in "Firefox/Tools > Add-ons > Extensions" then click the Tools button at the left end side of the Search Bar to check if there is a compatibility update available.
    If this hasn't helped then also delete the addons.sqlite file.

  • Showing Items with no transactions

    I am trying to build a report that will show us items with potentially incorrect item status.  Item status (on table itmmas) is either A(ctive) or I(nactive).  The report should show all Inactive items which have had at least one transaction in the past 4 weeks AND active items which have had no transactions in that period.
    My plan is to join the item master table to the item ledger table (itmldg) which lists all inventory transactions.  I can show the inactive items with transactions without a problem.
    What I can't figure out is how to show items with Active Status that don't have any transactions.  I can't get CR to return a data set which includes ALL records from itmmas but only those from itmldg in the last 4 weeks.  I tried this SQL query:
    SELECT itmmas.itmiid, itmmas.itmdes, itmmas.itmsts, itmldg.ilgdno, itmldg.ilgdat
    FROM {oj itmmas  LEFT OUTER JOIN itmldg ON itmmas.itmiid = itmldg.ilgiid}
    WHERE (itmldg.ilgdat>={d '2009-09-01'})
    When I run this query in MS Query and return the results to Excel, I get single lines for items with no transactions.  For these items, the fields from itmldg are NULL.  When I run this query in CR, I don't get any data for items with no transactions.
    Can anyone think of a way to get this to work?

    The issue that you have is that the WHERE clause in your SQL statement is only looking at an itmldg table field for a value.  This is effectively making your Left Outer Join an Inner Join, because when an itmmas record does not have an itmldg record, the date field will be NULL.  You have to add the condition "OR itmldg.ilgdat is null".
    If you want to return ONLY the records that the report is interested in (which should have beter performance), change the SQL to
    SELECT itmmas.itmiid, itmmas.itmdes, itmmas.itmsts, itmldg.ilgdno, itmldg.ilgdat
    FROM {oj itmmas LEFT OUTER JOIN itmldg ON itmmas.itmiid = itmldg.ilgiid}
    WHERE ((itmldg.ilgdat>={d '2009-09-01'}) and (itmmas.itmsts = 'I'))
      or  ((itmldg.ilgdat is null) and (itmmas.itmsts = 'A'))
    HTH,
    Carl

  • Problem in showing progress image and status message.

    Hi, friends,
    I have file upload program in which when user uploads the file
    i want to show animated progress file
    i.e. ( circle.gif )
    when upload finishes it should display message :
    File < file name > uploaded successfully.
    How do i achieve it ?
    since when i am uploading file , image is displayed but
    due to upload process image is hanged up and did not showing
    animation.
    Kindly solve the above problem.
    i post my some code here.
    ============================
    javascript part is here
    function showProgress()
            document.getElementById('imgprogress').style.display = "";
         document.getElementById('imgprogress').style.visibility="";
        function completedupload()
         document.getElementById('progress').style.display = "";
         document.getElementById('progress').style.visibility="";
    <div id="imgprogress" style="display:none; visibility:hidden;"><img src="images/circle.gif"></div>
                                                      <div id="progress" style="display:none; visibility:hidden;"><%= status %></div>
                                                      <div id="" style="display:none; visibility:hidden; "><img src="images/circle.gif" width="21" height="21"></div>since it is not working good.
    please provide me good solution for this.
    i need exactly following :
    when user gives big file to upload it shows progress as animated image
    and upload process finished up, it should remove image and display status message like " File Upload completed. "

    I know this is an old topic, but I found the solution and thought I'd share it! By default, a JList only has 1 visible row. To allow the number of rows to expand dynamically, throw this in.
    this.imageList.setVisibleRowCount(-1);My code looks like this. It centers each image and centers the text under the image and wraps images horizontally.
        ListCellRenderer renderer = new ImageListCellRenderer();
        this.imageList.setCellRenderer(renderer);
        DefaultListModel listModel = new DefaultListModel();
        this.imageList.setVisibleRowCount(-1);
        this.imageList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
        this.imageList.setModel(listModel);and the renderer
    public class ImageListCellRenderer extends DefaultListCellRenderer { 
      public Component getListCellRendererComponent(JList list, Object value, int
          index, boolean isSelected, boolean hasFocus) {
        JLabel label = (JLabel)super.getListCellRendererComponent(list, value,
            index, isSelected, hasFocus);
        if (value instanceof File) {
          File imageFile = (File)value;
          String path = imageFile.getAbsolutePath();
          Image image = Toolkit.getDefaultToolkit().getImage(path);
          image = image.getScaledInstance(100, 100, Image.SCALE_DEFAULT);
          ImageIcon imageIcon = new ImageIcon(image);
          label.setIcon(imageIcon);
          label.setText(path.substring(path.lastIndexOf(File.separatorChar) + 1));
          label.setVerticalTextPosition(SwingConstants.BOTTOM);
          label.setHorizontalAlignment(SwingConstants.CENTER);
          label.setHorizontalTextPosition(SwingConstants.CENTER);
        else {
          label.setIcon(null);
        return label;
    }I need to work on this to improve performance, but it works!

  • HT5137 I updated to ios7.0.2, when I double click on home button it brings up an app list but when I hold my finger on an icon it won't show any with a minus sign, is it no longer necessary to close apps?

    In ios 7.0.2, when you double click the home button it brings up the icons but won't allow you to show them with minus signs, is it no longer necessary to do this?

    jim96776 wrote:
    is it no longer necessary to do this?
    It was never necessary except in certain unusual circumstances.

  • How do I enable flash and java on firefox23 as I have the latest versions installed yet the plugin page shows "disabled" with no option to enable

    I have updated to Firefox 23 and it disabled my Java and Flash plugins. I then updated these to Flash 11.8.800.94 and Java to Version 7 Update 25. Now these are showing up on the plug in page but are showing "disabled" with no option to enable. How do I enable them to view content on the web.

    Thanks Philipp but i have already done that and the content started working...
    However, when i closed and restarted the browser it returned back to the same settings...
    I dont think that should happen, but anyway thank you for the solution. At least I can use it by resetting the values if need be
    Appreciate your help

  • How do you create a link to a pdf in Muse? Thought it was going to show that with Katie's menu and can"t find in any of the tutorials.

    How do you create a link to a pdf in Muse? Thought it was going to show that with Katie's menu and can't find in any of the tutorials.

    The steps would be :
    - Add files from file menu > select pdf > add to site
    - Select the content (rectangle,text etc) and click on hyperlink dropdown > it should show you the added files list
    - Select the file you want to link
    Thanks,
    Sanjit

Maybe you are looking for

  • FCPx Crash and Burn (iMovie too)

    Wow, what does Apple actually do??  I bought my first Apple computer last year (MBP 2.3 / 8gb RAM) and have been completely dissatisfied with the video editing capability in both Final Cut Pro and iMovie. FCPx is giving me all types of issues.  Compu

  • My ipad no longer shows up as a listed device on my computer

    Several days ago my computer received a Windows 7 update. Since then my ipad no longer shows up when I hit the Start button and go to "Computer". Up until recently it had been listed as a portable device. I switched USB ports, but that didn't help. I

  • After installing and opening a program it says it´s a Trial

    I´ve installed Adobe Creative Cloud on a new computer.  After opening Acrobat reader the Trial window opened_30 days.  A 1 year licence was purchased. Already on my portable, i´ve been having troubles_it´s to be the 2nd user.  At the time of consider

  • Db2 Update Failed at the 6th Occurrence

    <p>We have a program that updates a Db2 table and always fails atthe sixth element of an array.  </p><p> </p><p>The new data is loaded into an array from a different procedure.When it comes to the update procedure, it loops through that arrayand do a

  • Won't recognize my ereader/nook

    I got a new nook and now digital editions won't recognize it when I plug in. With my old device it just popped up, but now, nothing. I even uninstalled and reinstalled. What do I do?