return createDisplayer();
}
private JComponent createDisplayer() {
JLabel checkLabel = new JLabel(PackageResources.PortPanel.DEFAULT);
CheckBoxInputField checkInput = new CheckBoxInputField("", useDefaultPortBox, checkLabel);
TwoColumnPanel grid = new TwoColumnPanel();
grid.addRow(checkInput.getLabel(), checkInput.getInputComponent());
grid.addRow(portNumberField.getLabel(), portNumberField.getInputComponent());
JComponent display = InvisiblePanel.newPanel(grid);
String title = PackageResources.PortPanel.TITLE;
display.setBorder(StyleSheet.getDefaultTitleBorder(title));
return display;