"isModified()" for JTextField ?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pawlo_Morhuniuk
Posted On:   Tuesday, September 25, 2001 02:06 PM

Is there a quick way to detect if the text in JTextField was modified by user?
For example I have a form with a set of JTextFields and I want to detect which field were really changed to be sent to server.

Re: "isModified()" for JTextField ?

Posted By:   devaki_perumal  
Posted On:   Friday, September 28, 2001 12:05 AM

I think u can do in this way.
Add keylistener to the textfiled
and when some key is typed fire an event or set some flags or do whatever u want to do
To help out more give more explanation on what u want to do

Re: "isModified()" for JTextField ?

Posted By:   olivier_refalo  
Posted On:   Tuesday, September 25, 2001 02:14 PM

No, I there is no way to do that "out of the box". But you can still extend the JTextField and implement it yourself.


OR
About | Sitemap | Contact