Bonjour a tous,
J'ai un problème avec la localisation de ma souris quand je switch entre fullScreen et !fullScreen.
Voila mon code:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
public int getMX(){ return MouseInfo.getPointerInfo().getLocation().x-getLocationOnScreen().x; }
public int getMY(){ return MouseInfo.getPointerInfo().getLocation().y-getLocationOnScreen().y; }
Merci de votre aide.
(Merci d'avance Joel...)