I have a showInputDialog. Whenever I type something to that field, I want it to be save as textfile when I click the ok button. My problem is I don’t know where/how to put the listener.
Could somebody help me about this matter?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The saving code shouldn’t be in the
InputDialogcontext, but in your code.InputDialogis just a way to prompt for data.