void () { JPanel panel = new JPanel(new LightFillLayout()); myContentSplitter.setInnerComponent(panel); myLayeredPane = new MyLayeredPane(); mySurfaceArea = createEditableArea(); myToolProvider = createToolProvider(); myGlassLayer = createGlassLayer(myToolProvider, mySurfaceArea); myLayeredPane.add(myGlassLayer, LAYER_GLASS); myDecorationLayer = createDecorationLayer(); myLayeredPane.add(myDecorationLayer, LAYER_DECORATION); myFeedbackLayer = createFeedbackLayer(); myLayeredPane.add(myFeedbackLayer, LAYER_FEEDBACK); myInplaceEditingLayer = createInplaceEditingLayer(); myLayeredPane.add(myInplaceEditingLayer, LAYER_INPLACE_EDITING); myScrollPane = createScrollPane(myLayeredPane); myQuickFixManager = new QuickFixManager(this, myGlassLayer, myScrollPane.getViewport()); myActionPanel = createActionPanel(); myWarnAction = new FixableMessageAction(); panel.add(myActionPanel.getToolbarComponent()); panel.add(myPanel); myDesignerCard = createDesignerCardPanel(); myPanel.add(myDesignerCard, DESIGNER_CARD); mySurfaceArea.addSelectionListener(new ComponentSelectionListener() { @Override public void selectionChanged(EditableArea area) { storeSourceSelectionState(); } }); }