private JPanel createStylePanel() {
    JPanel panel = new JPanel();
    panel.setBorder(IdeBorderFactory.createTitledBorder(EditorBundle.message("print.style.group")));
    panel.setLayout(new GridBagLayout());
    GridBagConstraints gbConstraints = new GridBagConstraints();
    gbConstraints.gridy = 0;
    gbConstraints.gridx = 0;
    gbConstraints.gridwidth = 1;
    gbConstraints.gridheight = 1;
    gbConstraints.weightx = 1;
    gbConstraints.fill = GridBagConstraints.BOTH;

    myCbColorPrinting = new JCheckBox(EditorBundle.message("print.style.color.printing.checkbox"));
    panel.add(myCbColorPrinting, gbConstraints);

    myCbSyntaxPrinting = new JCheckBox(EditorBundle.message("print.style.syntax.printing.checkbox"));
    gbConstraints.gridy++;
    panel.add(myCbSyntaxPrinting, gbConstraints);

    myCbPrintAsGraphics = new JCheckBox(EditorBundle.message("print.style.print.as.graphics.checkbox"));
    gbConstraints.gridy++;
    panel.add(myCbPrintAsGraphics, gbConstraints);

    return panel;
  }
private JPanel createStylePanel()