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: toneil@xxxxxxxxxx (Tim O'Neil)
  • Subject: [Advanced-java] Java Swing question.
  • Date: Thu, 21 Mar 2002 10:53:22 -0800

First thing that comes to mind is convert newline characters into
a token. Or something like that. Hopefully there is a better suggestion
than that though

From: Reinstein, Lenny [mailto:Leonard.Reinstein@xxxxxx]
>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?

And now, a message from Satan:


***********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original
message.
***********************************************************************