private java.awt.Font getVerticalFont(java.awt.Font source) {
// Create a rotation transformation for the font.
java.awt.geom.AffineTransform at = new java.awt.geom.AffineTransform();
// turn 90 degrees to the left (right-most part goes up)...
at.rotate(-Math.PI/2.0);
// create the vertical font
return source.deriveFont(at);
}