System.err.println(ex);
ex.printStackTrace(); eventDispatcher = null;
		public void run()		{			Vector jobs;									while (true) {				jobs = null;				synchronized (paintLock) {					if (!repaintPending) {						if (events.size() > 0) {							jobs = (Vector) events.clone();							events.removeAllElements();						}					}				}								if (jobs != null) {					for (Enumeration en = jobs.elements(); en.hasMoreElements(); ) {						((Runnable) en.nextElement()).run(); 					}				}				try {					synchronized (paintLock) {						if (events.size() == 0) {							paintLock.wait();						}					}				} catch (InterruptedException ex) {					System.err.println(ex);				}			}		}