posted 21 years ago
Hello there,
I have a JTextField that contains a file name. The contents of that field may change as a result of typing in it or as a result of browsing and selecting a file.
Now, I need a listener for this text field, and the KeyAdapter will work if something is typed, but not when the text is set from browing.
So that means that I need to use DocumentListener, but I dont want to override all three methods of it. How come there is no adapter for it?
Thanks,
Eugene.