Lines Matching defs:optionPane
71 final SheetOptionPane optionPane = new SheetOptionPane(message, messageType, optionType,
74 optionPane.setComponentOrientation(vmPanel.getComponentOrientation());
75 optionPane.addPropertyChangeListener(new PropertyChangeListener() {
80 ((SlideAndFadeGlassPane)optionPane.getParent()).hide(optionPane);
88 safGlassPane.show(optionPane);
92 return optionPane;
147 SheetOptionPane optionPane;
161 public void show(SheetOptionPane optionPane) {
162 this.optionPane = optionPane;
164 add(optionPane);
172 public void hide(SheetOptionPane optionPane) {
173 if (optionPane != this.optionPane) {
184 if (optionPane.getParent() == null) {
188 if (optionPane.getWidth() == 0) {
189 optionPane.setSize(optionPane.getPreferredSize());
197 int x = (glassPaneWidth - optionPane.getWidth()) / 2;
200 remove(optionPane);
204 optionPane.setLocation(x, 0);