*/
protected Icon createButtonStateIcon(final String location, final int states) {
BufferedImage[] images = Images.split(Toolkit.getDefaultToolkit()
.getImage(this.getClass().getResource(location)), states, true);
return new ButtonStateIcon(images);
}