bug using the list and treeset

I have a problem in the real world where I get a list of the retail store and get the distance of the starting places group and a location closest to you find the 10 for each starting locations. I'm back from getdata a list of stores loop in each store and calculate the distance and put them in a treeset for sorting. Problem is when the second set of data is added to the treeset that the original game is replaced with a duplicate of the second set. a very simple test for this case is:
package treeset;

import java.util.Comparator;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.TreeSet;

import java.io.Serializable;

//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// Class TreeSetExample
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/**
 * The TreeSetExample demonstreates a odity in the sorting of list using a treeset
 *
 * @version 1.0, 04/06/2011
 * @author  Douglas Nelson
 * @author  copyright Oracle 2011
 * @author  Unauthorized use, duplication or modification is strictly prohibited.
 */
public class TreeSetExample extends Object {
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// start constructor
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/**
 * Constructs a TreeSetExample object
 */
public TreeSetExample() {

} // end constructor
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// start getData
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/**
 * getDatea
 */
public List<SimpleVO> getData() {

   List<SimpleVO> returnList = new LinkedList<SimpleVO>();

   SimpleVO simpleVO = null;

   for (int i = 0;i < 5;i++) {

      returnList.add(new SimpleVO());

   } // end for

   return(returnList);

} // end getData
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// start runTest
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/**
 * runTest - Test the insert sorting of a tree set with a list of data
 * @param loopCount number of time to load data into the saveset
 */
public void runTest(int loopCount) {

   List<SimpleVO>    simpleList   = getData();
   SimpleVO          simpleVO     = null;
   TreeSet<SimpleVO> saveSet      = new TreeSet<SimpleVO>(new simpleComparator());
   SimpleVO          tempSimpleVO = null;

   Iterator<SimpleVO> iterator      = null;
   Iterator<SimpleVO> printIterator = null;

   int id = 0;

   for (int i = 0; i < loopCount;i++) {

      iterator = simpleList.iterator();

   //--------------------------------------------------------------
   // for each of the user's zip codes find the distance to the RSL
   //--------------------------------------------------------------
   while (iterator.hasNext()) {

      simpleVO = iterator.next();

      id ++;

      simpleVO.setName("" + id);

      saveSet.add(simpleVO);

   } // end while

   //--------------------------------------
   // print saveset at the end of each load
   //--------------------------------------
   System.out.println("list count after loop [" + (i + 1) + "] number of elements = [" + saveSet.size() + "] contents:");

   printIterator = saveSet.iterator();

   while(printIterator.hasNext()) {

      tempSimpleVO = printIterator.next();

      System.out.println(" save simpleVO name = [" + tempSimpleVO.getName() + "]");

   } // end while

   } // end For

} // end runTest
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// start main
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/**
 * IbotMailParser main thread
 * @param arg standard main input string array.
 */
public static void main(String[] arg) {

   System.out.println("Main - Started");

   try {

      System.out.println("*************** starting test 1 *********************");

      TreeSetExample treeSetExample = new TreeSetExample();

      treeSetExample.runTest(1);

      System.out.println("\n");
      System.out.println("\n");
      System.out.println("*************** starting test 2 *********************");

      treeSetExample.runTest(2);

   } // end try
   catch (Exception any) {

      System.out.println("Exception [" + any.getMessage() + "]");

   } // end catch

   System.out.println("Main - we gone bye-bye...!");

} // end main
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// Class SimpleVO
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/**
 * The SimpleVO is a value object pattern used for this example
 *
 * @version 1.0, 04/06/2011
 * @author  Douglas Nelson
 * @author  copyright Oracle 2011
 * @author  Unauthorized use, duplication or modification is strictly prohibited.
 */
public class SimpleVO extends Object {
   /**
    * Default user name for Oracle connection.
    */
   private String name = "";

