public void removeClearListener (ClearEventListener listener) {
clearListeners.removeElement(listener);
}
public void notifyClearListeners() {
ClearEvent clearEvent = new ClearEvent(this);
for(int i=0; i<clearListeners.size();i++)
((ClearEventListener)clearListeners.elementAt(i)).clearRequested(clearEvent);
}