i want to set multiple image on a button in swing. How can i do it??? :confused:
Like: [image] label [image] label on a button.
Printable View
i want to set multiple image on a button in swing. How can i do it??? :confused:
Like: [image] label [image] label on a button.
One possible way: You could create a BufferedImage, draw images and your label string to it, add it to an ImageIcon and make this your JButton's icon.
May be useful:
Dual Icon « Java Tips Weblog
Text Icon « Java Tips Weblog
db