protected void ensureInitialized(){
  if (!initialized) {
    createCustomView();
    createFilterToolbar();
    final JPanel toolBarPanel;
    if (ApplicationManager.getApplication() != null) {
      final ActionToolbar prActionsToolbar=createToolbar(createActionsGroup());
      final ActionToolbar feedbackActionsToolbar=createToolbar(createFeedbackGroup());
      final ActionToolbar optionsActionsToolbar=createToolbar(createOptionsGroup());
      final FlowLayout flowLayout=new FlowLayout(FlowLayout.LEFT,0,JBUI.scale(3));
      final JPanel toolBarPanelLeft=new JPanel(flowLayout);
      toolBarPanelLeft.add(prActionsToolbar.getComponent());
      toolBarPanelLeft.add(searchFilter);
      addCustomTools(toolBarPanelLeft);
      final FlowLayout flowLayout2=new FlowLayout(FlowLayout.LEFT,0,JBUI.scale(3));
      final JPanel toolBarPanelMiddle=new JPanel(flowLayout2);
      toolBarPanelMiddle.add(optionsActionsToolbar.getComponent());
      SwingHelper.setMargin(toolBarPanelMiddle,new Insets(JBUI.scale(2),JBUI.scale(15),0,0));
      toolBarPanel=new JPanel(new BorderLayout());
      toolBarPanel.add(toolBarPanelLeft,BorderLayout.LINE_START);
      toolBarPanel.add(toolBarPanelMiddle,BorderLayout.CENTER);
      toolBarPanel.add(feedbackActionsToolbar.getComponent(),BorderLayout.LINE_END);
    }
 else {
      toolBarPanel=new JPanel();
    }
    final JPanel statusPanel=new JPanel(new FlowLayout(FlowLayout.LEFT));
    statusLabel=new JLabel();
    statusLink=new Hyperlink();
    statusLink.setActionCommand(CMD_STATUS_LINK);
    statusPanel.add(statusLabel);
    statusPanel.add(statusLink);
    tabPanel=new JPanel(new BorderLayout());
    tabPanel.add(toolBarPanel,BorderLayout.PAGE_START);
    tabPanel.add(scrollPanel,BorderLayout.CENTER);
    tabPanel.add(statusPanel,BorderLayout.PAGE_END);
    this.initialized=true;
  }
}

protected void ensureInitialized ( ) { if ( ! initialized ) { createCustomView ( ) ; createFilterToolbar ( ) ; final JPanel toolBarPanel ; if ( ApplicationManager . getApplication ( ) != null ) { final ActionToolbar prActionsToolbar = createToolbar ( createActionsGroup ( ) ) ; final ActionToolbar feedbackActionsToolbar = createToolbar ( createFeedbackGroup ( ) ) ; final ActionToolbar optionsActionsToolbar = createToolbar ( createOptionsGroup ( ) ) ; final FlowLayout flowLayout = new FlowLayout ( FlowLayout . LEFT , 0 , JBUI . scale ( 3 ) ) ; final JPanel toolBarPanelLeft = new JPanel ( flowLayout ) ; toolBarPanelLeft . add ( prActionsToolbar . getComponent ( ) ) ; toolBarPanelLeft . add ( searchFilter ) ; addCustomTools ( toolBarPanelLeft ) ; final FlowLayout flowLayout2 = new FlowLayout ( FlowLayout . LEFT , 0 , JBUI . scale ( 3 ) ) ; final JPanel toolBarPanelMiddle = new JPanel ( flowLayout2 ) ; toolBarPanelMiddle . add ( optionsActionsToolbar . getComponent ( ) ) ; SwingHelper . setMargin ( toolBarPanelMiddle , new Insets ( JBUI . scale ( 2 ) , JBUI . scale ( 15 ) , 0 , 0 ) ) ; toolBarPanel = new JPanel ( new BorderLayout ( ) ) ; toolBarPanel . add ( toolBarPanelLeft , BorderLayout . LINE_START ) ; toolBarPanel . add ( toolBarPanelMiddle , BorderLayout . CENTER ) ; toolBarPanel . add ( feedbackActionsToolbar . getComponent ( ) , BorderLayout . LINE_END ) ; } else { toolBarPanel = new JPanel ( ) ; } final JPanel statusPanel = new JPanel ( new FlowLayout ( FlowLayout . LEFT ) ) ; statusLabel = new JLabel ( ) ; statusLink = new Hyperlink ( ) ; statusLink . setActionCommand ( CMD_STATUS_LINK ) ; statusPanel . add ( statusLabel ) ; statusPanel . add ( statusLink ) ; tabPanel = new JPanel ( new BorderLayout ( ) ) ; tabPanel . add ( toolBarPanel , BorderLayout . PAGE_START ) ; tabPanel . add ( scrollPanel , BorderLayout . CENTER ) ; tabPanel . add ( statusPanel , BorderLayout . PAGE_END ) ; this . initialized = true ; } }
create the tab view if not already done
