153154155156157158159160161162163
}}); return result; } private Component hbox(Object... contents) { BoxUtils result = BoxUtils.hbox(contents); Dimension d = result.getPreferredSize(); d.width = 3000; result.setMaximumSize(d); return result; }
140141142143144145146147148149150
this.isCompare = isCompare; } } private Component hbox(Object... contents) { BoxUtils result = BoxUtils.hbox(contents); Dimension d = result.getPreferredSize(); d.width = 3000; result.setMaximumSize(d); return result; }
543544545546547548549550551552553
(global ? globalScopeButton : localScopeButton).setSelected(true); String errorKey = null; while (true) { BoxUtils errorBox; if (errorKey != null) { JLabel errorLabel = new JLabel(resources.getString(errorKey)); errorLabel.setForeground(Color.RED); errorBox = BoxUtils.hbox(20, errorLabel); } else {