TextField Woes

is there anyway to get the x coordinate of teh caret w/ in a text field… i know of Selection.getCaretIndex() … but this simply returns the character value by which the caret is located…

and i know you could try to derive a formula using Selection.getCaretIndex() to estimate the x value… however this will not work with different fonts… any ideas???