title: e.getX(); does not work accurately
body: <p>So I have run into a problem where, when I read the mouse position and try to manipulate it everything goes to hell !</p>
  
  <p>Here is the code for this disaster.</p>
  
  <pre><code>public class LoadScreen implements MouseListener{
  
      int x,y;
      public void begin(Graphics g, JPanel def) {
          def.addMouseListener(this);
          Font font = new Font("Serif", Font.PLAIN, 50);
          g.setFont(font);
          g.drawString("Welcome to FaivaCodex's Live Interaction Game Shell", 30, 200);
          Font font2=new Font("Triplex",Font.PLAIN, 17);
          g.setFont(font2);
          g.drawString("Enjoy making your game, for any more gameshells you would like to be availible send an email to flaivaflaves@gmail.com ",  30, 230);
          g.fillRect(x-5,y-5,x+10,y+10);
  
      }
  
      @Override
      public void mouseEntered(MouseEvent arg0) {
          x=arg0.getX();
          y=arg0.getY();
      }
  
      @Override
      public void mouseClicked(MouseEvent arg0) {
  
      }
  
      @Override
      public void mouseExited(MouseEvent arg0) {
  
      }
  
      @Override
      public void mousePressed(MouseEvent arg0) {
  
      }
  
      @Override
      public void mouseReleased(MouseEvent arg0) {
  
      }
  
  }
  </code></pre>
  
  <p>And there is an image of what it produces but I cant post images yet. What I want is 10*10 pixel box where the mouse is, but what I can tell you is....This rectangle is huge.</p>