Results 1 to 4 of 4
Thread: Set TexField to false
- 11-18-2010, 08:34 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 61
- Rep Power
- 0
-
Can a JTextField be set to a boolean?
Please clarify your question a bit.
- 11-18-2010, 08:43 PM #3
Member
- Join Date
- Sep 2010
- Posts
- 61
- Rep Power
- 0
Oh ok
I mean I would to set that textfield to be non-editable.
-
If you want to make the JTextField non-editable, you probably don't want to create an anonymous object as you're doing above. Create a JTextField variable, either local if you're just going to need its reference locally or a class field if you need the reference for the entire object.
Similar Threads
-
Checking if 2 things are false
By ile4 in forum New To JavaReplies: 4Last Post: 11-16-2010, 10:40 AM -
.setVisible(false); not working... grr...
By Roclemir in forum New To JavaReplies: 8Last Post: 05-29-2010, 12:22 AM -
can't get setVisible(false) to work
By alexander.s in forum AWT / SwingReplies: 0Last Post: 04-27-2010, 08:33 PM -
resultset.next() = false ;; Can't Guess why.. please help.
By Stephen Douglas in forum New To JavaReplies: 11Last Post: 04-12-2010, 10:21 AM -
swirling becomes false,why?
By arefeh in forum New To JavaReplies: 2Last Post: 01-18-2010, 06:12 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks