I'm not sure what you mean by a "JTextBox", but no matter. All the descendents of JTextComponent tell you about text changes in the same way: by notifying DocumentListeners registered with their contained Document. So what you want to do is create a DocumentListener and add it thusly: myTextWhatever.getDocument().addDocumentListener(myListener);
The Inner that is named is not the true Inner.
posted 15 years ago
Hi, Thanks for your help .. will try implementing it now Regards, sandeep