private JPanel createButtonsPanel() {
    final JPanel panel = new JPanel(new BorderLayout());
    panel.setBorder(new EmptyBorder(10, 10, 10, 10));

    final JPanel buttonPanel = new JPanel(new GridLayout(1, 2, 5, 5));
    buttonPanel.add(okButton);
    buttonPanel.add(cancelButton);

    panel.add(buttonPanel, BorderLayout.EAST);

    return panel;
  }
Dialog for settings print options before printing the current graph view.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/dialogs/printing/PrintGraphOptionsDialog.java