PennDraw.java
/**
     * This method cannot be called directly.
     */
This method cannot be called directly.
This method cannot be called directly .
public void keyPressed(KeyEvent e) {
        synchronized (keyLock) {
            keysDown.add(e.getKeyCode());
        }
    }
public void keyPressed ( KeyEvent e ) { synchronized ( keyLock ) { keysDown . add ( e . getKeyCode ( ) ) ; } }
This method cannot be called directly.
This method cannot be called directly .