public void setTimeout(int time) {
		this.timeout = time;
//		super.removeCommand(ALERT_COMMAND);

		if (timeout != FOREVER) {
			terminator = new Thread() {
				public void run() {
					try {
						sleep(timeout);

						if (terminator == this) {
							handleCommand(DISMISS_COMMAND, null);
						}

					} catch (InterruptedException e) {

					}
				}
			};
			terminator.start();
		} else {
			terminator = null;
	//		super.addCommand(ALERT_COMMAND);
		}

	}