Show other form when click button Java FX netbeans : i want to solve my homework and i dont know how to start, the goal is make 2 form Gui in JavaFX the 1st is home form contain Button1, when the user click Button1 : show the 2nd Form and close the 1st

how to do that ? hope to give me examples

thanks for reading and helping 