private JPanel createGeneralTabPanel() {
    posterRows.setText(String.valueOf(printer.getPosterRows()));
    posterCols.setText(String.valueOf(printer.getPosterColumns()));

    posterCoords.addItem("Show");
    posterCoords.addItem("Hide");
    posterCoords.setSelectedIndex(1);

    clipArea.addItem("Graph");
    clipArea.addItem("View");

    final JPanel panel = new JPanel(new GridLayout(4, 1, 3, 3));
    panel.setBorder(
        BorderFactory.createCompoundBorder(
            BorderFactory.createLineBorder(Color.GRAY), new EmptyBorder(5, 5, 5, 5)));

    panel.add(
        GuiUtils.createHorizontalNamedComponentPanel(
            "Poster Rows", LABEL_WIDTH, posterRows, ROW_HEIGHT));
    panel.add(
        GuiUtils.createHorizontalNamedComponentPanel(
            "Poster Columns", LABEL_WIDTH, posterCols, ROW_HEIGHT));
    panel.add(
        GuiUtils.createHorizontalNamedComponentPanel(
            "Add Poster Coords", LABEL_WIDTH, posterCoords, ROW_HEIGHT));
    panel.add(
        GuiUtils.createHorizontalNamedComponentPanel(
            "Clip Area", LABEL_WIDTH, clipArea, ROW_HEIGHT));

    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