@Override public void init() { if (INSTANCE != null) { throw new IllegalStateException("double initialization"); } INSTANCE = this; super.init(); }
@Override public void dispose() { super.dispose(); INSTANCE = null; }