   //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   // start getName
   //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   /**
    * Returns the name value associated with this attribute
    *
    * @return String - the Name parameter
    */
   public String getName() {

      return(name);

   } // end getName
   //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   // start setName
   //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   /**
    * Sets the name value for this attribute
    *
    * @param newName the Name to be set
    */
   public void setName(String newName) {

      if (newName != null) {

         name = newName.trim();

      } // end if

   } // end setName

} // end SimpleVO
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// Class simpleComparator
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/**
 * The SimpleComparator is a comparator object used for sorting simple value objects
 *
 * @version 1.0, 04/06/2011
 * @author  Douglas Nelson
 * @author  copyright Oracle 2011
 * @author  Unauthorized use, duplication or modification is strictly prohibited.
 */
public class simpleComparator implements Comparator<SimpleVO>, Serializable {

   //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   // start getName
   //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   /**
    * Returns the name value associated with this attribute
    *
    * @return String - the Name parameter
    */
   public int compare(SimpleVO simpleVO_1, SimpleVO simpleVO_2) {

      return(1);

   } // end compare

} // end SimpleComparator

} // end class TreeSetExample
output:

c:\treeset > java treeset. TreeSetExample
Hand - started
from test 1 *.
County from the list after several loop [1] items = [5] content:
you save simpleVO name = [1]
you save simpleVO name = [2]
you save simpleVO name = [3]
you save simpleVO name = [4]
you save simpleVO name = [5]

from test 2 *.
County from the list after several loop [1] items = [5] content:
you save simpleVO name = [1]
you save simpleVO name = [2]
you save simpleVO name = [3]
you save simpleVO name = [4]
you save simpleVO name = [5]
County from the list after several items loop [2] content = [10]:
you save simpleVO name = [6]
you save simpleVO name = [7]
you save simpleVO name = [8]
you save simpleVO name = [9]
you save simpleVO name = [10]
you save simpleVO name = [6]
you save simpleVO name = [7]
you save simpleVO name = [8]
you save simpleVO name = [9]
you save simpleVO name = [10]
Hand - we go... Bye Bye!

Published by: EJP 07/04/2011 10:44: Add code tags. Please use them.

Here, I added a string comparison. TreeSet stil works.

package scratch;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

public class TreeSetWorks {
  public static void main (String[] args) throws Exception {

    List list = new ArrayList ();
    Set insertionOrderSet = new LinkedHashSet ();
    Set comparator1OrderedSet = new TreeSet (new SimpleVOComparator1 ());
    Set comparator2OrderedSet = new TreeSet (new SimpleVOComparator2 ());

    for (int i = 5; i <= 15; i++) {
      SimpleVO vo = new SimpleVO();
      vo.id = i;
      vo.name = "VO-" + i;
      list.add(vo);
    }

    System.out.println ("preshuffle list : " + list);
    Collections.shuffle (list);
    System.out.println ("postshuffle list : " + list);

    System.out.println ();

    for (SimpleVO vo : list) {
      insertionOrderSet.add (vo);
      System.out.println ("addded " + vo + " to insertionOrderSet : " + insertionOrderSet);

      comparator1OrderedSet.add (vo);
      System.out.println ("addded " + vo + " to comparator1OrderedSet : " + comparator1OrderedSet);

      comparator2OrderedSet.add (vo);
      System.out.println ("addded " + vo + " to comparator2OrderedSet : " + comparator2OrderedSet);

      System.out.println ();
    }

    System.out.println ("list                  : " + list);
    System.out.println ("insertionOrderSet     : " + insertionOrderSet);
    System.out.println ("comparator1OrderedSet : " + comparator1OrderedSet);
    System.out.println ("comparator2OrderedSet : " + comparator2OrderedSet);
  }
}

class SimpleVO {
  int id;
  String name;

  public String toString() {
    return name;
  }
}

class SimpleVOComparator1 implements Comparator {
  public int compare(SimpleVO vo1, SimpleVO vo2) {
    return
      vo1.id < vo2.id ? -1 :
      vo1.id > vo2.id ? 1 :
      0;
  }
}

class SimpleVOComparator2 implements Comparator {
  public int compare(SimpleVO vo1, SimpleVO vo2) {
    return vo1.name.compareTo (vo2.name);
  }
}

list                  : [VO-6, VO-5, VO-14, VO-7, VO-8, VO-11, VO-12, VO-15, VO-9, VO-10, VO-13]
insertionOrderSet     : [VO-6, VO-5, VO-14, VO-7, VO-8, VO-11, VO-12, VO-15, VO-9, VO-10, VO-13]
comparator1OrderedSet : [VO-5, VO-6, VO-7, VO-8, VO-9, VO-10, VO-11, VO-12, VO-13, VO-14, VO-15]
comparator2OrderedSet : [VO-10, VO-11, VO-12, VO-13, VO-14, VO-15, VO-5, VO-6, VO-7, VO-8, VO-9]

