replay challenge
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of JBoss AS 5 Development this week in the JBoss forum
or Spring Dynamic Modules in Action in the Spring forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Swing / AWT / SWT / JFace
 
RSS feed
 
New topic
Author

Textfield is not editable

gautam kotwal
Greenhorn

Joined: Jun 23, 2005
Messages: 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
Messages: 6833

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]
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Swing / AWT / SWT / JFace
 
RSS feed
 
New topic
replay challenge