Use the setIcon method of JButton to set the image. You can also use the setPressedIcon to have the icon change when the JButton is pressed. I recommend reading the Swing tutorial provided by Oracle...
Type: Posts; User: copeg
Use the setIcon method of JButton to set the image. You can also use the setPressedIcon to have the icon change when the JButton is pressed. I recommend reading the Swing tutorial provided by Oracle...