diff options
author | Tyler Ferrari <tpoke.ferrari@gmail.com> | 2023-05-02 15:53:46 +0000 |
---|---|---|
committer | Tyler Ferrari <tpoke.ferrari@gmail.com> | 2023-05-02 15:53:46 +0000 |
commit | f0b65b04817e229ea6798bfcc2b1cf783fcb3717 (patch) | |
tree | 214b2562972b0c47f6e35bd74d24d3b2628db506 /KeyDetection.java | |
parent | b3182076fca55898685558915eb470c547c0caee (diff) | |
download | NPEhero-f0b65b04817e229ea6798bfcc2b1cf783fcb3717.tar.gz NPEhero-f0b65b04817e229ea6798bfcc2b1cf783fcb3717.tar.bz2 NPEhero-f0b65b04817e229ea6798bfcc2b1cf783fcb3717.zip |
Moves files into apcs package and fix refrences
Diffstat (limited to 'KeyDetection.java')
-rw-r--r-- | KeyDetection.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/KeyDetection.java b/KeyDetection.java deleted file mode 100644 index 429665a..0000000 --- a/KeyDetection.java +++ /dev/null @@ -1,27 +0,0 @@ -/*Name: - *Date: - *Period: - *Teacher: - *Description: - */ -package cs; - -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); - } - -} |