Lines Matching refs:frame
65 private JFrame frame;
106 frame = new JFrame(String.valueOf(application.getFrameTitle()));
107 frame.getContentPane().add(getFramePanel());
108 frame.addWindowListener(new WindowAdapter() {
113 frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
114 Utilities.setFrameIcon(frame);
123 frame.pack();
124 int minWidth = (int) frame.getPreferredSize().getWidth();
125 int minHeight = (int) frame.getPreferredSize().getHeight();
126 Utilities.centerOnScreen(frame);
128 frame.addComponentListener(new MinimumSizeComponentListener(frame,
131 frame.setVisible(true);
144 frame.getContentPane().removeAll();
145 frame.getContentPane().add(getFramePanel());
146 frame.pack();
147 Utilities.centerOnScreen(frame);
319 * Returns the frame containing the dialog.
320 * @return the frame containing the dialog.
324 return frame;
434 * Sets the default button for the frame.