private LogPanel getLogPanel ( ) { if ( logPanel == null ) { logPanel = new LogPanel ( getView ( ) ) ; logPanel . setName ( Constant . messages . getString ( "history.panel.title" ) ) ; // ZAP: i18n // ZAP: Added History (calendar) icon logPanel . setIcon ( new ImageIcon ( ExtensionHistory . class . getResource ( "/resource/icon/16/025.png" ) ) ) ; // 'calendar' icon // Dont allow this tab to be hidden logPanel . setHideable ( false ) ; logPanel . setExtension ( this ) ; logPanel . setModel ( historyTableModel ) ; } return logPanel ; }
This method initializes logPanel