Lines Matching refs:frame
63 private JFrame frame;
98 frame = new JFrame(String.valueOf(application.getFrameTitle()));
99 frame.getContentPane().add(getFramePanel());
100 frame.addWindowListener(new WindowAdapter() {
105 frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
106 Utilities.setFrameIcon(frame);
115 frame.pack();
116 int minWidth = (int) frame.getPreferredSize().getWidth();
117 int minHeight = (int) frame.getPreferredSize().getHeight();
118 Utilities.centerOnScreen(frame);
120 frame.addComponentListener(new MinimumSizeComponentListener(frame,
123 frame.setVisible(true);
136 frame.getContentPane().removeAll();
137 frame.getContentPane().add(getFramePanel());
138 frame.pack();
139 Utilities.centerOnScreen(frame);
311 * Returns the frame containing the dialog.
312 * @return the frame containing the dialog.
316 return frame;
426 * Sets the default button for the frame.