public void setFrameList(ResourceArray frameList) {
   this.frameList = frameList;
   if (frameList != null) {
     updateFrame();
   }
 }