private PrintPreviewDialog(PCGenFrame frame) { super(frame, true); this.frame = frame; this.character = frame.getSelectedCharacterRef().get(); this.previewPanelParent = new JPanel(new GridLayout(1, 1)); this.sheetBox = new JComboBox(); this.progressBar = new JProgressBar(); this.pageBox = new JComboBox(); this.zoomBox = new JComboBox(); this.zoomInButton = new JButton(); this.zoomOutButton = new JButton(); this.printButton = new JButton(); this.cancelButton = new JButton(); initComponents(); initLayout(); pack(); new SheetLoader().execute(); }