aboutsummaryrefslogtreecommitdiff
path: root/apcs/KeyDetection.java
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-05-06 14:56:46 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-05-06 14:56:46 -0400
commit372d97fee538f86c8333fbbde43cf51484b8ac67 (patch)
tree055f5560e58d4a83a90a3e1c46ec8d998e12a96f /apcs/KeyDetection.java
parentcee3ca3fec021c0ddf8f3ee66940bb1cdfba4262 (diff)
downloadNPEhero-372d97fee538f86c8333fbbde43cf51484b8ac67.tar.gz
NPEhero-372d97fee538f86c8333fbbde43cf51484b8ac67.tar.bz2
NPEhero-372d97fee538f86c8333fbbde43cf51484b8ac67.zip
Add JavaFX and seperate source and class files
Diffstat (limited to 'apcs/KeyDetection.java')
-rw-r--r--apcs/KeyDetection.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/apcs/KeyDetection.java b/apcs/KeyDetection.java
deleted file mode 100644
index 9fc9db6..0000000
--- a/apcs/KeyDetection.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*Name:
- *Date:
- *Period:
- *Teacher:
- *Description:
- */
-package apcs;
-
-import javax.swing.*;
-import java.awt.event.ActionEvent;
-
-public class KeyDetection extends AbstractAction
-{
- long timeStart = System.currentTimeMillis();
- private char key;
- public KeyDetection(char ch){
- key = ch;
- }
-
- public void actionPerformed(ActionEvent e)
- {
- // TODO Auto-generated method stub
- int time = (int)((System.currentTimeMillis()-timeStart));
- System.out.println(key + ": " + time);
- }
-
-}