Skip to content

Commit 559d995

Browse files
committed
Update build.bat to improve Java version checks, streamline application execution, and enhance pom.xml configuration by removing obsolete module path arguments.
1 parent ad7acd3 commit 559d995

19 files changed

+63
-0
lines changed
1.21 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
2.95 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

target/classes/fxml/login.fxml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import javafx.geometry.Insets?>
4+
<?import javafx.scene.control.*?>
5+
<?import javafx.scene.layout.*?>
6+
<?import javafx.scene.text.*?>
7+
8+
<VBox alignment="CENTER" spacing="20" xmlns:fx="http://javafx.com/fxml" fx:controller="com.securefilevault.controllers.LoginController">
9+
<padding>
10+
<Insets top="50" right="50" bottom="50" left="50"/>
11+
</padding>
12+
13+
<Text text="Secure File Vault" style="-fx-font-size: 24px; -fx-font-weight: bold;"/>
14+
<Text text="Sign in to access your encrypted files" style="-fx-font-size: 14px;"/>
15+
16+
<VBox spacing="10" style="-fx-pref-width: 300;">
17+
<TextField fx:id="usernameField" promptText="Username"/>
18+
<PasswordField fx:id="passwordField" promptText="Password"/>
19+
<Button fx:id="loginButton" text="Login" style="-fx-background-color: #2196F3; -fx-text-fill: white; -fx-pref-width: 300;"/>
20+
<Hyperlink fx:id="registerLink" text="Don't have an account? Register"/>
21+
</VBox>
22+
23+
<Label fx:id="errorLabel" style="-fx-text-fill: red;"/>
24+
</VBox>

target/classes/fxml/main.fxml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import javafx.geometry.Insets?>
4+
<?import javafx.scene.control.*?>
5+
<?import javafx.scene.layout.*?>
6+
<?import javafx.scene.text.*?>
7+
8+
<VBox xmlns:fx="http://javafx.com/fxml" fx:controller="com.securefilevault.controllers.MainController" spacing="20">
9+
<padding>
10+
<Insets top="20" right="20" bottom="20" left="20"/>
11+
</padding>
12+
13+
<HBox spacing="10" alignment="CENTER_RIGHT">
14+
<Label fx:id="welcomeLabel" style="-fx-font-size: 16px;"/>
15+
<Button fx:id="logoutButton" text="Logout" style="-fx-background-color: #f44336; -fx-text-fill: white;"/>
16+
</HBox>
17+
18+
<Separator/>
19+
20+
<VBox spacing="10">
21+
<Text text="File Operations" style="-fx-font-size: 18px; -fx-font-weight: bold;"/>
22+
23+
<HBox spacing="10">
24+
<Button fx:id="encryptButton" text="Encrypt File" style="-fx-background-color: #4CAF50; -fx-text-fill: white;"/>
25+
<Button fx:id="decryptButton" text="Decrypt File" style="-fx-background-color: #2196F3; -fx-text-fill: white;"/>
26+
</HBox>
27+
28+
<ListView fx:id="fileListView" VBox.vgrow="ALWAYS">
29+
<placeholder>
30+
<Label text="No files selected"/>
31+
</placeholder>
32+
</ListView>
33+
</VBox>
34+
35+
<VBox spacing="10">
36+
<Text text="Status" style="-fx-font-size: 18px; -fx-font-weight: bold;"/>
37+
<Label fx:id="statusLabel" style="-fx-text-fill: #666;"/>
38+
</VBox>
39+
</VBox>

target/classes/module-info.class

387 Bytes
Binary file not shown.
643 KB
Binary file not shown.

0 commit comments

Comments
 (0)