iconPanel.setLayout(new BoxLayout(iconPanel, BoxLayout.X_AXIS));
final Icon icon = new GoalIcon(board.new Goal(0, 0, robotNumber, shape), SwingGUI.this.jcheckOptShowColorNames.isSelected());
iconPanel.add(new JLabel(icon));
this.setLayout(new BorderLayout());
this.add(iconPanel);
this.setUI(new ToolTipUI() {
@Override
public Dimension getMinimumSize(JComponent c) {
return c.getLayout().minimumLayoutSize(c);
}
@Override