Bonjour a tous,
J'ai un problème avec la localisation de ma souris quand je switch entre fullScreen et !fullScreen.
Voila mon code:
Merci de votre aide.
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 d'avance Joel...)
Partager