PennDraw.java
/**
     * Has the user typed a key?
     * @return true if the user has typed a key, false otherwise
     */
Has the user typed a key.
@return true if the user has typed a key, false otherwise
Has the user typed a key . @return true if the user has typed a key false otherwise
public static boolean hasNextKeyTyped() {
        synchronized (keyLock) {
            return !keysTyped.isEmpty();
        }
    }
public static boolean hasNextKeyTyped ( ) { synchronized ( keyLock ) { return ! keysTyped . isEmpty ( ) ; } }
Has the user typed a key?
Has the user typed a key?