private TabPane CreateTabs() {
        TabPane tabPane = new TabPane();
        tabPane.getTabs().addAll(marketIndices, companies, currencies, goods);
        tabPane.setTabClosingPolicy(TabPane.TabClosingPolicy.UNAVAILABLE);
        return tabPane;
    }