Update Server.java

Updated Server class. Enter key now works in field.
Merge pull request #1 from MrTillis/JNDS

Update Server.java