Problem about display both icon and text on a JButton!
843804Mar 29 2004 — edited Dec 10 2004I want to put a icon on the upper part of the button, and some text on the bottom part of it. But when I use
setIcon() and setText() methods of JButton, I found the text is in the right of the icon, this is not what I want!
I've tried some methods dealing with the text alignment, but it doesn't work. How can I get what I want?
Thanks!