aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes move curser marker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "move curser marker" Watch "move curser marker" New topic
Author

move curser marker

sara rod
Greenhorn

Joined: Dec 07, 2009
Posts: 23
Hi,

I have textarea and I need to move the cursor marker - to the first line, it is by default in the end of the text.
how can I do that?

thanks.
Chris Nash
Greenhorn

Joined: May 20, 2009
Posts: 28
Not that I've ever done it, but from looking at the API, it looks like setCaretPosition() will do the trick. HTH


- Frecklefoot
"What you are good at is not as important as being good at something." --Robert B.Parker
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: move curser marker