From 4975948b434be5c40bbad2b6cd2fbe93afb9369f Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 13 Jan 2025 19:40:18 +0100 Subject: [PATCH] am pizza --- .../java/com/example/LoginController.java | 104 ++++++++++++++++-- .../src/main/resources/com/example/login.fxml | 6 +- .../classes/com/example/LoginController.class | Bin 1852 -> 2954 bytes .../target/classes/com/example/login.fxml | 6 +- 4 files changed, 100 insertions(+), 16 deletions(-) diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/LoginController.java b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/LoginController.java index 241c026..64030e6 100644 --- a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/LoginController.java +++ b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/java/com/example/LoginController.java @@ -2,35 +2,119 @@ package com.example; import java.io.IOException; +import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import javafx.scene.input.MouseEvent; +import javafx.scene.layout.GridPane; +import javafx.scene.layout.HBox; +import javafx.scene.layout.VBox; public class LoginController { - @FXML - private Label mainTitle; - @FXML private Button cartBtn; + @FXML + private VBox contactUs; + + @FXML + private VBox followUs; + + @FXML + private VBox footer; + + @FXML + private Label footerAbout; + + @FXML + private Label footerBluesky; + + @FXML + private Label footerContact; + + @FXML + private VBox footerCopy; + + @FXML + private Label footerCopyText; + + @FXML + private Label footerEmail; + + @FXML + private Label footerFacebook; + + @FXML + private Label footerHeading2; + + @FXML + private Label footerHeading3; + + @FXML + private Label footerHome; + + @FXML + private Label footerInstagram; + + @FXML + private HBox footerLinks; + + @FXML + private Label footerPhone; + + @FXML + private Label footerText; + + @FXML + private VBox formFields; + + @FXML + private Label formTitle; + + @FXML + private HBox header; + @FXML private Button loginBtn; - @FXML - private TextField usernameInput; - - @FXML - private PasswordField passwordInput; - @FXML private Button loginButton; @FXML - private Label footerCopyText; + private VBox loginForm; + + @FXML + private GridPane main; + + @FXML + private Label mainTitle; + + @FXML + private PasswordField passwordInput; + + @FXML + private Label passwordLabel; + + @FXML + private VBox quickLinks; + + @FXML + private Button registerButton; + + @FXML + private TextField usernameInput; + + @FXML + private Label usernameLabel; + + @FXML + void handleRegisterButtonClick(ActionEvent event) { + + } @FXML private void handleCartButton() throws IOException { diff --git a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/resources/com/example/login.fxml b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/resources/com/example/login.fxml index 668bbb7..acc562f 100644 --- a/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/resources/com/example/login.fxml +++ b/Code/ost/JAVA-FX-PROJECT/_javafx_website_task/src/main/resources/com/example/login.fxml @@ -21,7 +21,7 @@