public void init() {
    setBorder(new EmptyBorder(2, 2, 2, 2));

    final JPanel panel = new JPanel(new BorderLayout());

    panel.add(label, BorderLayout.WEST);
    panel.add(textField, BorderLayout.CENTER);

    add(panel, BorderLayout.CENTER);
  }
Panel with UI for entering address ranges.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/dialogs/graphnodetreeoptionsdialog/tabcomponents/AddressRangeFieldPanel.java