Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Java
JTextField uneditable
JTextField uneditable
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
oll3i
Contributor
Join Date:
Mar 2007
Posts:
679
#1
JTextField uneditable
Apr 18 '07, 05:46 PM
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?
JosAH
Recognized Expert
MVP
Join Date:
Mar 2007
Posts:
11453
#2
Apr 18 '07, 06:03 PM
Originally posted by
oll3i
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.setEd itable(true/false)
at the right spots will to the trick.
kind regards,
Jos
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment