JavaFX Tutorial: How to show a scene in the same stage in JavaFX

JavaFX Tutorial: How to show a scene in the same stage in JavaFX

Kensoft PH

3 года назад

8,874 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@quyenvan5864
@quyenvan5864 - 21.05.2023 14:17

Hello, Can you make a button that can go back the first scene (default)?

Ответить
@mdsafikulislam7430
@mdsafikulislam7430 - 21.04.2023 20:37

Hello Sir. How to fixed dashboard scene by default?

Ответить
@jfxdev267
@jfxdev267 - 18.04.2023 20:26

I want to (button in about anchor pane ) requestfocus when (about button) clicked
Thank you

Ответить
@marcoss5368
@marcoss5368 - 10.01.2023 20:36

Asi lo tengo en un proyecto javafx y me sale bien pero lo quiero pasar a un proyecto java normal y me da errores ayuda por favor
FileChooser seleccionarArchivo = new FileChooser();
seleccionarArchivo.setTitle("Seleccionar Archivos PDF");
seleccionarArchivo.getExtensionFilters().addAll(new FileChooser.ExtensionFilter("archivos PDF", "*.pdf"));
List<File> listFile = seleccionarArchivo.showOpenMultipleDialog(null);
El error que me da es "Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: This operation is permitted on the event thread only; currentThread = AWT-EventQueue-0"
lo tenia en
"FileChooser seleccionarArchivo = new FileChooser();
seleccionarArchivo.setTitle("Seleccionar Archivos PDF");
seleccionarArchivo.getExtensionFilters().addAll(new FileChooser.ExtensionFilter("archivos PDF", "*.pdf"));
Stage stage = new Stage();
List<File> listFile = seleccionarArchivo.showOpenMultipleDialog(stage);"
me da error "Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError"

Ответить
@harukananase9568
@harukananase9568 - 03.05.2022 16:18

Omyhaaad!!! You saved my life!!! Keep posting videos, please. 🙏 You earned a subscriber. 😩❤️

Ответить
@HieuLe-md7jv
@HieuLe-md7jv - 16.10.2021 18:03

really thank you

Ответить
@mustaphaELHOURA
@mustaphaELHOURA - 23.06.2021 01:47

thank you !!!

Ответить