private ContainerPanel createContainerPanel(){
  ContainerPanel containerPanel=new ContainerPanel();
  containerPanel.setAnimated(false);
  containerPanel.setMinimumSize(new Dimension(0,0));
  character=new Character();
  containerPanel.addRepaintable(character);
  inventory=new SlotWindow("bag",3,4);
  inventory.setAcceptedTypes(EntityMap.getClass("item",null,null));
  inventory.setCloseable(false);
  containerPanel.addRepaintable(inventory);
  keyring=new KeyRing();
  keyring.setAcceptedTypes(EntityMap.getClass("item",null,null));
  containerPanel.addRepaintable(keyring);
  userContext.addFeatureChangeListener(keyring);
  spells=new Spells();
  spells.setAcceptedTypes(EntityMap.getClass("spell",null,null));
  containerPanel.addRepaintable(spells);
  userContext.addFeatureChangeListener(spells);
  return containerPanel;
}

private ContainerPanel createContainerPanel ( ) { ContainerPanel containerPanel = new ContainerPanel ( ) ; containerPanel . setAnimated ( false ) ; containerPanel . setMinimumSize ( new Dimension ( 0 , 0 ) ) ; character = new Character ( ) ; containerPanel . addRepaintable ( character ) ; inventory = new SlotWindow ( "bag" , 3 , 4 ) ; inventory . setAcceptedTypes ( EntityMap . getClass ( "item" , null , null ) ) ; inventory . setCloseable ( false ) ; containerPanel . addRepaintable ( inventory ) ; keyring = new KeyRing ( ) ; keyring . setAcceptedTypes ( EntityMap . getClass ( "item" , null , null ) ) ; containerPanel . addRepaintable ( keyring ) ; userContext . addFeatureChangeListener ( keyring ) ; spells = new Spells ( ) ; spells . setAcceptedTypes ( EntityMap . getClass ( "spell" , null , null ) ) ; containerPanel . addRepaintable ( spells ) ; userContext . addFeatureChangeListener ( spells ) ; return containerPanel ; }
create the container panel ( right side panel ) , and its child components .
