here my situation:
textField1.addChangeListener(new ChangeListener() {
@Override
public void stateChanged(ChangeEvent e) {
textField1StateChanged(e);
}
});
the error said addChangeListener is undefined for the type JTextField. is there any thing else to import? (i'm a newbie in java) thanks