}
public void createHeightButtons(String vegetation) {
ImageSet vegetationIS = this.vegImageSet.getSubImageSet(vegetation);
Vector<String> heights = this.vegetationHeights.get(vegetation);
this.heightPanel.removeAll();
this.heightButtons.removeAllElements();
this.heightButtonGroup = new ButtonGroup();
for (String text : heights) {
JToggleButton button;
Image image = vegetationIS.getImage(text);
if (image == null) {
image = vegetationIS.getImage("DEFAULT");
}
if (image != null) {
button = new JToggleButton(new ImageIcon(image));
} else {
button = new JToggleButton(text);