title: JList - locationToIndex() always returning the same index for mouse location in thread
body: <p>I'm testing around a bit with JLists and I wanted a little window to pop up on MouseEnter and show the content of the list entry the mouse was hovering over; also the window disposes on MouseExit.<br>
  So far this worked great, but for it to update the mouse has to exit and re-enter.  </p>
  
  <p>Now I wanted to make it work in a parallel Thread and update the window all the time, so it would change without me having to exit first, and tried this:</p>
  
  <pre><code>     public void run() {
              while (!Thread.interrupted()) {
                  Point p = MouseInfo.getPointerInfo().getLocation();
                  String text = list.getModel().getElementAt(
                          list.locationToIndex(p));
                  lab.setText(text);
              }
  </code></pre>
  
  <p>But it always only shows the content of the last entry in the list, no matter where the mouse is.<br>
  If I print out <code>text</code>it's always the same content, even though the mouse position changes.  </p>
  
  <p>What am I doing wrong?</p>