JYLabel implements the IRotatableComponent interface. The component supports left and right rotation which means +90/-90 degrees and is editable on doubleclick.

All relevant lines are highlighted. Press the "Run..." button to start the demo.