Hi. I seeking how to implement this beahavior:
I have form, with JTextField(s). I added some new beahvior to text field (MyJTextField) - it turns yellow, after any edit and it can be asked if it was edited. But I don't want to ask if the field was edited myself and then do some action - for example disable navigate buttons.
I want the field to disable button itself, trigger some action in parent after editing.
Because MyJTextField is in separate class, it doesn't know anything about parent's elements.
P.S.: Long before
Java i worked in environment called Centura. There all was about sending 'messages'. The child element simply sent certain message to parent (or any other object). If parent 'knew' this particular message, it served it, if not, nothing happened.
So far I cannot find any similarity with this in swing.
Here's my source code