예제 #1
0
  @Override
  public void init() {
    if (INSTANCE != null) {
      throw new IllegalStateException("double initialization");
    }

    INSTANCE = this;
    super.init();
  }
예제 #2
0
 @Override
 public void dispose() {
   super.dispose();
   INSTANCE = null;
 }