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 16733 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 31 janvier 2024 - 2 juin 2016 à 08:05
KX Messages postés 16733 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 31 janvier 2024 - 2 juin 2016 à 08:05
A voir également:
- Caps Lock
- Caps lock indicator - Télécharger - Divers Utilitaires
- Folder lock - Télécharger - Chiffrement
- Scroll lock - Forum Windows
- Où est la touche arrêt défil sur mon clavier ? ✓ - Forum Clavier
- Caps lock clignote hp - Forum PC portable
1 réponse
KX
Messages postés
16733
Date d'inscription
samedi 31 mai 2008
Statut
Modérateur
Dernière intervention
31 janvier 2024
3 015
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); } }