Tags: Java

Similar Questions

  • Cache.get (Object) when using the list and Arrays.asList as keys

    Hello

    I saw a problem when doing the cache.get (object) with the list. Here's my test.

    NamedCache cohCache = CacheFactory.getCache ("Test");

    Key is a list
    Key list = new ArrayList();
    Key.Add ("A");

    cohCache.put (key, 1);

    System.out.println ("Get with Arrays.asList:" + cohCache.get (Arrays.asList ("A")));
    System.out.println ("list:" + cohCache.get (key));
    System.out.println ("list is equal to Arrays.asList:" + Arrays.asList("A").equals (key));

    Actual output:

    Get with Arrays.asList: null
    List is equal to Arrays.asList: true
    Download list: 1

    Expected results:

    Get with Arrays.asList: 1
    List is equal to Arrays.asList: true
    Download list: 1


    Arrays.asList("A") and the key are equal but consistency does not return the value. I thought that, in cache.get (object) consistency returns if object.equals (key) is true.

    Any idea?

    Reg

    Fatou.

    Dasun.Weerasinghe wrote:
    Hello

    I saw a problem when doing the cache.get (object) with the list. Here's my test.

    NamedCache cohCache = CacheFactory.getCache ("Test");

    Key is a list
    Key list = new ArrayList();
    Key.Add ("A");

    cohCache.put (key, 1);

    System.out.println ("Get with Arrays.asList:" + cohCache.get (Arrays.asList ("A")));
    System.out.println ("list:" + cohCache.get (key));
    System.out.println ("list is equal to Arrays.asList:" + Arrays.asList("A").equals (key));

    Actual output:

    Get with Arrays.asList: null
    List is equal to Arrays.asList: true
    Download list: 1

    Expected results:

    Get with Arrays.asList: 1
    List is equal to Arrays.asList: true
    Download list: 1

    Arrays.asList("A") and the key are equal but consistency does not return the value. I thought that, in cache.get (object) consistency returns if object.equals (key) is true.

    Any idea?

    Reg

    Fatou.

    Hi Eric,.

    There is a slight misunderstanding in how you think that the works of coherence.

    For clustered caches Coherence does not return the value of the object key of equals to the key specified when caching, object instead, it returns When serialized forms of the key used to and used to get equal to one another.

    If you use no POF, then most of the time Java serialization is used to serialize the objects of key, and in any case if you don't use of POF, and the name of the serialized object class is in the serialized form.

    Now, the thing is that the key that you put in is a java.util.ArrayList. The key that you have tried to get with is a java.util.Arrays.ArrayList.
    It's two different classes, so the serialized forms that store the name of class implementation (which is true in this case) cannot be the same. So consistency is not going to put initially entrance the key that it uses (the serialized form) is actually different from the original key, so there is no entry for the key used in the get() method, and correctly you get back null.

    On the other hand, the two implementations ArrayList implement equals as defined in AbstractList, requiring not only the types of implementation of lists be the same, they apply just that the relation to the object is also a list, so two lists containing the same elements in the same order are equal as long as equals() on AbstractList is concerned, that's why your equals() check evaluates to true even if the types of implementation are different.

    Best regards

    Robert

    Published by: robvarga on May 2, 2012 11:44

  • Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but

    Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.

    I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?

    Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.

  • How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    Entries in the location bar drop-down list with a yellow star (blue on Mac) at the right end of the bookmarks.

    You can delete this an item marked with a bookmark that appear in the list, if you open this url in a tab and click on the yellow star in the address bar.

    This will open the "Edit this bookmark" dialog box and you can click on the delete button to delete the bookmark if you want to delete such an entry marked with a bookmark.

  • Question in cooperation with af:iterator and by program (add and delete records using the list)

    In our application, we try to add and delete records within a one: iterator lie to the backing bean list table.

    According to the feature remove should not fire any validation form so we are settign Remove button including the immediate property. And add can throw validation before adding a new record.

    Here the problem comes with button Delete with activated immeidate.  The deletions list action recording is removed from the collection list at the beacking bean, but after that the interface iterator partial page refresh user displays with bad Recordset. Some how instead of getting the last recordings of server of the user interface displays the previous local values for input components.

    For example: if I have 5 files in the list and delete record 2nd of collection. Backing bean (server side) the 2nd record is perfectly removal of list collection.

    On the user interface, the iterator 4 records are displayed as the size of the list is 4, but instead of 2nd record the last record is not rendered. According to my understanding, as deleting comme la suppression touche key is set immediately then the some how these recordings (genereted the Id of component runtime inside the i1: 0:it1 etc...) Apply request vandekerckhove is not updated gettign, Hene showing the old local values inplace of these components of entry and this behavior is only for input components.

    Can you suggest me a solution more come to the question above. Delete with immediate should unregister correspondent and only the record deleted if pannals UI.

    JSFF code

    <af:panelGroupLayout id="pgl1" binding="#{viewScope.formBB.mainPGL}">
            <af:iterator id="i1" value="#{viewScope.formBB.allEmployees}"
                         var="emp" rows="0" varStatus="vs"
                         binding="#{viewScope.formBB.iteratorBinding}">
              <af:panelFormLayout id="pfl1" maxColumns="4" rows="1" labelAlignment="top">
                <!--<af:outputText value="#{vs.index}" id="ot1"/>-->
                <af:inputText label="First Name" id="it1" value="#{emp.firstName}"
                              autoSubmit="true" required="true"/>
                <af:inputText label="Last Name" id="inputText1"
                              value="#{emp.lastName}" autoSubmit="true"
                              required="true"/>
                <af:commandImageLink text="Delete" id="cil1"
                                     immediate="true"
                                     actionListener="#{viewScope.formBB.deleteEmployee}">
                  <f:attribute name="index" value="#{vs.index}"/>
                </af:commandImageLink>
              </af:panelFormLayout>
            </af:iterator>
            <af:commandButton text="Add New Employee" id="cb1"
                              actionListener="#{viewScope.formBB.addNewEmployee}"/>
            <af:spacer width="10" height="10" id="s1"/>
    </af:panelGroupLayout>
    

    Delete the Action listener for the bean

    private List <Employee> allEmployees;
    public List getAllEmployees() {
            return allEmployees;
        }
        
    public void deleteEmployee(ActionEvent actionEvent) {
            int index = (Integer) actionEvent.getComponent().getAttributes().get("index");
            if(allEmployees != null && allEmployees.get(index) != null) {
                System.out.println("Emploeye Name:" + allEmployees.get(index).getFirstName());
                allEmployees.remove(index);
            }
            //AdfFacesContext.getCurrentInstance().addPartialTarget(mainPGL);
            AdfFacesContext.getCurrentInstance().addPartialTarget(iteratorBinding);
                
        }
    public void addNewEmployee(ActionEvent actionEvent) {       
            Employee addE = new Employee();
            if(allEmployees != null) {
                allEmployees.add(addE);
            }
            else {
                allEmployees = new ArrayList <Employee>();
                allEmployees.add(addE);
            }
            AdfFacesContext.getCurrentInstance().addPartialTarget(mainPGL);     
        }
    

    Jdev version - Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493

    POC Application - https://drive.google.com/file/d/0BysBrGAsXoo0Qjh3VGkzZkRGck0/view?usp=downalod

    Help, please.

    You probably need to reset submitted values.

    For this, you can use this util class: ResetUtils (reference Java APIs for Oracle ADF Faces)

    For example: ResetUtils.reset (iteratorBinding);

    BTW, you should never bind components to bean managed with a scope greater than the scope of the request.

    Dario

  • Relationship between the list and ListField...

    Hey people of Java...

    I can't thank you enough for your answers because I'm really starting to "grok" the paradigm of Java.

    Another came today I'm having problems understanding I deconstruct this app MemoryDemo...

    In the screen of the demo is these two lines:

    Get and display the list of customers.
    _customerList = CustomerList.getInstance ();
    _customerListField = new MyListField (_customerList.getNumCustomerRecords ());

    Well, now I understand the first line perfectly. She develops an object with the contents of the customers it contains.

    The second line calls a custom ListField routine that I show below:

    the final private class MyListField extends ListField
    {
    public MyListField (int numEntries)
    {
    Super (numEntries);
    }

    }

    Here is the part that I don't understand:

    It seems to appeal to both the MyListField() and the super() is simply the NUMBER of elements required, but not * that * list to use.  Exactly how is MyListField() or super() knows how to use the list of customers?  I ask because this exact routine is used a few lines more later (in the part of the main screen) to do the same thing for a list of the records of the order - even once without any reference to which list to use.

    It doesn't seem to be an explicit connection or the relationship between the _customerList and ListField is building.  Is somehow deconstruct '_customerList.getNumCustomerRecords ()' to its root and use _customerList somehow?  I don't think that I changed the call to this:

    _customerListField = new MyListField (_customerList.getNumCustomerRecords ());
    _customerListField = new MyListField (PICK_A_NUMBER);

    Where the constant is: public private static final int PICK_A_NUMBER = 50;

    And he ALWAYS displays a list of customers (though now with only 50 files).  How to do know?

    Thanks in advance!

    -John

    "I guess that somewhere in the interior architecture of the ListField, he knows that he has to paint the whole - one at a time - when put on the screen - that's it."

    Fix.

    This is the great thing about ListField.  It attracts only those who are on the screen.  If you use ListField draw a list of 10,000 rows (I tested), and it will only extract and draw the 10 that he needs.

    "Again, I don't find any explicit loop where it is through each element and then calling drawListRow()."

    Good yet once, it is not there.

    "Maybe one day I'll be able to pay it back here."

    It would be great.

  • Using the list cited with in()

    I can't get this query to return results unless I manually put in a list of postcodes ('80918', '80917', '80920', '80902', '80922' ', 80907',' 80909 ', ' 80919')

    When I have the same fed list in a SQL variable adds additional quotes to the list and I get no results. What should I do to prevent this?

    declare
    @ZipCodes varchar (300)


    SELECT
    StoreName,
    Address,
    City,
    StateAbbreviation,
    Zip code
    Telephone number,
    Adresse_web
    Of
    CatholicStores
    JOIN THE
    States
    WE
    State_Pk = State_Fk
    WHERE
    PostalCode IN (@zipcodes)
    ORDER BY
    Zip code
    StoreName

    cfqueryparam handles quoting for you. delete all single quotes in: #attributes.zipcodelist # and use

  • How to use the capture and the print button

    I tried to figure out how to use the capture and the "print" button, or add or what you call. I press it and the whole page of a different color changes, so I try to cut the section I want but I don't know how to send it to the printer. Can someone help me with this. I'm not at savvy with tech stuff, but when I find a recipe or something and it doesn't have an option to print a certain area, I can't understand how to use it?

    Thank you

    Andi Starbuck

    That happens to me is, I click and drag to make a rectangle of yellow selection, and as soon as I raise my finger on the mouse button, the part I've selected is captured as an image, a new tab opens and preview before printing, the image display. I can use the installation of the Page or simply print. But if I close the preview, this temporary image vanishes and I'm back on the page where I started. You see something different?

  • I can't use the tab key to move to the next field or use the shift and tab to move to the previous field in the forms.

    After update to 7.0.1 I can't always use the tab key to move to the next field or use the shift and tab key to move to the previous field in forms. He has always worked in previous versions and it is essential for my type of work. Does anyone know of a setting to enable this? If this is not the case, can the developers of Firefox is working on this issue (please). I love Firefox but desperately need this feature to work properly. Thank you!

    No - because it works in Mode safe mode, this means an extension is probably to blame. See http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes

  • How many phone numbers can be connected simultaneously, use the most and merge buttons

    How many numbers phones can be connected at the same time, use the most and fusion of the buttons after you make the first call?

    It depends on your operator.

    It's been a few years since I've really looked into it, but I think that AT & T supports up to 5 concurrent calls. I know that other major U.S. carriers support less, but I don't remember the exact numbers. I want to say that Verizon and Sprint are in charge 3 and T-Mobile supports 2, but my memory on this subject is blurred.

    Contact your operator for more information.

  • My iMac cursor is stuck in the upper left corner of the login screen and I can't move it and now I can't use my iMac. What can I do? My iMac is a 27-inch 2014 release (one thin without retina display) and uses the keyboard and wireless mouse.

    My iMac cursor is stuck in the upper left corner of the login screen and I can't move it and now I can't use my iMac. What can I do? My iMac is a 27-inch 2014 release (one thin without retina display) and uses the keyboard and wireless mouse. It runs OSX Mountain Lion (not sure which version) and is a model 27 inches.

    have you tried to change the batteries in the mouse?

  • I use iphone 5 s updated to 9.2, but I can not use the network and call :( Please help me

    I use iphone 5 s updated to 9.2, but I can't use the network and call someone help me please

    What happens when you try to use the network?

  • I finished the installation of Sharepoint 2010 and he is told to use the username and password you loged on the server with does not work. What should I do to access the sharepoint URL?

    I finished the installation of Sharepoint 2010 and went through the Setup Wizard. It is said to use the username and password you loged on the server with does not work. What should I do to access the sharepoint URL?

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en-us/sharepoint2010general/threads

  • the window on my computer does not return to its original size and I can't use the max and min and exit button

    my window is too far to the right and ive tried to get to the original size and it will until a certain point to the left. This leaves me unable to use the max and min and exit tabs

    Hello

    1. What is the brand and model of the computer?

    2. is it a laptop or a desktop computer?

    3. the problem occurs after leaving the game or program?

    4 did you a recent software or changes to the material on the computer?

    Method 1:

    If this happens when you leave a game, I suggest you to follow the steps mentioned in the link and check.

    Open the troubleshooter of display quality

    http://Windows.Microsoft.com/en-us/Windows7/open-the-display-quality-Troubleshooter

    Method 2:

    I also suggest you go through the steps mentioned in the link and the Coachman.

    Change your screen resolution

    http://Windows.Microsoft.com/en-us/Windows7/change-your-screen-resolution

    Method 3:

    Step 1:

    I also suggest you to check if the problem persists in safe mode.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2:

    You can also check if the problem persists in a clean boot state.

    Clean boot:

    This could happen if one of the substantive programmes is in conflict with the proper functioning of your computer. To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7 http://support.microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 article to start the computer to a normal startup.

    Hope this helps and keep us posted.

  • Arrow keys on the keyboard. Try to use the keyboard and mouse.

    New Gateway laptop with windows 7. I play a lot of games online and I can't find anywhere how to change this, or if it's the phone or the operating system. When I try to play a game on IE with the arrows that they automatically stick causing the game almost impossible to play, also when you try to use the keyboard and the touchpad the touchpad locks when the keyboard is in use. Help, please.

    It is a known problem if all goes well with Flash and Internet Explorer.
    Source: http://social.answers.microsoft.com/Forums/en-US/vistagaming/thread/d006871e-4701-4e80-9062-197f28251ac5/

    The only thing you can do is use another browser until what Adobe fixes the problem.

Maybe you are looking for

  • Google Chrome tends to use more energy on MacBook Pro?

    I use Safari and Mozilla Firefox, but I wanted to see if Google Chrome is a good browser to be used on the MacBook Pro.  The Chrome browser uses a lot more power compared to the other 2?

  • Question about the card memory on the Satellite A200-1VO

    Satellite A200-1VO a slot memory, for example slot for SD memory card, but I cannot insert any memory cards, the fap does not even open.

  • Cisco Media Player will not play my media after Windows 7 upgrade

    Last week I upgraded my operating system to Windows Vista Ultimate 64 to Windows 7 Professional.  I own a player DMP-100 which is directly plugged in my G from Linksys WRT54GS wireless router.  My computer is also connected to the router, so this pro

  • No network available?

    Oke first I got windows 7 but I'm back to vista because I have not had enough ram for windows7. So I formatted and installed vista. When I try to connect to a network it says no networks availlable, wow that's weird with windows 7, I can find network

  • Noisy fan

    I know that this is not a hardware issue but my Toshiba laptop fan became very noisy, and I just wanted to know what who and where was the best place to get it repaired? pc repair shops to change or fix the fans? IIS is slowly getting stronger and I