title: How do you use DocumentListener with jTextField in Netbeans?
body: <p>I'm trying to take the value entered in a jTextField, parse it, then use it to calculate an output.</p>
  
  <p>In every other application I've used this is really simple. There is some form of event that will trigger when the text is changed, and I can use that event to perform the actions I want. In netbeans though, no such luck. The closest to an on changed event I could find was InputMethodTextChanged, which doesn't seem to work how I think it does.</p>
  
  <p>Every resource online says to use a documentListener, but no resource that I can find actually gives information on how to use it. I'm sure for an experienced programmer the information provided is more than enough, but an experienced programmer already knows how to use it.</p>
  
  <p>Could somebody please explain how DocumentListener works, and how to use it clearly enough for a novice programmer to understand? Stack Overflow always shows up quickly in Google Searches, and at the moment there is no newbie friendly source of information on this that is easy to find, if at all.</p>