More TextPane tidying.

Change to using Rectangle2D.Float to avoid having to cast all
of the co-ords and dimensions to ints.

Remove a magic 1.5 in the calculations in favour of using the right
properties of the text.
Merge pull request #29 from csmith/textpane

More TextPane tidying.