public void actionPerformed(ActionEvent e) { final String S_ProcName = "actionPerformed"; ICFSecuritySchemaObj schemaObj = swingSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFSecurityHostNodeObj obj = (ICFSecurityHostNodeObj) schemaObj.getHostNodeTableObj().newInstance(); ICFSecurityHostNodeEditObj edit = (ICFSecurityHostNodeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityClusterObj secCluster = schemaObj.getSecCluster(); edit.setRequiredContainerCluster(secCluster); JInternalFrame frame = swingSchema.getHostNodeFactory().newViewEditJInternalFrame(obj); frame.addInternalFrameListener(getViewEditInternalFrameListener()); ICFSecuritySwingHostNodeJPanelCommon jpanelCommon = (ICFSecuritySwingHostNodeJPanelCommon) frame; jpanelCommon.setPanelMode(CFJPanel.PanelMode.Add); getDesktopPane().add(frame); frame.setVisible(true); frame.show(); }