public Component getComponentAt(int i) { Tab t = (Tab) tabs.elementAt(i); return t.tab; }
public Component getComponentAt(int index) { checkIndex(index, 0, tabs.size()); return ((Page) tabs.elementAt(index)).getComponent(); }
    public Component getComponentAt(int i)    {	Tab t = (Tab) tabs.elementAt(i);	return t.tab;    }