name = s;
focusIndex = -1;
showBounds = false;
setParent(newParent);
setVisible(newVisible);
contents = new Stack4Components();
lookAndFeel = new LookAndFeel(papplet, Constants.LOOK_AND_FEEL_TYPE);
//userState = new PGraphicsState();
SecurityManager security = System.getSecurityManager();
if (security != null)
try {