import icy.gui.component.button.IcyCommandButton;
import icy.gui.component.button.IcyCommandToggleButton;
import icy.plugin.PluginDescriptor;
import icy.plugin.PluginLauncher;
import icy.plugin.PluginLoader;
<BUG>import icy.resource.icon.BasicResizableIcon;
import java.awt.event.ActionEvent;</BUG>
import java.awt.event.ActionListener;
<BUG>import javax.swing.ImageIcon;</BUG>
import org.pushingpixels.flamingo.api.common.AbstractCommandButton;
public class PluginCommandButton
{
<BUG>public static void setButton(AbstractCommandButton button, PluginDescriptor plugin, boolean doAction)
</BUG>
{

import icy.gui.component.button.IcyCommandButton;
import icy.gui.component.button.IcyCommandToggleButton;
import icy.plugin.PluginDescriptor;
import icy.plugin.PluginLauncher;
import icy.plugin.PluginLoader;
import icy.resource.icon.BasicResizableIcon;
import icy.system.thread.ThreadUtil;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.pushingpixels.flamingo.api.common.AbstractCommandButton;
public class PluginCommandButton
{
public static void setButton(final AbstractCommandButton button, final PluginDescriptor plugin, boolean doAction)
{
