I want button in vertically, for that i can extend the height and shrink the width of that button. But the text of the lable of buttons are in the form of horizontal only. For that can i rotate the whole button vertically and is it possible?
+1
A:
The easiest way to do this would be to pre-rotate the labels and just have it as an image on the button.
You might also want to take a look at this solution given in sun's forum for rotating a JButton.
polygenelubricants
2010-03-13 04:58:52
A:
You should be able to do this with scene graph: https://scenegraph.dev.java.net/
Jens Schauder
2010-03-13 05:07:07
+1
A:
Rotated Icon shows how the text and icon can be rotated on the button (or any component that uses icons.
camickr
2010-03-13 17:20:29