Not that I know of. I assume that is an ItemListener. In order for events to take place on a GUI object, you need to add listeners to them. As far as I know, JTextField does not allow you add ItemListeners to it.
The fastest way you could implement your design would be:
1. Set up the framework to implement the Document Listener (create the class and include the required methods, but don't add any code to the methods yet)
2. Take all the code currently in your itemStateChanged() method and place it in its own method, which is within the visible scope of both the Document Listener class and wherever your ItemListener is (so both listeners can use the method)
3. In your itemStateChanged() method of your ItemListener, just make it call the method you created from #2
4. In the insertUpdate() and removeUpdate() methods of your Document Listener, also make it call the method you created from #2
5. Add the DocumentListener to the JTextField by saying: textField.getDocument().addDocumentListener(new MyDocumentListener()); (like the tutorial link says)
If you want a quick fix, that's the best I've got. It shouldn't take more than a few minutes to do. Really just a bit of copying and pasting.