I'm trying to place a single caret in TextLayout when I type on the 
keyboard.  But the TextHitInfo instance goes null when the inital string 
passed to TextLayout is reached with newHit = 
newLayout.getNextRightHit(newHit.getInsertionIndex());  Why is this?  I'm 
updating the string as keyEvents are typed.  So how does one modify the 
original string passed to TextLayout?

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to