public void actionPerformed(ActionEvent e) { final String S_ProcName = "actionPerformed"; Container cont; JDesktopPane desktop; ICFSecuritySchemaObj schemaObj = swingSchema.getSchema(); ICFSecuritySecAppObj focus = getSwingFocusAsSecApp(); ICFSecuritySecAppEditObj editObj = (ICFSecuritySecAppEditObj) focus.getEdit(); if (editObj != null) { focus = editObj; } ICFSecurityClusterObj referencedObj = (ICFSecurityClusterObj) focus.getRequiredContainerCluster(swingIsInitializing); java.util.List<ICFSecurityClusterObj> listOfCluster = null; listOfCluster = schemaObj.getClusterTableObj().readAllCluster(); if (listOfCluster == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 0, "listOfCluster"); } Collection<ICFSecurityClusterObj> cltn = listOfCluster; JInternalFrame frame = swingSchema .getClusterFactory() .newPickerJInternalFrame( referencedObj, null, cltn, new CallbackSecAppClusterChosen()); ((ICFSecuritySwingClusterJPanelCommon) frame).setPanelMode(CFJPanel.PanelMode.View); cont = getParent(); while ((cont != null) && (!(cont instanceof JInternalFrame))) { cont = cont.getParent(); } if (cont != null) { JInternalFrame myInternalFrame = (JInternalFrame) cont; myInternalFrame.getDesktopPane().add(frame); frame.setVisible(true); frame.show(); } }