title: JavaFX- how to hide tab content area and show only tab headers on selection of specific tab
body: <p>I want to provide a way for users to hide/ unhide tab pane contents without adding additional buttons to UI. One way I thought was to provide a "dummy" tab in tabpane and on selecting it, all contents of tabpane will be hidden, except for headers. On selecting any other tab, contents will be made visible again. I have tried changing min/max/pref width of tabpane.</p>