JComponent () { myProjectIDLabel = new JBLabel(TaskBundle.message("label.project.id"), SwingConstants.RIGHT); myProjectId = new JTextField(); installListener(myProjectId); return FormBuilder.createFormBuilder() .addLabeledComponent(myProjectIDLabel, myProjectId) .getPanel(); }