}
return reporter;
}
protected JComponent createDialogContentPane() {
TableLayoutBuilder layoutBuilder = new TableLayoutBuilder();
if (this.inputField == null) {
this.inputField = getComponentFactory().createTextField();
}
// work around for bug in JFormattedTextField text field for selectAll
if (inputField instanceof JFormattedTextField) {
SelectAllBugFixer selectAllBugFixer = new SelectAllBugFixer();
inputField.addFocusListener(selectAllBugFixer);
}
layoutBuilder.cell(createInputLabel(), TableLayoutBuilder.DEFAULT_LABEL_ATTRIBUTES);
layoutBuilder.labelGapCol();
layoutBuilder.cell(inputField);
layoutBuilder.unrelatedGapRow();
layoutBuilder.cell(getMessagePane().getControl());
layoutBuilder.relatedGapRow();
layoutBuilder.separator("");
return layoutBuilder.getPanel();
}