Skip to content
Snippets Groups Projects
Commit 6e2c4607 authored by Min Oh's avatar Min Oh
Browse files

Miscellaneous

parent 69473ba8
Branches main
No related tags found
No related merge requests found
......@@ -20,8 +20,8 @@ public class HelloController {
@FXML
public void selectRegularMode(ActionEvent event) {
try {
// Load the next scene (start2.fxml)
FXMLLoader loader = new FXMLLoader(getClass().getResource("start2.fxml"));
// Load the next scene (start1.fxml)
FXMLLoader loader = new FXMLLoader(getClass().getResource("start1.fxml"));
Parent root = loader.load(); // Load the new root for the next scene
// Set the new scene on the primaryStage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment