Bouton test = new Bouton();

int x = MouseInfo.getPointerInfo().getLocation().x;
int y = MouseInfo.getPointerInfo().getLocation().y;


int xLoc = test.getLocationOnScreen().x;
int yLoc =...