aspose file tools
The moose likes Swing / AWT / SWT / JFace and the fly likes Textfield is not editable Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Textfield is not editable" Watch "Textfield is not editable" New topic
Author

Textfield is not editable

gautam kotwal
Greenhorn

Joined: Jun 23, 2005
Posts: 3
Hii all

I m working on a java application in Mac OS 10.1.3.
The problem is that in my application there are few textfields which I want to make editable.
I have used every approach...It has been declared setEditable(true)...
but still it is not ediatable
if u set some string it is accepting and showing the string in textfield (by setText)...It is also responding to mouse clicks(It is giving some printouts when u click mouse on textfield) but it is not letting enter any text. If i use Textfield instead of Jtextfield it is showing blinking cursor in starting of textfield but still not entering anything.

Hoping to get an early reply
Thanks
Gautam
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 7796

TextField's are by default editable:

Can you give us a simple example (i.e. not more than 20-30 lines) of code that is giving you trouble?
[ June 27, 2005: Message edited by: Joe Ess ]

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: Textfield is not editable
 
developer file tools