((SearchTab) search).setContinueButton(); } else { ((SearchTab) search).setStopButton();
((SearchTab) searchTab).setContinueButton(); } else { ((SearchTab) searchTab).setStopButton();
        public void mouseDown(MouseEvent e) {            if (stopped) {                ((SearchTab) search).setContinueButton();            } else {                ((SearchTab) search).setStopButton();            }        }