What I mean by a JLabel-JTextField pair is a JLabel component followed by a JTextField one, for example, \"Parameter 1: -----\" where \"-----\" denotes a blank JTextField.
This is a perfect use case for DesignGridLayout:
DesignGridLayout layout = new DesignGridLayout(contentPane); layout.labelAlignment(LabelAlignment.RIGHT); layout.row().grid(label1).add(field1); layout.row().grid(label2).add(field2); ...