JavaFX 8 Tutorial 17 - Switching Scenes with Example of Login and Logout Button

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thank you so much! I searched half of the Internet and only your solution is simple and easy to understand.

adamichocka
Автор

Your tutorials are great Ram, thanks alot, just what i need for my java project

deosandeko
Автор

tnx for this tutorial really appreciate
helps a
im subscribing u bro

AM-TheDoctor
Автор

Hi Ram Alapure

Thank you for your tutorial.
I have any question.

May I explain a bit more specific,
first I made file Main.java containing extends Application.

Secondly I create fxml 1: The main menu layout is in the midst of his anchorpane I put borderpane (include controller).

Thirdly I made fxml 2: submenu with anchorpane layout. When called he'll fill up or log in borderpane fxml one that gives a chance center.

Fourth I made fxml 3: sub_Submenu with dialogpane layout.In fxml 2 I put the button becomes inactive when calling fxml 3 appearing with floating position. In fxml 3, I place the button if called then fxml 3 will close with I set setOpacity (0); but the key in fxml 2 remains disabled.

Whether there should be other treatments for models fxml I create?


Thank you for your answer.

donykisworo