From 4f29dead29a01a706e6b7a12c0549b189cfc269e Mon Sep 17 00:00:00 2001 From: "mellowaredev@gmail.com" Date: Mon, 15 Aug 2011 20:37:44 +0000 Subject: [PATCH] Fixed #5 Use of Accent, Tick or Grave character ` git-svn-id: http://jintellitype.googlecode.com/svn/trunk@13 46e98894-136e-cd33-ffd5-f4f03a221aa8 --- src/test/java/com/melloware/JIntellitypeTester.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/melloware/JIntellitypeTester.java b/src/test/java/com/melloware/JIntellitypeTester.java index a9a7e67..ce07f02 100644 --- a/src/test/java/com/melloware/JIntellitypeTester.java +++ b/src/test/java/com/melloware/JIntellitypeTester.java @@ -41,8 +41,7 @@ import com.melloware.jintellitype.IntellitypeListener; import com.melloware.jintellitype.JIntellitype; /** - * Swing based test application to test all the functions of the JIntellitype - * library. + * Swing based test application to test all the functions of the JIntellitype library. *

* Copyright (c) 2006 Melloware, Inc. * @author Emil A. Lefkof III @@ -58,6 +57,7 @@ public class JIntellitypeTester extends JFrame implements HotkeyListener, Intell private static final int F11 = 92; private static final int F12 = 93; private static final int SEMICOLON = 94; + private static final int TICK = 95; private final JButton btnRegisterHotKey = new JButton(); private final JButton btnUnregisterHotKey = new JButton(); private final JPanel bottomPanel = new JPanel(); @@ -208,6 +208,7 @@ public class JIntellitypeTester extends JFrame implements HotkeyListener, Intell JIntellitype.getInstance().registerHotKey(F11, "F11"); JIntellitype.getInstance().registerHotKey(F12, JIntellitype.MOD_ALT, 123); JIntellitype.getInstance().registerHotKey(SEMICOLON, 0, 186); + JIntellitype.getInstance().registerHotKey(TICK, 0, 192); // clear the text area textArea.setText(""); output("RegisterHotKey WINDOWS+A was assigned uniqueID 88");