As Norm suggests, you can use a JLabel, or if you still want to use a JButton for its added functionality (mouse-over, change in icons based on state, ability to disable it), then yes the entire...
Type: Posts; User: curmudgeon
As Norm suggests, you can use a JLabel, or if you still want to use a JButton for its added functionality (mouse-over, change in icons based on state, ability to disable it), then yes the entire...
JButtons can accept Images held by ImageIcons by simply calling setIcon(Icon icon) on the JButton. If you don't want the button's border, it can be removed as well.