@Override
	public boolean isActive(){
		if (context == 0) {
			context = -1;
			try {
				if (getAppletContext() != null)
					context = 1;
			}catch(Exception e){/**/}
		}
		if (context == -1)
			return active;
		return super.isActive();
	}