In my J2ME app, I want show an alert dialog box only when user change the state of any controls that is user use any of the control of the form & then try to canel the form without saving typed data. For example among all 5-6 controls of form if user type in 1-2 textboxs and try to canel the form without saving that typed data into database.
But if state of controls is unchanged & user click cancel button then no need to show alert box...
Any idea how to do this?????