This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextField" Watch "JTextField" New topic
Author

JTextField

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 169
Dear Sirs,
How to view the cursor of JTextField, which is not Editable.
Only for just vewing.

thanks,
Francis
sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104
Add MouseMotionLister to the JTextField and set the cursor whenever mouse moved to JTextField.

Is this makes sense??

Cheers,
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
set a new caret, overriding isVisible() to return true
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JTextField
 
It's not a secret anymore!