public static boolean verificarCapsLook() {
        boolean capsLigado = false;
        if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")) {
            capsLigado = Toolkit.getDefaultToolkit().getLockingKeyState(
                    KeyEvent.VK_CAPS_LOCK);
        }
        if (capsLigado) {
            return true;
        }

        return false;

    }