question: public static void main ( String [ ] args ) throws Exception { digestCommandLineArguments ( args ) ; boolean inHeadlessMode = GraphicsEnvironment . isHeadless ( ) ; boolean inConvertMode = isinConvertMode ( ) ; SCXMLGraphEditor editor = startEditor ( inConvertMode || inHeadlessMode ) ; if ( isinConvertMode ( ) ) { SCXMLEditorActions . convertNoGUI ( editor ) ; } else if ( ! inHeadlessMode ) { String input = getPresetInput ( ) ; if ( ! StringUtils . isEmptyString ( input ) ) { OpenAction open = new OpenAction ( new File ( input ) ) ; open . actionPerformed ( new ActionEvent ( editor , 0 , "" ) ) ; } } }
target:  main of the editor application. creates the FSMEditor that is a CustomGraphComponent (JScrollPane) contains an instance of CustomGraph (mxGraph that is mxEventSourcE)) create the interface containing the CustomGraphComponent: FSMEditor (FSMGraphEditor (JPanel))