added enter as keyevent in register
Merge pull request #117 from buren/java1_6

added enter as keyevent in register