Compare commits
No commits in common. "3f7fa449d58750bf874d10463cd9b2808040e288" and "02963337335be13df6913a1e1b889b79a6f76822" have entirely different histories.
3f7fa449d5
...
0296333733
@ -15,18 +15,10 @@ public class MainApplication extends Application {
|
|||||||
|
|
||||||
Scene scene = new Scene(fxmlLoader.load(), 1200, 700);
|
Scene scene = new Scene(fxmlLoader.load(), 1200, 700);
|
||||||
scene.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("main-view.css")).toExternalForm());
|
scene.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("main-view.css")).toExternalForm());
|
||||||
stage.setTitle("SharePlaner");
|
stage.setTitle("Hello!");
|
||||||
stage.setScene(scene);
|
stage.setScene(scene);
|
||||||
stage.show();
|
stage.show();
|
||||||
|
|
||||||
FXMLLoader fxmlLoaderLogin = new FXMLLoader(MainApplication.class.getResource("../users/login.fxml"));
|
|
||||||
Scene sceneLogin = new Scene(fxmlLoaderLogin.load(), 650, 500);
|
|
||||||
sceneLogin.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("../users/login.css")).toExternalForm());
|
|
||||||
Stage stageLogin = new Stage();
|
|
||||||
stageLogin.setTitle("Anmelden");
|
|
||||||
stageLogin.setScene(sceneLogin);
|
|
||||||
stageLogin.show();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
package users;
|
|
||||||
|
|
||||||
public class LoginControler {
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<?import java.lang.*?>
|
|
||||||
<?import java.util.*?>
|
|
||||||
<?import javafx.scene.*?>
|
|
||||||
<?import javafx.scene.control.*?>
|
|
||||||
<?import javafx.scene.layout.*?>
|
|
||||||
|
|
||||||
<GridPane xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="users.LoginControler">
|
|
||||||
|
|
||||||
<columnConstraints>
|
|
||||||
<ColumnConstraints/>
|
|
||||||
<ColumnConstraints/>
|
|
||||||
<ColumnConstraints/>
|
|
||||||
</columnConstraints>
|
|
||||||
<rowConstraints>
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
</rowConstraints>
|
|
||||||
|
|
||||||
<Label GridPane.columnIndex="1">Anmelden</Label>
|
|
||||||
|
|
||||||
<Label GridPane.rowIndex="1">Username</Label>
|
|
||||||
<TextField GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="userField"></TextField>
|
|
||||||
<Label GridPane.columnIndex="2" GridPane.rowIndex="1" fx:id="userErrLabel">Error</Label>
|
|
||||||
|
|
||||||
<Label GridPane.rowIndex="2">Paswort</Label>
|
|
||||||
<PasswordField GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="passField"></PasswordField>
|
|
||||||
<Label GridPane.columnIndex="2" GridPane.rowIndex="2" fx:id="passErrLabel">Error</Label>
|
|
||||||
|
|
||||||
<Button GridPane.columnIndex="1" GridPane.rowIndex="3">Beenden</Button>
|
|
||||||
<Button GridPane.columnIndex="2" GridPane.rowIndex="3">Anmelden</Button>
|
|
||||||
|
|
||||||
</GridPane>
|
|
Loading…
Reference in New Issue
Block a user