Exemple #1
0
 private void close() {
   if (main != null) {
     if (scroll) {
       scroll = false;
       scroller.stop();
     }
     location = main.getLocation();
     main.setVisible(false);
     setSelection(null, null);
     setHighlight(null);
     main.dispose();
     main = null;
   }
 }
Exemple #2
0
 /** Gets location of the dialog panel. */
 final Point getLocation() {
   return dialogPanel.getLocation();
 }