How to add textbox change event in NetBeans' GUI builder:
I want my code to run when user changes jtextbox value. I tried nelow events but it doesn't executes.
private void jTextInputMethodTextChanged(java.awt.event.InputMethodEvent evt) {
}
private void jTextActionPerformed(java.awt.event.ActionEvent evt) {
}
private void jTextPropertyChange(java.beans.PropertyChangeEvent evt) {
}
I research on internet and found solution as DocumentListener but I am not sure how and where to add listener code in Netbeans as most of the code is autogenerated in initComponents() which can not be edited.