doPrepare();
if (isVisible()) { doPrepare(); }
    public void actionPerformed(ActionEvent e) {        super.actionPerformed(e);        String cmd = e.getActionCommand();        if (cmd == RedrawCmd) {            doPrepare();        }    }