Thi should work but is not. (Longish code Sorry :))

Hi I am using a ArrayList that can be set to various other arrayList values according to what commant is sent to the BL of my application. I know I am doing something wrong coz if I return the phonlist alone in my getList method by making the modifiedList equal to the phonelist i get the correct output. However I now try make the list variable equal to the phoneList in my createNew() and then i try set the modifiedList variable to the value of the list variable. It does not work.
Declaration in class
ArrayList<Person> phoneList = new ArrayList<Person>();               // To hold all the contacts
     ArrayList<Person> searchList = new ArrayList<Person>();               // To hold all contacts that return true on search
     ArrayList<Person> list = new ArrayList<Person>();
     final int maxLength = 10;                                                  // To be used as a boundary value for the Strings enteredWhere I set the list to be the value of the phoneList in my createNew()
public void createNew()
     { // start of createNew()
          Person p = new Person();
          boolean validNewEntry = true;                                        // A boolean that determines if the ArrayList must be updated
          int count = 0;                                                            // Counter used in loop
          int homeNum, workNum, cellNum =0;                                   // To be used in a try statemant to test validity
          //Get new Contacts name
          String newName = JOptionPane.showInputDialog(null,"Please enter new contacts name or press cancel to exit.");
          if(newName == null)
               finish();
          //If no name was enetered warn and try again
          if(newName.length() <= 0)
               JOptionPane.showMessageDialog(null,"You may not enter a empty name. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
               validNewEntry = false;
               createNew();
               return;
          //If name was enetered and it's length was greater then 10 chars long
          //Retry and warn as this will lead to a faulty layout in the GUI
          if(newName.length() > 10)
               JOptionPane.showMessageDialog(null,"You may not enter a name longer than 10 characters. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
               validNewEntry = false;
               createNew();
               return;
          //Get the new contacts surname
          String newSurname = JOptionPane.showInputDialog(null,"Please enter the new contacts surname or press cancel to exit.");
          if(newSurname == null)
               finish();
          //If the surname is greater than 10 chars long
          //Retry and warn as this will lead to a faulty layout in the GUI
          if(newSurname.length() > 10)
               JOptionPane.showMessageDialog(null,"You may not enter a surname longer than 10 characters. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
               validNewEntry = false;
               createNew();
               return;
          //If there was no surname entered check and make sure that they want a whitespace value for the surname.
          if(newSurname.length() <= 0)
               int answer =JOptionPane.showConfirmDialog(null,"Are you sure you wish to leave the surname blank for new contact?","No date entered",JOptionPane.YES_NO_OPTION);
               if(answer == JOptionPane.NO_OPTION)
                    validNewEntry = false;
                    createNew();
                    return;
               else
                    validNewEntry = true;
          //Get the new contacts home number if there is one
          String newHome = JOptionPane.showInputDialog(null,"Please enter the contacts home number or press cancel to exit.");
          if(newHome.length()> 0)
               try
                    homeNum = Integer.parseInt(newHome);
               catch(Exception e)
                    JOptionPane.showMessageDialog(null,"You may only use numbers for a valid phone number. Please try again","Error",JOptionPane.ERROR_MESSAGE);
                    validNewEntry = false;
                    createNew();
                    return;
          // If there is a new pone number make sure that it is not longer than 10 characters
          // This may be changed as this is only correct in South Africa where phone number are not longer than 10 characters
          // If Data is changed please ensure to increase the spacing int the Layout
          if(newHome.trim().length()> 10)
               JOptionPane.showMessageDialog(null,"You may not enter a number longer than 10 digits long. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
               validNewEntry = false;
               createNew();
               return;
          // Get the new work number if there is one.
          String newWork = JOptionPane.showInputDialog(null,"Please enter the contacts work number or press cancel to exit.");
          if(newWork.length()> 0)
               try
                    workNum = Integer.parseInt(newWork);
               catch(Exception e)
                    JOptionPane.showMessageDialog(null,"You may only use numbers for a valid phone number. Please try again","Error",JOptionPane.ERROR_MESSAGE);
                    validNewEntry = false;
                    createNew();
                    return;
          // If there is a new pone number make sure that it is not longer than 10 characters
          // This may be changed as this is only correct in South Africa where phone number are not longer than 10 characters
          // If Data is changed please ensure to increase the spacing int the Layout
          if(newWork.trim().length()> 10)
               JOptionPane.showMessageDialog(null,"You may not enter a number longer than 10 digits long. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
               validNewEntry = false;
               createNew();
               return;
          // Get new cell number if there is one
          String newCell = JOptionPane.showInputDialog(null,"Please enter the contacts cell number or press cancel to exit.");
          if(newCell.length()> 0)
               try
                    cellNum = Integer.parseInt(newCell);
               catch(Exception e)
                    JOptionPane.showMessageDialog(null,"You may only use numbers for a valid phone number. Please try again","Error",JOptionPane.ERROR_MESSAGE);
                    validNewEntry = false;
                    createNew();
                    return;
          // If there is a new pone number make sure that it is not longer than 10 characters
          // This may be changed as this is only correct in South Africa where phone number are not longer than 10 characters
          // If Data is changed please ensure to increase the spacing in the Layout
          if(newCell.trim().length()> 10)
               JOptionPane.showMessageDialog(null,"You may not enter a number longer than 10 digits long. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
               validNewEntry = false;
               createNew();
               return;
          // Check to see if contact is not a duplicate
          for(Person c: phoneList)
               c = phoneList.get(count);
               if((c.name).equals(newName.trim().toUpperCase())&&(c.surname).equals(newSurname.trim().toUpperCase()))
                    JOptionPane.showMessageDialog(null,"You may not enter duplicate contacts. \nPlease abbreviate or change the contacts name/surname.","Error",JOptionPane.ERROR_MESSAGE);
                    validNewEntry = false;
                    createNew();
                    break;
               count ++;
          // If there were no phone numbers at all then set boolean to false as no point in adding a entry without numbers to a phonebook
          if((newHome.length()<=0) && (newWork.length()<=0) && (newCell.length()<=0))
               JOptionPane.showMessageDialog(null,"You have not entered any phone numbers for "+newName+" "+newSurname+"\nThis phonebook only accepts new entries with at least one phone number.\nPlease try again!","Error",JOptionPane.ERROR_MESSAGE);
               validNewEntry = false;
               createNew();
               return;
          //If all data entered was valid then try add it to the ArrayList
          if(validNewEntry == true)
               try
                    p.name = newName.trim().toUpperCase();
                    p.surname = newSurname.trim().toUpperCase();
                    p.home = newHome.trim();
                    p.work = newWork.trim();
                    p.cell = newCell.trim();
                    phoneList.add(p);
               catch(Exception e)
                    JOptionPane.showMessageDialog(null,"Could not add contact. If problem persists Please call the system Administrator.","Information Message",JOptionPane.INFORMATION_MESSAGE);
          list = phoneList;
     } // end of createNew()and lastly my getList() that returns the list to the GUI
public ArrayList<Person> getList()
          ArrayList<Person> modifiedList = new ArrayList<Person>();
          modifiedList = list;
          return modifiedList;
     }Like I said it works if I do this....
public ArrayList<Person> getList()
          ArrayList<Person> modifiedList = new ArrayList<Person>();
          modifiedList = phoneList;
          return modifiedList;
     }

I haven't read everything yet, but looking at that code at the bottom:
public ArrayList<Person> getList()
          ArrayList<Person> modifiedList = new ArrayList<Person>();
          modifiedList = phoneList;
          return modifiedList;
     }That first line in the method where you create a new ArrayList<Person>() doesn't do anything, since you just point modifiedList to phoneList in the next line anyways. This would do the same thing:
public ArrayList<Person> getList() {
    ArrayList<Person> modifiedList = phoneList;
    return modifiedList;
}Or, looking more closely at what you're doing:
public ArrayList<Person> getList() {
    return phoneList;
}

Similar Messages

  • Handling events in subvis - think this should work but it doesn't.

    In part of a large project I need to handle key down events, but elsewhere I need to handle them differently and want to be able to dynamically register and unregister them in each location. I also want to be able to put one of the event handlers in a subvi. To quote the Help system, "Dynamically Registering Events: With dynamic registration, you can handle events in a subVI rather than only in the VI where the events are generated."
    ViThatHandlesEvents.vi handles key down events. It uses dynamic event registration to demonstrate that it works (though in this simple example it isn't necessary).
    ViContainingSubviThatHandlesEvents registers key down events and passes this to KeyDnEventHndlrSubVI. I thought it would work but it doesn't.
    Attachments:
    KeyDnEventHndlrSubVI.vi ‏14 KB
    ViThatHandlesEvent.vi ‏22 KB
    ViContainingSubviThatHandlesEvent.vi ‏18 KB

    cebailey wrote:
    Here's a version with Panel > OwningVI > Key Down selected in the nodes that register events. It seems to do what I want. It acts on keystrokes that occur when the cursor isn't even over the parent's window, which is good in my situation. I made these choices by experimenting - is this a good approach, if I want to act on all the keystrokes that occur when the parent VI has focus?
    As you noted, this will have the event structure respond to keypresses whenever the parent VI is active. You can simplify the subVI by simply wiring the "VI Refnum" terminal directly to the Register for Events node. Getting the Panel, and then the Owning VI simply gets you back to where you started.
    That's a valid way of doing it, and I'm assuming that this is intended to be a test case. As you noted you have a large project, so I don't know what your overall architecture is, or how you intend to use this technique, so I can't really say whether it's a "good" approach. It's an approach.
    Say, I should have said this before, but you have to be pretty good to answer the question somebody should be asking, especially in brief forum postings.
    Thanks for the compliment. It's just a matter of seeing a lot of code and a lot of questions. I'm only a teenage pup compared to the real veterans on this board.

  • This should work but it doesn�t Please can someone tell me why !!!

    I have really trid to get this code to work.
    Please an some help me with find out why it will not work.
    void NewShoeOrderjButton_actionPerformed(ActionEvent e) {
       String check = TitleComboBox.getSelectedItem()+" "+FirstNameJText.getText()+" "+LastNameJText.getText();
       if (check !=null){
        return ;
        else
        String[] options = {"Yes", "Cancel"};
        String d= System.getProperty("line.separator");
        int result = JOptionPane.showOptionDialog(null,
            "Do you really want to add a new shoe order for:"+ d +
            (String) TitleComboBox.getSelectedItem()+" "+FirstNameJText.getText()+
            " "+LastNameJText.getText(),"New Order",
            JOptionPane.YES_OPTION,
            JOptionPane.INFORMATION_MESSAGE,
            null,
            options,
            options[0]);
        switch(result){
          case JOptionPane.YES_OPTION: // Add your code for no
            setFieldsEditable(false);
            break;
          case JOptionPane.NO_OPTION: // Add your code for yes
            // just playing with button
            setFieldsEditable(true);
            break;
      if
        (check ==null){
        return ;
        else{
          JOptionPane.showMessageDialog( null,
                                          "There is no order", "No Order",
                                         JOptionPane.WARNING_MESSAGE);
      }

    Thank you for taking the time mate ;)
    This is he code changed with your code.
    when the title,first &last name is null it still only runs the 1st JOptionPanel and dosn't pass to the 2nd ??
    here is the code
      void NewShoeOrderjButton_actionPerformed(ActionEvent e) {
        String check=null;
        if(TitleComboBox.getSelectedItem() != null &&
           FirstNameJText.getText() != null &&
           LastNameJText.getText() != null)
          check=TitleComboBox.getSelectedItem()+FirstNameJText.getText()+LastNameJText.getText(); //the rest of the thing.......;
    //then you check "check":
        if(check != null){
          //show the first optionpane
          String[] options = {"Yes", "Cancel"};
          String d= System.getProperty("line.separator");
          int result = JOptionPane.showOptionDialog(null,
              "Do you really want to add a new shoe order for:"+ d +
              (String) TitleComboBox.getSelectedItem()+" "+FirstNameJText.getText()+
              " "+LastNameJText.getText(),"New Order",
              JOptionPane.YES_OPTION,
              JOptionPane.INFORMATION_MESSAGE,
              null,
              options,
              options[0]);
          switch(result){
            case JOptionPane.YES_OPTION: // Add your code for no
              setFieldsEditable(false);
              break;
            case JOptionPane.NO_OPTION: // Add your code for yes
              // just playing with button
              setFieldsEditable(true);
              break;
        }else{
          //show the second optionpane
          JOptionPane.showMessageDialog( null,
                                         "There is no order", "No Order",
                                         JOptionPane.WARNING_MESSAGE);
      }

  • HT4199 I have a new iPhone 4s.  I have a home wi-fi network using Cisco Linksys2000 router with all settings per this article - phone will not see network if set to 5 GHz channel width - solution??  2.4 works but is not optimal with other devices in home

    I have a new iPhone 4s.  I have a home wi-fi network using Cisco Linksys2000 router with all settings per this article - phone will not see network if set to 5 GHz channel width - solution??  2.4 works but is not optimal with other devices in home (computers; tivo).  Have others seen this?  Any advice is much appreciated.

    Stephen Spark is right - your best alternative is to use a simultaneous dual band wireless router like the AirPort Extreme. Your Cisco Linksys2000 is not a dual band router, meaning that it will be constrained to operate at the slowest speed of all the devices on your network.
    The AirPort Extreme's dual networks will support all your 802.11n devices as well as all your 802.11b/g devices on both the 2.4 and 5 GHz frequencies simultaneously.

  • While using Illustrator or Photoshop I seem to be hitting a shortcut to lock my key board. Other shortcuts work but can not type anything?

    While using Illustrator or Photoshop I seem to be hitting a shortcut to lock my key board. Other shortcuts work but can not type anything?

    You are planning to do a number of things, so let me first make a suggestion about the overall approach. Instead of: "Before I make a clone of my hard drive I would like to fix this problem so I only have one account with everything in it but I do not know what to move ... or how to safely move it", I would make that clone immediately. And leave it alone until you have completed the reconfiguring and rearrangements you plan to do. This way, if you accidentally do something that needs to be undone, your clone is there with all the originals. By the way, this is the approach I always adopt, whenever I have to do anything drastic with an existing installation.
    After all the rearranging etc. of the main drive you just make a new clone that erases the previous one.
    The "Deano" account doesn't show up when I go to System Preferences:Accounts. So I assume I must have done something wrong.
    This would suggest to me there is only one account, i.e. the principal, or Admin account. Why do you think there is a second account?
    Where should I keep all my work files?
    You can keep them where ever it is most convenient. As you know, you can create folders within folders, and there is nothing special about the Documents folder. Feel free to ignore it, if that's the way you want to work. You can direct your downloads, the default "save to" locations etc. to the appropriate places, as you work.
    Can I create a new place for all my work files and just move them? I know I will have to update linked files within the various software packages but this is not a problem.
    By all means.
    .. can it be directly on the HD like my Applications folder etc.?
    Indeed, yes. Or even on a different hard drive (or partition of the same drive).
    And best wishes for the new year, to you too.

  • The Power Supply Fan is still working, but does not appear to respond to increased loads, and its speed cannot be increased using SMCFanControl. Any suggestions?

    Hi all - My mac pro 1,1 has an enigmatic problem. It's quad-core, 3Ghz, running OS X 10.7.5. The problem began some months back, when running HD video conferences, HD streaming videos and some other graphics-moderate (I won't say intense) uses, such as slide shows in Just Looking. My machine has an ATY, RadeonX1900 card and 2 monitors - both Apple displays, one being 30 inch 2560x1600, the other being 24 inch 1920x1200.
    When I start those types of graphics-moderate apps, after about 5 minutes, something would crash (the monitors making a noise as it did) and the displays would both go black. The power did not appear to be fully cut off from the monitors. I think that the underlying applications, however, did not crash. So, I could still hear and speak to people during video conferences, and I could hear the sound tracks of videos.
    Attempts to restart the computer and get the monitors back did not immediately work to undo the problem, if done straight away. The only way to correct the problem (so as to have the monitors work) was to wait for a few minutes and then restart.
    After a lot of puzzled looking at console logs (and I confess that I am not an expert), I ran into a blank.
    But, because of the timing of the crashes (after ~5minutes use) and restarts (after some minutes wait), I reasoned that the problem might be temperature related.
    Once on that path of thought, I found this article:
    http://worldtv.com/blog/guides_tutorials/fixing_an_overheating_mac_pro_no_expens e_required.php
    I installed both Temperature Monitor and SMCFanControl. And I experimented, and got interesting results:
    Now to the puzzling bit: SMCFanControl shows that the speed of the Power Supply Fan doesn't vary much, even if I use SMCFanControl to ramp fan speeds right up. All of the other fans react to SMCFanControl, going up to and above 2500rpm when commanded. But the Power Supply Fan does not.  Having watched it for a few days now, the Power Supply Fan, according to AFCFanControl, never varies outside of a range from about 600-640 rpm, regardless of what I do with AFCFanControl.
    Also (and not surprisingly), whenever the graphics-moderate apps run, when I ramp all the fan speeds up using SMCFanControl, Temperature Monitor shows that the all of the temperatures within the machine plummet, except in the power supply locations. Power Supply Location 2 is the worst affected. Because the Power Supply Fan does not react as the other fans do, the "crashes" still occur.
    I could post some screen shots of the read outs of SMCFanControl and Temperature Monitor, although I think I have covered the key points in this post.
    It seems that the Power Supply Fan is still working, but does not respond to increased loads.
    Instinctively, I'm worried that if that's right, it might be a hard problem to fix. Any suggestions? Help! I would really appreciate them!
    Cheers
    P

    Thanks for your response Grant. I had already read about, and I think excluded, dust in graphics card/fan/assembly as a cause. The entire inside of the computer, including the graphics card/fan/assembly, is as clean as a whistle. It looks clean. I've cleaned the dust out every now and then (including a few days ago). Also, my undersanding (derived from the article, linked in my first post) is that I might expect to see high temperatures in the Northbridge and memory module B if the graphics card was overheating. According to Temperature Monitor, however, locations do not increase in temperature when I run the relevant apps. Finally, the graphics card/assembly does not feel too hot to touch.
    It is strange that SMCFanControl lists the Power Supply Fan as being software controllable, if that fan is not. Still, your comments are consistent with my observations, as the fan simply does not respond to software control.
    There are two upsides: First, I've something of a work-around. I've worked out what temperature must be achieved in Power Supply Location 2 for a crash to occur, and I can watch that location in Temperature Monitor, terminating the process before that treshold is reached. Of course, that's not ideal. Second, ramping all the other fans up does significantly delay the onset of the problem, and makes recovery time much quicker.
    Is there any donwside to peridically ramping up the other fans when running the relevant apps? Given that it causes all of the other locations to cool significantly, could this lessesn the life expecancy of the mahcine? (I don't want to run the fans up all the time - that's like sitting next to a jet ready for take off!)
    Also, a correction to my first post: Yesterday, with all the other fans running on full and running an HD streaming video, the Power Supply Fan did, eventually, slowly, come up to ~740rpm, which is much higher than the ~640rpm maximum I had previously seen, and this may have aided delaying the onset of the problem. 
    I'm not sure where this leaves me? The problem might now be able managed. Well, sort-of. But it's not eliminated.

  • When my iPhone is connected (via the Lightning cable) to the usb port in my car, the alert tones are no longer played through the car speaker or the phone.  This previously worked, but has randomly stopped working, help!

    When my iPhone is connected (via the Lightning cable) to the usb port in my car, the alert tones are no longer played through the car speaker or the phone.  This previously worked, but has randomly stopped working. help!

    I took my iPhone to the Service center of M/s RSG INFOTECH PRIVATE LIMITED on April 17, 2014.
    Why are you posting in this forum about what occured with an independent service provider?  How is is at all relevant to Apple??  In fact, service by any person or business not authorized by Apple voids any waranty.

  • My camera is working but does not work on skype how do I turn the camera on for Skype

    My camer is working but does not work on skype how do I turn the camera on.

    See this thread:
    https://discussions.apple.com/thread/5306216?tstart=0
    FIX: 
    1. You need Time Machine
    2. Go to folder /Library/CoreMediaIO/Plug-Ins/DAL/
    3. Copy AppleCamera.plugin to good place (usb memory stick is the best place).
    4. Go to Time machine in date that skype work fine.
    5. Change AppleCamera.plugin with file from Time Machine
    6. Restart system, Now skype need to work with camera.
    If that doesnt pass,
    Suggest looking here, much success has been found:
    http://community.skype.com/t5/Mac/OS-X-10-8-5-broke-Video-on-MacBook-Air/td-p/18 91729/page/4

  • USB Drives works, but does not show up in "Safely Remove Hardware"

    USB Drives works, but does not show up in "Safely Remove Hardware"
    windows 8 
    USB Drives works, but does not show up in "Safely Remove Hardware"
    Here are my symptom
    - USB Flash Drives , USB External HDD works normally
    - I can see them in "My Computer"
    - I can open "Safely Remove Hardware" via Run Command, but there is no device in the list
    - They show up as "Disk drives" in device manager
    - When I right click their icons in "My Computer", there is no option to "Eject" them
    - In "Disk Management", they show up as "Basic". Prior to this issue, they were "Removable"
    After I tested, it seems that my Vista detects every USB storage device as a normal HDD.
    I don't know why but I'd appreciate any help because I have to plug-in and remove those drives often, especially flash drives.
    Thank you

    Hello Mickey2003
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand you are having issues in Windows Vista with your USB Storage devices not showing up in the Safely Remove Hardware list. I am providing you with a link to a Microsoft Hotfix for this very issue titled An external USB storage device may not appear in the Safely Remove Hardware list in the notification.... I would recommend you review the KB document and ensure you a familiar with the Hotfix information and run the hotfix to resolve the issue you are experiencing.
    Please re-post if you require additional support. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • H800-30ea,USB Drives works, but does not show up in "Safely Remove Hardware"

    hi
    USB Drives works, but does not show up in "Safely Remove Hardware"
    Here are my symptom
    - USB Flash Drives , USB External HDD works normally
    - I can see them in "My Computer"
    - I can open "Safely Remove Hardware" via Run Command, but there is no device in the list
    - They show up as "Disk drives" in device manager
    - When I right click their icons in "My Computer", there is no option to "Eject" them
    - In "Disk Management", they show up as "Basic". Prior to this issue, they were "Removable"
    After I tested, it seems that my Vista detects every USB storage device as a normal HDD.
    I don't know why but I'd appreciate any help because I have to plug-in and remove those drives often, especially flash drives.
    Thank you

    Hello takpesar,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand you are having issues in Windows Vista with your USB Storage devices not showing up in the Safely Remove Hardware list. I am providing you with a link to a Microsoft Hotfix for this very issue titled An external USB storage device may not appear in the Safely Remove Hardware list in the notification.... I would recommend you review the KB document and ensure you a familiar with the Hotfix information and run the hotfix to resolve the issue you are experiencing.
    Please re-post if you require additional support. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • My problem is that one of the USB ports and the device does not detect this and inactive but can not find how to reactivate.Help me please! greetings thanks!

    Hello good evening, I have a MacBook Pro and my problem is that one of the USB ports and the device does not detect this and inactive but can not find how to reactivate.
    Help me please! greetings thanks!

    Do you have the Firefox new tab page but the actual sites are missing, or do you have some other page?
    If you have some different page, try the quick fix in Fred McD's reply.
    If the sites are missing, did you use the Reset feature? That will clear the storage associated with the new tab page. I'm not sure it's possible to recover from that; you probably need to rebuild your page from scratch as you browse.
    For possible future reference, here is how to access the hidden setting for the page to display on new tabs:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''newtab''' and pause while the list is filtered
    (3) Double-click the '''browser.newtab.url''' preference and enter your preferred page:
    * ''Page thumbnails (default)'' => about:newtab
    * ''Blank tab'' => about:blank
    * ''Built-in Firefox home page'' => about:home
    * ''Any other page'' => full URL to the page
    Press Ctrl+t to open a new tab and verify that it worked. Fixed?
    Some gotchas:
    ''If Firefox won't let you edit this setting:'' you may have something called SearchProtect on your system.
    ''If Firefox lets you save your change but ignores it:'' one of your extensions may be overriding it. You can review, disable, and/or remove extensions on the add-ons page:
    "3-bar" menu button (or Tools menu) > Add-ons > ''in the left column click'' Extensions
    ''If the change works during your session, but at the next startup is back to an unwanted page:'' you might have a user.js file in your personal Firefox settings folder (your Firefox profile folder). This article describes how to track down and remove the file: [[How to fix preferences that won't save]].
    Any luck?

  • How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    You have to clear saved password for this page:
    # Open you login page (where you have to enter username and password).
    # Right click on page and select '''Page Info''' form context menu.
    # On last tab ('''Security''') there is '''View saved passwords''' button, click it and delete all saved passwords for this page.
    # Also clear all related cookies (just in case) there is button for this next to first one.

  • HT1495 My husband and I share an i cloud account but each have our own separate ipads. We were told this would work, but now I can't find a book that I've downloaded on my ipad anymore. Where would I find it?

    My husband and I share an i cloud account but each have our own separate ipads. We were told this would work, but now I can't find a book that I've downloaded on my ipad anymore. Where would I find it?

    You and your husband can share a store account and still have seperate iCloud accounts for your contacts, bookmarks and stuff like that.  Click here for instructions to make an apple account without entering a credit card.  Make sure you use a different email address for each apple account. 
    Set up your iPhone/iPad whatever using the new account for iCloud.  Then go into settings/store and sign in with your purchasing account, you may need to sign out of the other account.  To the best of my knowledge, your household is allowed to share purchased legally, someone please correct me if I'm wrong.
    Once you each have your own devices set to your own accounts you can set them to backup to that account and it will keep all your contacts seperate.

  • My i phone 4 is water damaged and it is working but network not shown so please help me

    my i phone 4 is water damaged and it is working but network not shown so please help me

    A replacement iPhone is usually a refurbished iPhone that has received new battery and case and repair of anything that may have been faulty.  The refurbished iPhone is indistinguishable from a new iPhone.  A number of the regulars on here prefer the refurbished Aplle products because they have been so thoroughly tested.
    A replacement iPhone is identical to the original, same color, capacity, and so on.

  • Why does Maverick mail no longer search properly? I used to search for a name and it would find it in All mailboxes. Now it sometimes works, but mostly not. Any solutions?

    Why does Maverick mail no longer search properly?
    I used to search for a name and it would find it in One or All mailboxes. Now it sometimes works, but mostly not. Any solutions?

    I would like to add that Comcast is my internet provider. Perhaps that is part of the issue although the Connection Doctor confirms the mail box is connecting to the internet. No other function processes when Connection Doctor program is used to find the source of the issue. I have read forum posts but am unable to find a way to get my Apple mail to be delivered to my computer. It worked fine up until I chose to transfer mail to the Cloud. My mail account is a .mac account.
    Still hoping someone out there can help me.
    thanks,
    anne

Maybe you are looking for

  • Manual Posting with Automatic Line Items

    Hi Experts, Can any body explain me how to post manual JV with FS item which we maintain in Selected Items. Because my scenario is transfer Net Income value of a cons unit to MI P&L Account. When i tried it with reclassification having method layout

  • Email address / phone for reporting download problems?

    I've been unable to successfully download ANY 9i database files from three different networks (T1, T3, cable modem), three different PCs, Windows or Linux, Netscape 4.7 and 6.2 and IE 5 and 6, for the past 5 days. No error message comes up. The downl

  • Multiple ClassDescriptionTable in .fr

    Hi, I need to include a .fr file within another .fr file. I have a requirement where I need to keep one of the dialog box and it's implementation files separate from the current plug-in code that doesn't mean that I need to have a separate plug-in bu

  • New iMac keeps freezing / crashing

    My new iMac, which was absolutely fine for several months after I bought it last Autumn, is getting to the point of being almost unusable. It freezes / crashes (annoying spinning beachball) doing the most simple of tasks (e.g saving files, in Entoura

  • Need a pro's advice - 3D and annimation of Illustrator files in AE CS5

    I'm using CS5 and I'm routinely using Illustrator logo files in product videos that I'm editing, and I'd like to add more features to the video, but I can't seem to find answers to what I assumed would be a pretty common situation. I'd like to add so