math equations in java



is there any kind of font/typeset (sorry for the vagueness) available
in java that allows the expression of equations or algebraic
expressions?

i am meaning something like x^3 + 3x^2 - 5, where here the '3' and the
'2' indices would be raised to the top right of the 'x' symbol so as
to appear as it would be written in a math text book or whatever.

anyone know what i'm on about here :)


jeremy watts
.