@ Override public Component . BaselineResizeBehavior getBaselineResizeBehavior ( JComponent c ) { super . getBaselineResizeBehavior ( c ) ; return Component . BaselineResizeBehavior . OTHER ; }
Overridden to always return Component . BaselineResizeBehavior . OTHER since a vertical label does not have a meaningful baseline