How can I create a JButton in Swing with the icon above the text?
+6
A:
just do this:
button.setVerticalTextPosition(SwingConstants.BOTTOM);
button.setHorizontalTextPosition(SwingConstants.CENTER);
joki
2008-12-10 01:53:49