@ Override protected JPanel getWorkPanel ( ) { if ( mainPanel == null ) { mainPanel = new JPanel ( new BorderLayout ( ) ) ; tabbedPane = new JTabbedPane ( ) ; tabbedPane . addTab ( Constant . messages . getString ( "spider.panel.tab.urls" ) , getUrlsTableScrollPane ( ) ) ; tabbedPane . addTab ( Constant . messages . getString ( "spider.panel.tab.addednodes" ) , getAddedNodesTableScrollPane ( ) ) ; tabbedPane . addTab ( Constant . messages . getString ( "spider.panel.tab.messages" ) , getMessagesTableScrollPanel ( ) ) ; tabbedPane . setSelectedIndex ( 0 ) ; mainPanel . add ( tabbedPane ) ; } return mainPanel ; }
This method initializes the working Panel .