added support for *almost* every key

This commit is contained in:
Diego Waxemberg
2013-12-08 14:43:17 -05:00
parent 150d372213
commit a7c357a67f
6 changed files with 55 additions and 11 deletions

View File

@@ -26,6 +26,8 @@ public class StreamFrame extends JFrame {
this.addMouseListener(mouse);
this.addMouseMotionListener(mouse);
this.setFocusTraversalKeysEnabled(false);
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
this.setSize(1280,720);
//This might break if the screen res is too small...not sure though