8788899091929394959697
final ToolButtonBindings bindings = new ToolButtonBindings( getActionMap().get(action)); final ToolButton toolButton = bindings.getTarget(); toolButton.setStyle(style); bindings.setLabelType(labelType); bindings.bind(); return toolButton; } // ---