dynamic - javafx: adding tabs dynamically when user opens a new file -


This is my edited question .. I want to display a new tab in the same window. In the main window, I have the menu bar, suppose that the user opens the click, a new tab should be created in the same window below the menu bar and so on.

Please give me some pointers because I am starting in Java. I appreciate your time and effort.

Use tabkin and add it to the program accordingly

  TabApp Tabpan = New TabEp (); Tab mytab = new tab ("program will be programmed"); Mytab.setContent (keep your data here); . Add TabPane.getTabs () (mytab);  

The tabpans should be in the window / node / view that are flirting with you ... all this


Comments