Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] Java Swing question.


  • From: Leonard.Reinstein@xxxxxx (Reinstein, Lenny)
  • Subject: [Advanced-java] Java Swing question.
  • Date: Thu, 21 Mar 2002 13:52:37 -0500

The JTextComponent's getCaretPosition() method does not seem to take newline
characters
into account. It is quite important for me because I intercept paste to
filter out special characters, do some other processing that depends on the
location of the caret.  Is there a workaround for this?

Thanks.

-Lenny, New York.