Icon regionOfInterestIcon =
IconFactory.getInstance().getIcon(IconFactory.IconID.REGION_OF_INTEREST);
roiToggleButton = new JideToggleButton(regionOfInterestIcon);
//roiToggleButton.setButtonStyle(JideButton.TOOLBOX_STYLE);
//roiToggleButton.setBorder(toolButtonBorder);
roiToggleButton.setAlignmentX(RIGHT_ALIGNMENT);
roiToggleButton.setToolTipText("Define a region of interest.");
roiToggleButton.setMaximumSize(new java.awt.Dimension(32, 32));