public boolean isActive() {
		if (this.context == 0) {
			this.context = -1;
			try {
				if (getAppletContext() != null)
					this.context = 1;
		    }catch (Exception localException) {}
	    }
		
		if (this.context == -1) {
			return this.active;
	    }
		return super.isActive();
    }