> I can test my TextLayout for a hit and also position the caret. But
> how do I add some text at the position of the caret?
TextLayout is immutable.
You would need to update the source text and create a new TextLayout.
> There is also another problem: I enlarge my gaphics with the use of
> an AffineTransform. If this has been done some letters don't appear
> anymore!
I don't know what your code might be doing, but
it sounds odd that just some of the letters don't appear.
Also, http://developer.java.sun.com/developer/onlineTraining/Media/2DText/
has a tutorial on 2D text you may find useful.
-Phil.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".