Exemplo n.º 1
0
  /**
   * Should be called from EDT only
   *
   * @param frame
   */
  public static ITitledMonitor start(JFrame frame) {
    States.assertIsEDT();

    ProgressComponent content = new ProgressComponent();
    ProgressGlassPane.install(frame, content.getGui());
    return content.getController();
  }
Exemplo n.º 2
0
 /**
  * May be called from any thread
  *
  * @param frame
  */
 public static void stop(JFrame frame) {
   ProgressGlassPane.restore(frame);
 }
Exemplo n.º 3
0
 /**
  * May be called from any thread
  *
  * @param dialog
  */
 public static void stop(JDialog dialog) {
   ProgressGlassPane.restore(dialog);
 }