}
labelColorModeButton.setSelectedItem(textManager.getModel().getColorMode());
labelColorModeButton.setChangeListener(new ChangeListener() {
@Override
public void stateChanged(ChangeEvent e) {
ColorMode cm = (ColorMode) e.getSource();
TextModelImpl model = VizController.getInstance().getVizModel().getTextModel();
model.setColorMode(cm);
}
});
labelColorModeButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/gephi/visualization/component/labelColorMode.png")));