By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,806 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,806 IT Pros & Developers. It's quick & easy.

setEditable ?

P: 1
Hi !
I want to know how to do this

User enter a vlaue in JTextField
if the input is wrong a new frame show up and display error massege , it will stop any new input to field
Expand|Select|Wrap|Line Numbers
  1. setEditable(false);
if user closed the error frame
the field will be work again !
Expand|Select|Wrap|Line Numbers
  1. setEditable(true);
how do I know if the user closed the frame ?
May 10 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.