readyListeners = new Vector();
readyListeners = new Vector<ActionListener>();
    public void addReadyListener(ActionListener newListener) {        if (readyListeners == null)            readyListeners = new Vector();        readyListeners.add(newListener);    }