@ Override public int getBaseline ( JComponent c , int width , int height ) { super . getBaseline ( c , width , height ) ; return - 1 ; }
Overridden to always return - 1 since a vertical label does not have a meaningful baseline .