Update CodeKeyListener.java

Removed main method used for testing.