Caps Lock
Fermé
@Hrm
Messages postés
9
Date d'inscription
jeudi 2 juin 2016
Statut
Membre
Dernière intervention
26 mars 2017
-
2 juin 2016 à 03:35
KX Messages postés 16668 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 17 mars 2023 - 2 juin 2016 à 08:05
KX Messages postés 16668 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 17 mars 2023 - 2 juin 2016 à 08:05
A voir également:
- Caps Lock
- Caps lock inversé ✓ - Forum Windows
- Folder lock - Télécharger - Chiffrement
- Caps lock windows 10 - Télécharger - Divers Utilitaires
- Acer quick access caps lock - Forum logiciel systeme
- Hp caps lock clignote 5 fois - Forum Carte graphique
1 réponse
KX
Messages postés
16668
Date d'inscription
samedi 31 mai 2008
Statut
Modérateur
Dernière intervention
17 mars 2023
3 005
2 juin 2016 à 08:05
2 juin 2016 à 08:05
Bonjour,
Essayes comme ceci :
Essayes comme ceci :
import java.awt.Toolkit;
import java.awt.event.KeyEvent;
public class Test {
public static void main(String[] args) {
Toolkit toolkit = Toolkit.getDefaultToolkit();
boolean isCapsLocked = toolkit.getLockingKeyState(KeyEvent.VK_CAPS_LOCK);
System.out.println(isCapsLocked);
}
}