private javax . swing . JPanel getPanelCommand ( ) { if ( panelCommand == null ) { panelCommand = new javax . swing . JPanel ( ) ; panelCommand . setLayout ( new java . awt . GridBagLayout ( ) ) ; panelCommand . setName ( "Search Panel" ) ; GridBagConstraints gridBagConstraints1 = new GridBagConstraints ( ) ; GridBagConstraints gridBagConstraints2 = new GridBagConstraints ( ) ; gridBagConstraints1 . gridx = 0 ; gridBagConstraints1 . gridy = 0 ; gridBagConstraints1 . weightx = 1.0D ; gridBagConstraints1 . insets = new java . awt . Insets ( 2 , 2 , 2 , 2 ) ; gridBagConstraints1 . fill = java . awt . GridBagConstraints . HORIZONTAL ; gridBagConstraints1 . anchor = java . awt . GridBagConstraints . NORTHWEST ; gridBagConstraints2 . gridx = 0 ; gridBagConstraints2 . gridy = 1 ; gridBagConstraints2 . weightx = 1.0 ; gridBagConstraints2 . weighty = 1.0 ; gridBagConstraints2 . insets = new java . awt . Insets ( 0 , 0 , 0 , 0 ) ; gridBagConstraints2 . fill = java . awt . GridBagConstraints . BOTH ; gridBagConstraints2 . anchor = java . awt . GridBagConstraints . NORTHWEST ; panelCommand . add ( this . getPanelToolbar ( ) , gridBagConstraints1 ) ; panelCommand . add ( getJScrollPane ( ) , gridBagConstraints2 ) ; } return panelCommand ; }
This method initializes panelCommand