Is there a getchar() equivalent in Java for JTextFields?
843807Nov 16 2009 — edited Nov 18 2009Hi,
I would like to know if there is a way to fetch characters from a JTextField that is similar to getchar() in C?
I have an action event listener on my JTextField but I have not found a way to get the text other than a full line with the getText() method.
What I would like to do is to push the Characters on a stack as they are entered in the text field.
Edited by: Red_herring on Nov 16, 2009 7:18 AM