P
Parachute
Is there a possibility to place the JButton text _on top_ of a JButton
icon instead of next to it (which is the default if the constructor
new JButton(String text, ImageIcon icon) is used)?
I would like to be able to place the text above the image. If there
was a way to create an icon that not only includes a background colour
but also text on it, this would also be nice. But I wasn't able to
produce such an icon either (except separately in an image-editing
programme which I want to avoid).
Thanks for any help!
icon instead of next to it (which is the default if the constructor
new JButton(String text, ImageIcon icon) is used)?
I would like to be able to place the text above the image. If there
was a way to create an icon that not only includes a background colour
but also text on it, this would also be nice. But I wasn't able to
produce such an icon either (except separately in an image-editing
programme which I want to avoid).
Thanks for any help!