if (f.frameId.equals(id)) return f;
if (f.getID().equals(id)) return f;
    public Frame getFrame (String id)    {	Iterator it = frames.iterator();	while (it.hasNext())	{	    Frame f = (Frame) it.next();	    if (f.frameId.equals(id)) return f;	}	return null;    }