JComponent () { myTextField = new ExtendableTextField().addBrowseExtension(myAction, this); final JPanel panel = new JPanel(new BorderLayout()); panel.add(LabeledComponent.create(myTextField, AntBundle.message("label.ant.run.configuration.target.name"), BorderLayout.WEST), BorderLayout.NORTH); String propertiesTableName = AntBundle.message("label.table.name.ant.properties"); final LabeledComponent<JComponent> tableComponent = LabeledComponent.create(myPropTable.getComponent(), propertiesTableName); tableComponent.setBorder(BorderFactory.createEmptyBorder(10, 0, 0, 0)); panel.add(tableComponent, BorderLayout.CENTER); return panel; }