User Tools

Site Tools


generic_starter_code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
generic_starter_code [2019/05/22 10:03] frchrisgeneric_starter_code [2019/05/22 10:04] frchris
Line 10: Line 10:
 public class MyGenericApplication extends JPanel implements KeyListener public class MyGenericApplication extends JPanel implements KeyListener
 { {
- public static int WIDTH=800; +    public static int WIDTH=800; 
- public static int HEIGHT=600;+    public static int HEIGHT=600;
     private Font titleFont, regularFont;     private Font titleFont, regularFont;
          
Line 52: Line 52:
  }  }
  
- // These 3 methods need to be declares to implement the KeyListener Interface+ // These 3 methods need to be declared to implement the KeyListener Interface
  @Override  @Override
  public void keyTyped(KeyEvent e) {}  public void keyTyped(KeyEvent e) {}
generic_starter_code.txt · Last modified: 2019/05/22 10:06 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki