469,636 Members | 1,527 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,636 developers. It's quick & easy.

JTextField uneditable

oll3i
679 512MB
How to make a JTextField disabled after some data has been entered into it?
and then make it editable again when a button is clicked?
Apr 18 '07 #1
1 12384
JosAH
11,448 Expert 8TB
How to make a JTextField disabled after some data has been entered into it?
and then make it editable again when a button is clicked?
A simple: yourField.setEditable(true/false) at the right spots will to the trick.

kind regards,

Jos
Apr 18 '07 #2

Post your reply

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

Similar topics

reply views Thread by Alexander Mazo | last post: by
9 posts views Thread by Shelly | last post: by
3 posts views Thread by Kid Programmer | last post: by
1 post views Thread by dig909 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.