JavaFX 15 Tutorial 30 - TabPane

preview_player
Показать описание
In this tutorial, I will show you how to use TabPane and Tabs using JavaFX 16 or higher with IntelliJ 2020.3.3 on Windows 10 x64.

Tabs are placed within a TabPane, where each tab represents a single 'page'. When the user clicks on a Tab in the TabPane the Tab content becomes visible to the user.

getSelectionModel()

Select a Tab using the index of the tab.

The first Tab has an index of 0, in this example, it refers to tab1. But I prefer to use its fxid such as tab1, tab2

VM options
--module-path "C:\Program Files\Java\javafx-sdk-16\lib"

JDK 16
JavaFX SceneBuilder 16
IntelliJ IDEA 2020.3.3
Рекомендации по теме
Комментарии
Автор

Hello,
Thank you so much for your tutorials. Can you please help by providing a better solution to protect jar files from reverse engineering?
Regards,

youssefayyar
join shbcf.ru