Esempio n. 1
0
  @Override
  public void init() {
    if (INSTANCE != null) {
      throw new IllegalStateException("double initialization");
    }

    INSTANCE = this;
    super.init();
  }
Esempio n. 2
0
 @Override
 public void dispose() {
   super.dispose();
   INSTANCE = null;
 }