public JToggleButton (Icon icon, boolean selected)

Creates a toggle button with the specified image and selection state, but no text.

Parameters:
icon    the image that the button should display
selected    if true, the button is initially selected; otherwise, the button is initially unselected