public JButton (Icon icon)

Creates a button with an icon.

Parameters:
icon    the Icon image to display on the button