public JPanel getPaneDisplay ( ) { if ( paneDisplay == null ) { paneDisplay = new JPanel ( ) ; paneDisplay . setLayout ( new CardLayout ( ) ) ; paneDisplay . setName ( "paneDisplay" ) ; paneDisplay . add ( getWorkbench ( ) , getWorkbench ( ) . getName ( ) ) ; } return paneDisplay ; }
This method initializes paneDisplay