I am making an application in Java Swing and I have to use buttons there.
I have a button and I have set background image of JButton
using ImageIcon
. I have made this image using Photoshop When I click on the button then its default color is shown. I am also setting background color to white but this is not solving my problem.
How to remove default color of button?