return (Frame) prototypes.get(frame.getKind());
return (Frame) prototypes.get(kind);
    public Frame getPrototype(Frame frame)    {	synchronized (prototypes) {	    return (Frame) prototypes.get(frame.getKind());	}    }