for (int i = 0; i < comps.length; i++) return (comps[i].equals(browser.getUI()));
for (int i = 0; i < comps.length; i++) { if (comps[i].equals(browser.getUI())) return true; }
    private boolean isBrowserVisible(Browser browser)    {        Component[] comps = tabs.getComponents();        for (int i = 0; i < comps.length; i++)             return (comps[i].equals(browser.getUI()));        return false;    }