Intro-page UI implemented.

This commit is contained in:
Asal Lotfi
2025-06-17 01:22:18 +03:30
parent be9cde5c6b
commit c1b14a9159
9 changed files with 169 additions and 6 deletions
@@ -12,9 +12,9 @@ import java.io.IOException;
public class TelegramApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("login_view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 320, 240);
stage.setTitle("Hello!");
FXMLLoader fxmlLoader = new FXMLLoader(TelegramApplication.class.getResource("/org/to/telegramfinalproject/Intro.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 350, 500);
stage.setTitle("Telegram");
stage.setScene(scene);
stage.show();
}
@@ -22,5 +22,4 @@ public class TelegramApplication extends Application {
launch();
}
}
}