Rotated JButton
843806Nov 17 2008 — edited Nov 19 2008Hi,
I need to create a subclass of JButton in which I can rotate the button on an arbitrary angel.
I overrode the paint in MyJButtonUI to rotate, but I have some problems.
After doing the rotation work for borders, part of the button that is out of the old position of the button is clipped.
Is there a way to change clipping rectangle?
Or is there a better way to create a rotating button?