I am using the TextLayout class to render my text and the carets on a
canvas (JPanel).

Shape shape[] =  layout.getCaretShapes(0);
graphics.draw(carets[0]);
etc.

I would like to make the caret blink . Do I need to implement the
blinking feature with a separate 'paint thread'
or is there an easier way to do this in Java2D ?

Thanks

Chris
begin:vcard
n:Roffler;Christian
tel;fax:313 557 0195
tel;work:770 486 8610
x-mozilla-html:FALSE
url:www.ronin-intl.com
org:Ronin International Inc
adr:;;6225 Castlegate Dr. W. Suite 1732;Castle Rock;Co;80104;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Chris Roffler
end:vcard

Reply via email to