there's a swing JTextField
, and I want to add a listener, so whenever the users types a single letter, there's an event. There's a ValueChanged
event in scala api, but I don't get it what's it's peer. So which one Listener
should I use? KeyListener
and implement reasonably just one method?
Asked
Active
Viewed 3,097 times
3

Jonas
- 121,568
- 97
- 310
- 388

ryskajakub
- 6,351
- 8
- 45
- 75
-
You can find an example [here](http://stackoverflow.com/questions/3953208/value-change-listener-to-jtextfield) – Adil Apr 30 '13 at 17:35