title: Java X Y coordinates
body: <p>Hi I have been working on a Monopoly project for a couple of days now in order to improve my coding in Java.</p>
  
  <p>Most of the board was done using the paint method and I had a hard time calculating where to position each square.I know it's not probably a good ideea to create a board this way I have been told by a friend but this is my first  big project in Java and as a programmer and I wana see what comes out of been from my own ideeas.</p>
  
  <p>My next order of busines would be to set the positions of each piece while the players travers it and I am in  need of x y coordinates again.I should also mention I am using the SWING library for the GUI.</p>
  
  <p>What I want to know if there is a way to get the xy cordinates of the interface while moving </p>