public void setCommands( Set<? extends TaskDialog.Command> commands, boolean lockButtonSize ) {
pCommands.removeAll();
String group = lockButtonSize? "sgx commands, ": "";
TaskDialog owner = getOwner();
for( final TaskDialog.Command c: commands) {
String tag = c.getTag() == null? "": c.getTag().toString();
JButton button = new JButton( new CommandAction(c, owner) );
pCommands.add( button, group + "aligny top, " + tag );
}