Delays in JList updates

I would like to let users know the application is still "working" when a JList is being populated.
Typically, I set an hourglass cursor, do some work, fill in the list, then go back to the default cursor. If I used a progress monitor and a thread, I think I would have the same problems.
1. Set cursor to wait
2. Go get data from DB, add items to JList
3. Set cursor to default.
The problem is, the wait cursor goes away when I am done populating the JList, but there is a long delay before the data is actually displayed. This happens regardless of the data model I use, either adding items one at a time, or dumping a vector into the model.
I would prefer the wait cursor to be displayed until the data is displayed, so the user knows things are still going on.
Any ideas as to why this happens, or how to enhance it?
thanks,

In experimenting, I added a paintImmediately() call inbetween steps 2 and 3. This held the wait cursor on until the data was displayed.

Similar Messages

  • How to delay an DB Update

    Hi,
    I would like to know if there is a possibility to delay an asynchronous update to the database?
    What I mean by that? I have changed or created some data in the UI, in my case in the CRM application, and than when saving, I am triggering the COMMIT WORK statement, not in the local task. So, the Update will be executed in the Update LUW, and the application can run forward without having to wait for the DB update.
    And now, without having to change coding, I would like to simulate a case where either the database connection is not available, or maybe all the Update LUW's are busy or others. How can I achieve this?
    To deactivate the update process using the tx sm13 is not an option to me, as this will effect all users. I would like to have a solution user dependent.
    Also, I could change my update function module, by adding an WAIT UP TO x SECONDS statement. But I would like to avoid this as well.
    Would appriciate any input...
    Enjoy your day,
    Erika

    Hi,
    Instead of using  WAIT UP TO x SECONDS  try to use inbackground task ..
    this will do the commit work at the end of program execution.
    if LUW fails the update also fails for your function module
    Regards,
    Prabhudas

  • Have delay to deliver updates to client in sccm 2012r2

    Hi 
    that's a few month that I'm working with sccm 2012r2 in order to keep my organization updated and patched .but the problem is after discovering a new computer and triggering that computer to get updates from SUP It doesn't show any updates in software center
    ,in fact after 2 hours those updates appear and start installing .I searched the internet a lot .all settings are right according to microsoft documents .recently I doubt to my automatic deployment rules .those rules are working fine but I think the delay
    could be because of the number of my rules ,I have 35 automatic deployment rules that start at the same time .this is the screen shot of the rules . is this configuration suitable ?
    if the number of update rule is too much what should to do with maximum number of updates in each rule(1000 update per each rule) ?
    thanks a million 

    Yes. That's a lot of update rules (as a side question, why are being so granular with them?); however, it has nothing to do with what you've described. Update Rules have nothing to do with enforcing updates on clients. ADRs merely create (or update) update
    groups, update packages, and update deployments. Update deployments perform the actual work of enforcing updates on clients. Also, there's no 1,000 updates per rule requirement. Update groups however are limited to 1,000 updates. Still, none of this truly
    has anything to do with what you've described.
    ConfigMgr is not an instant gratification system -- it is an enterprise client management tool and certain actions and activities take time to happen. Can you please walk us through *exactly* what you're doing when installing a new system including the timing
    and what your expectations are?
    Jason | http://blog.configmgrftw.com | @jasonsandys
    thank you very much .
    but my expectation is when I install a new os ,Sccm detect that as soon as possible and give client the updates asap again even when I use the Action tab in configuration manager Item in control panel.
    of course it detect my new client but it takes time to give them updates (about 2 hours).Before I was using wsus ,updates was sent to client and was installed immediately after client detection(of course using Check for Update in control panel).
    I want to decrease my rules .but whats the best solution and categorization ?now I have 4449 Updates in sccm database .
    in Update classification I just selected critical,security,rullup,update.
    I would be glad if you masters give me  a helpful solution .
    thanks

  • Delaying Endpoint definition updates by one week

    Hi,
    We would like to update our Endpoint Definitions with a one week-lag.
    I.e. the clients in our environment should never download definitions that were just released.
    Instead every definition update should be quarantined for one week, where we can perform tests in a non-production environment to be 100% sure that it does not impact our systems negatively.
    What is the easiest way to accomplish this? We are running Windows 7 and SCCM 2012 R2. 

    You should first configure SCEP NOT to download and install update automatically and only do it for one or few machines which you do testing. Once everything was fine, then you could do manual deployment every week.
    Or you could only add share folder as resource to deploy update and disable other sources and once you tested, download the latest definition from Microsoft Malware Protection Center and put it inside the share folder.
    For more information about updating definition, take a look at:
    https://technet.microsoft.com/en-us/library/jj822983.aspx
    Just I am wondering why you want to delay downloading definition? It is not recommended and might put your PCs at risk. If you are facing any compatibility issues with definition update and your programs, you may add those programs to exception list instead.

  • JList update

    Hi,
    I have a JList, for which I have a set of data represented as a queue, now, everytime I change the queue I fire an event to tell the list to update itself.., but the list won't.
    I have tried validate, revalidate and a few others, but so far the only way of doing this that I have been able to work with is:
         * This gets called when the queue is updated in order to update the display
         *@param ch The type of the change, one of CH_POP, CH_PUT or CH_PUSH
         *@param inx The index of the change
         *@param o The object put or removed to/from the queue
        private void change(int ch, int inx, Object o){
            queueList.setModel(new AbstractListModel() {
                public int getSize() {
                    return qc.size();    // qc = the queue object
                public Object getElementAt(int i) {
                    return qc.peek(i);
        }Anyone know a better way of doing this?
    thanks,
    david

    Here is one way of doing it. You just need to substitute your Queue implementation for the ArrayList.
    Or you could have your Queue extend AbstractListModel. Anyway...
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.util.ArrayList;
    import java.beans.PropertyChangeListener;
    import java.beans.PropertyChangeEvent;
    import java.awt.*;
    import java.awt.event.*;
    public class QueueList extends JFrame implements ActionListener
        Point point1 = new Point(10,10);
        Point point2 = new Point(10,10);
        Point point3 = new Point(10,10);
        Point point4 = new Point(10,10);
        JButton add, remove;
        ArrayListModel dataModel;
        int counter = 1;
        public QueueList()
            super( "Array*(Queue)  List Demo");
            setDefaultCloseOperation( EXIT_ON_CLOSE );
            Container content = getContentPane();
            ArrayList dataList = new ArrayList();
            for( int i = 0; i < 10; i++ )
                dataList.add( ""+counter++ );
            JList list = new JList( dataModel = new ArrayListModel( dataList ) );
            JPanel panel = new JPanel();
            panel.add( add = new JButton("Add") );
            add.addActionListener( this );
            panel.add( remove = new JButton("Remove") );
            remove.addActionListener( this );
            content.add( new JScrollPane( list ), BorderLayout.CENTER );
            content.add(panel, BorderLayout.SOUTH );
            pack();
            show();
        public static void main(String[] args)
            try
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            catch( Exception e )
            new QueueList();
         * Invoked when an action occurs.
        public void actionPerformed(ActionEvent e)
            if( e.getSource().equals( add ) )
                dataModel.add( ""+counter++);
            else if( e.getSource().equals( remove ) )
                dataModel.remove(0);
        public class ArrayListModel extends AbstractListModel
            ArrayList arrayList;
            public ArrayListModel( ArrayList arrayList )
                this.arrayList = arrayList;
            public int getSize()
                return( arrayList.size() );
             * Returns the value at the specified index.
             * @param index the requested index
             * @return the value at <code>index</code>
            public Object getElementAt(int index)
                return( arrayList.get(index) );
            public void add( Object obj )
                arrayList.add( obj );
                fireContentsChanged(this, this.getSize(),this.getSize());
            public void remove( int index )
                if( arrayList.size() > 0 )
                    arrayList.remove(index);
                    fireContentsChanged(this,0,0);
    }

  • IPhone suffers from massive SMS delays after recent update...

    I did a search and couldn't find similar symptoms...
    I'm getting massive delays intermittently between messages being sent to my phone and them actually being received at my end. Having been quite content with the performance of my iPhone 3G 8GB in the year and a half or so that I've had it, I naturally suspected that my carrier was as fault. I spent some time doing some tests with other phones I have lying around and had no such issues with the same sim card, messages arrive almost instantly. Other symptoms include, incessant messages declaring "could not activate cellular data network" randomly whilst not actually doing anything seemingly data related. Intermittent periods of "No Service", several backed up messages arriving as soon as someone rings me, often sent many hours previous.
    Sending SMS is just as difficult it often takes five or six attempts to get a message to send. Again, something that doesn't happen with different handsets using the same sim card.
    When I walk to the back area of my workplace I also get a glut of backed up delayed messages, seemingly because I'm connected to a different tower, but at the other end of the work place I have full reception and 3G. It's as though the phone can't handle the switch between different mobile cells. These delays occur outside my workplace as well, at 3am the other morning I received a glut of six messages I'd been sent at around 5pm the previous evening. I now have to tell people that sending me an sms is highly unreliable and they should ring me.
    With the 3.1 update my phone had all the reception issues that many people had to deal with, they where seemingly fixed with the 3.1.1 and 3.1.2 updates only to be replaced with a software package that stops me for being able to use my iPhone for SMS messages.
    Is there anything I can do to fix this?

    I did a search and couldn't find similar symptoms...
    Since you couldn't fine similar problems with a search, how can you come to the conclusion that Apple released a firmware update that affects your iPhone only?
    Since the problem is not with the SIM card, there is a chance your iPhone may have a hardware problem especially if there is no change after any of the standard troubleshooting steps which in order are power your iPhone off and on, an iPhone reset, restoring your iPhone with iTunes from your iPhone's backup, and restoring with iTunes as a new iPhone or not from your iPhone's backup.
    If no change after these troubleshooting steps, you can call AppleCare or make an appointment at an Apple store if there is one nearby.

  • JList update/paint problem

    I've got some problems with updating a JList. This code adds an element to the bottom of the list and makes it visible.
    Lines are added dynamicaly. It could be just 1 update a minute, but it could easely be 20 lines a split second...
    Sometimes the last line is not visible (shows line before lastline). And sometimes the list goes totaly blank, until the next repaint. I think it must be a syncro ploblem between various "repaint"-threads. I already made the add function syncronized, but that didn't help.
    Here's the code:
    //     DEFINITIONS
    JList list;
    DefaultListModel model;
    //     INITIALIZE
    model=new DefaultListModel();
    list=new JList(model);
    list.setDoubleBuffered(true);     //     same with or without dbfr
    add(new JScrollPane(list),BorderLayout.CENTER);
    //     ADD LINE
    public void add(Object obj){
         model.addElement(obj);
         list.ensureVisible(model.size()-1);
    }How to solve this?

    Just call ensureVisible(row) 2 timesThis may solve the problem, but it appears you still don't know the cause. Not sure, but this thread may help explain why you have the problem to begin with:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=437592

  • Why is Delay in email update?

    I have issues with my email send and receive, after i open lid of my mac book air my email is not updating right away most of time I have to go mail and get mails for each account

    Greetings,
    Unfortunately, E-Series DAQ devices do not support this feature (only the 2000 Series devices do). To implement a digital trigger delay, you will need to incorporate one of the counters from your board into your program. Below is a link to an example program, which demonstrates how to implement this functionality:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/48b32f37a196a6e38625661e007ce874?OpenDocument
    Good luck with your application.
    Spencer S.

  • Delay BUB1 mass updates. Is this possible?

    We enter mass BP updates using transaction BUB1. However, these updates are performed in real-time. This means that our BADI which triggers on a BP save is fired and the remote client system is updated, causing a clogging of the communications channels. I was wondering whether there's any way (ideally via config) of delaying the updates to the evening, or something like that ?.
    Anyone...
    Gary King

    Hi Gary,
    You can create a BDC in frontend where in you would enter the real time data and would create your required updates. Thereafter you can schedule the program as per your requirment.
    When you run BDC in frontend, you can enter data on screen as requried and it gets recorded as a program code. Thus, afterwards you jst need to schedule the program to run as per your scheduling.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Why won't my JList update?

    My JList is first dimensioned to an array with 100 elements in it but then in a function i set it to null and then I set it to a different array with a smaller amount of elements. Then i call repaint() to refresh the pane but it still doesn't change anything. The JList on my pane still shows the items in the old array. How do i fix this?

    you need to reset the listModel
    search the swing forum for
    listModel DefaultListModel
    and you'll find plenty of working examples

  • Updating a JList

    I can seem to load data into my JList that i create. using the code with no pane make the JList update but when i use it with JPane it won't update. Any ideas?
    Here the source code with most of unneeded stuff taken out
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.filechooser.*;
    import javax.swing.filechooser.FileFilter;
    import java.util.*;
    import java.io.*;
    public class JavaTest extends JPanel implements ActionListener {
        private LoadLog loadLogs = new LoadLog();
        private JList barcodeList;
        private  DefaultListModel barcodeModel;
        private JLabel barcodeLabel;
        private JFileChooser LogChoser;
        public JavaTest() {
            super(new BorderLayout(5, 5));
            barcodeLabel = new JLabel("Read Barcodes");
            barcodeModel = new DefaultListModel();
            barcodeList = new JList(barcodeModel);
            barcodeList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            JScrollPane barcodeScrollPane = new JScrollPane(barcodeList);
            JPanel listPane = new JPanel(new BorderLayout());
            listPane.add(barcodeLabel, BorderLayout.NORTH);
            listPane.add(barcodeList, BorderLayout.CENTER);
            JPanel list_desPane = new JPanel(new BorderLayout(5,5));
            list_desPane.add(listPane, BorderLayout.WEST);
            add(list_desPane, BorderLayout.EAST);
        public JMenuBar createMenuBar() {
            JMenuBar menuBar;
            JMenu menu;
            JMenuItem menuItem;
            menuBar = new JMenuBar();
            menu = new JMenu("File");
            menu.getAccessibleContext().setAccessibleDescription(
                    "Menu to load log file");
            menuBar.add(menu);
            menuItem = new JMenuItem("Load Log File", KeyEvent.VK_O);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O, ActionEvent.CTRL_MASK));
            menuItem.addActionListener(this);
            menuItem.setActionCommand("load");
            menu.add(menuItem);
            menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
            menuItem.addActionListener(this);
            menuItem.setActionCommand("exit");
            menu.add(menuItem);
            return menuBar;
        private static void createAndShowGUI() {
            JFrame.setDefaultLookAndFeelDecorated(true);
            JFrame frame = new JFrame("Field report producer");
            JavaTest menuBar = new JavaTest();
            frame.setJMenuBar(menuBar.createMenuBar());
            frame.setDefaultCloseOperation( JFrame.DO_NOTHING_ON_CLOSE);
            JComponent newContentPane = new JavaTest();
            newContentPane.setOpaque(true);
            frame.setContentPane(newContentPane);
            frame.addWindowListener(new WindowAdapter(){
               public void windowClosing(WindowEvent e){
                  int exit = JOptionPane.showConfirmDialog(null, "Do you want to exit?",
                                                                 "Quite Program?",
                                                                 JOptionPane.YES_NO_OPTION);
                  if (exit == JOptionPane.YES_OPTION)
                  System.exit(0);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        public void actionPerformed(ActionEvent e) {
           //Handle open button action.
            if ("exit".equals(e.getActionCommand()))
              exit();
            else if("load".equals(e.getActionCommand())){
               LogChoser = new JFileChooser(CurrentDirectory());
               LogChoser.setFileFilter(new FileFilter() {
                  public boolean accept(File f) {
                     return f.getName().toLowerCase().endsWith(".txt")
                            || f.isDirectory();
                  public String getDescription() {
                     return "Log files (*.txt)";
               int returnVal = LogChoser.showOpenDialog(JavaTest.this);
                if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = LogChoser.getSelectedFile();
                   ArrayList BarcodeLog = new ArrayList();
                   BarcodeLog = loadLogs.LoadLogFile(file.getAbsolutePath());
                   for (Iterator it = BarcodeLog.iterator(); it.hasNext(); ){
                      barcodeModel.addElement(it.next());
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
        private void exit()
         int exit = JOptionPane.showConfirmDialog(null, "Do you want to exit?",
                                                           "Quite Program?",
                                                           JOptionPane.YES_NO_OPTION);
              if (exit == JOptionPane.YES_OPTION)
                 System.exit(0);
        private String CurrentDirectory(){
           String directory = "";
           File dir1 = new File (".");
           try {
            directory = dir1.getCanonicalPath();
         catch(Exception e) {
           e.printStackTrace();
           return directory;
    import java.io.*;
    import java.util.ArrayList;
    import javax.swing.*;
    public class LoadLog
      private ArrayList BarcodeLog;
      public LoadLog()
      public ArrayList LoadLogFile(String FileName)
        BarcodeLog = new ArrayList();
        try
          FileInputStream fstream = new FileInputStream(FileName);
          DataInputStream in = new DataInputStream(fstream);
          while (in.available() != 0) {
            BarcodeLog.add(in.readLine());
          in.close();
        catch (FileNotFoundException e)
           JOptionPane.showMessageDialog(null, "File not found.", "Error", JOptionPane.ERROR_MESSAGE);
        catch (IOException e)
           JOptionPane.showMessageDialog(null, "Error Loading File.", "Error", JOptionPane.ERROR_MESSAGE);
       return BarcodeLog;
    }

    - if you're goin to add a pane then change this:
      listPane.add(barcodeList, BorderLayout.CENTER);into this:
    // JScrollPane must be added here instead of a JList
           listPane.add(barcodeScrollPane, BorderLayout.CENTER);

  • Delay in updating table

    Most of the time, it takes 1 ms to update myTbl using the sql "where myPrimaryKey = 'A123'".
    But, on 2 occasions this week, it took 522 ms and 242 ms.
    Below is the index fragmentation on myTbl on the 2 days that the delay occurred.
    In other days, I see avg_fragmentation_in_percent of PK__myTbl reached 96.969, but I don't see the delay in updating myTbl.
    If the avg_fragmentation_in_percent is high (like > 90%), will I see delay in all update, or just occassionally ?
    Thank you
    index_id name              avg_fragmentation_in_percent    fragment_count   avg_fragment_size_in_pages
    1            IX_myTbl       17.960088691796                       121                   
    3.72727272727273
    2            PK__myTbl     97.1428571428571                     35                     
    1
    index_id name             avg_fragmentation_in_percent      fragment_count   avg_fragment_size_in_pages
    1            IX_myTbl       41.0281280310378                     485                     2.12577319587629
    2            PK__myTbl     96.7741935483871                     62                      1

    Thank you for your reply.
    My sql statement is something like
    Update myTbl SET col1 = '', col2 = ''...WHERE myPrimaryKey = 'A123'"
    Below are the page count.
    Are these numbers considered less page counts ?
    index_id name         avg_fragmentation_in_percent   fragment_count    avg_fragment_size_in_pages   page_count
    1           IX_myTbl    17.960088691796                    121                     
    3.72727272727273                451
    2           PK__myTbl  97.1428571428571                  35                       
    1                                          35
    index_id name          avg_fragmentation_in_percent   fragment_count   avg_fragment_size_in_pages   page_count
    1           IX_myTbl    41.0281280310378                   485                     2.12577319587629                
    1031
    2           PK__myTbl  96.7741935483871                   62                     
    1                                            62
    The primary is Non Clustered indexed, but it is a varchar(50) column.
    When I perform the Update statement, this is the logical and physical read on the 2 databases that had the delay:
    Table 'myTbl'. Scan count 0, logical reads 12, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'myTbl'. Scan count 0, logical reads 5, physical reads 1, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'myTbl'. Scan count 0, logical reads 14, physical reads 2, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.

  • Delays on updating large vault in A3

    After updating A2>A3 I've successfully converted my several libraries, ranging in size from ~9>561 GB. The latter conversion took an overnight swath of time. Then I started on updating the backup vaults. Usually two per library, each located on a differing HD. Each successful, but slow. Waited with the big one until last. It was nearly midnight last night when I began, and I thought the timing would be similar. No way! According to the progress bar, it was ~65% after 10 hours, ~95% at 13 hours and now at almost 18 hours it looks like ~97%. Showing hardly any progress in the last 5 hours. Over time, I've watched the updated vault grow in size (in the HD location) to slightly larger than its non-updated pair. So, at the ~95% barrier and it has only added 1.2 GB in size over the last 5 hours. No spinning beach balls. Only a lack of real progress near the end. Why the terminal delay in vault update progress?

    i am seeing the same problem. updating the vault seems to take forever, it has been running for several days now and the Activity Monitor says Aperture is not responding, but it also shows data writes the the vault at about 4 MB/sec and the vault is growing, but very slowly. i am now trying it for the third time, it keeps crashing at different points in the creation of the Vault. I have tried all three repairs, repair permissions, repair database and rebuild database. the original conversion of my Aperture Library from V2 to V3 took close to 30 hours (175,000 images). i have a fast machine and fast disks attached via FW800.
    while some of the new features are nice the problems are staggering, did any of this stuff get tested?
    glenn

  • SoftWare Update NONFUNCTIONAL

    I originally posted at the end of EmDeeH's posting of 4/6/07. On the suggestion of Jpfresno, I am now initiating a new topic.
    I last successfully ran the Software Update application on 3/18/07 @ 10:07 AM when it installed iTunes 7.1.1, iPhoto update 6.0.6, and Mac OSX update 10.4.0 (Power PC).
    Since that update I have been unable to run Software Update. About 1/4 of the way through the progress bar, the progam crashes with the message that "the application Software Update unexpectedly quit." The options are the buttons: reopen [yields the same crash result], report [which I've done] and close [the only workable, if unacceptable option.]
    I will summarize what actions I have taken based on information learned from
    the EmDeeH thread.
    Actions taken in sequence:
    1. Restart Computer
    2. Repair permissions using Apple Disk Utility. Verify disk using Apple Disk Utility [Volume passed verification].
    3. Restart computer using different Start-up Volume.
    4. Run Apple Disk Utility.
    Passed verification. Repair: no repairs were necessary.
    Permissions: Remissions repair complete. The privleges have been verified or repaired on the selected volume.
    5. Remove to Trash 3 files: com.apple.softwareupdate.plist
    6. Empty Trash [securely].
    7. Restart computer.
    8. Run Software Update. Same crash experience.
    9. Restart computer.
    10. Run Micromat Tech Tool Deluxe. No repairs necessary.
    I then took the advice of Jpfresno to shut everything down and unplug. . . . . go for a walk . . . . restart after delay.
    SoftWare Update again crashes.
    How do I go about reverting to Mac OS 10.4.8? I have tried to reinstall the MacOS 10.4.9 update by downloading from apple.com. When the installer opens it asks to choose a destination volume. The icons for my volumes [HD and LaCie backup hard drive] display a red exclamation point indicating that they can not be used as a destination. I did remove a library receipt for the 10.4.9 pkg to see if that would allow me to reapply the update but it didn't work.
    I would greatly appreciate any advice, fixes, etc.
    Thanks for your suggestions Jpfresno . . . . . they just didn't do the trick.
    TRANSLATOR
    1.8 GHz Power PC G5   Mac OS X (10.4.9)  

    First, check out the following: http://docs.info.apple.com/article.html?artnum=106695. If this doesn't help resolve the problem then you can reinstall OS X using Archive and Install which will not erase the hard drive:
    How to Perform an Archive and Install
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • Javascript/AJAX - Show image whilst update is done and then hide it.

    I want to do an update with AJAX but I want a "waiting" image to display before the update and then hide afterwards. That way, if there is a delay in the update or a row lock, the screen doesn't just freeze, it shows a "please wait" icon.
    I am using code like this to save to the database when a field is de-selected (done for ease of testing):
    <script type="text/javascript">
    function deselect_field(f) {
      f.disabled=true;
      f.className=f.className + " saving";
      var v=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=SC_TEST',0);
      v.add(f.name,f.value);
      v.get()
      f.className=f.className.replace("saving"," ");
      f.disabled=false;
    </script>The saving class sets the background. I have tested this without the un-setting and it works fine. I think the issue is the ajax call is made too quickly, ie before the screen has had chance to update.
    SO - my question is, how can I have the image (moving gif) display whilst the AJAX call is processing and then hide it at the end?!
    Rather not use JQuery if possible.
    Thanks

    Hi,
    Thanks for the link. The issue I'm having now is that the process isn't firing (it's just updating a row in a table). Also, readyState of 4 never seems to get returned. I seem to get the call for readyState of 1 and then that's it. I've modified my code:
    <script type="text/javascript">
    var z;
    function deselect_field(f) {
      z=f;    
      var v=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=SC_TEST',0);
      v.add(f.name,f.value);
      v.GetAsync(f_async);
      v=null;
    function f_async() { alert(p.readyState);
      if (p.readyState==1) {
        z.disabled=true;
        z.className=z.className.replace("highlight_field"," ");
        z.className=z.className + " saving";
      else if (p.readyState==4) {
        z.className=z.className.replace("saving"," ");
        z.disabled=false;
    </script>As you can see, I have a debugging alert message in there. This only pops up the once with a value of "1".
    Any ideas?! Apart from using classes instead of displaying the HTML element, I can't see much else that is drastically different? Even so, I wouldn't have thought that would have any effect anyway?
    Thanks,

Maybe you are looking for

  • Sync iTunes on PC to my iPad no longer working

    I used to be able to sync my iTunes library on my PC to my iPad (wifi was a bit problematic at times but USB always worked) but now when I plug in a USB cable I get a warning popup on the PC.  It says the iPad cannot be used because it requires iTune

  • Nest AS3 swf into AS2 swf

    I purchased a flash template written in AS2, i have all files needed to customize this site, .fla, psd's you name it. I also purchased a photo gallery that is written in AS3 (did not know it was AS3 when purchased) . My question: is there any way to

  • IDocs are not transfering to XI

    Hi, When we create Shopping cart, in the back PO will create and it woould convert to IDoc and send to XI. But PO's are creating, IDocs are not reaching to XI, please let me know what would be the issue. Thanks

  • No video as the screen turns green.

    When trying to watch a video, as in tech support and movies,  the screen turns green.

  • Browsing Albums on 5th Gen Touch

    I just got a 5th generation touch. I had a 2nd generation touch so I'm familiar with the touch. When I browse through my music, under Artists or Songs I see an alphabetical list and that's great. But when I look under Albums right now it goes to the