A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
JTextField
francis varkey
Ranch Hand
Joined: Sep 13, 2005
Posts: 155
posted
Dec 15, 2006 02:35:00
0
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: 102
posted
Dec 15, 2006 04:20:00
0
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
posted
Dec 17, 2006 14:38:00
0
set a new caret, overriding isVisible() to return true
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: JTextField
Similar Threads
textbox validation
Restricting numeric input
cant figure this out
how can consume Paste content in the JTextField
2 textfields 1 model
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter