I am trying to pass off whatever that is typed into the text field to a string whenever "enter" is pressed, however once something is typed into the JTextField, the KeyListener is automatically disabled !
How can I have a text field, with a functional key listener at the same time ?