Compare commits
No commits in common. "5447d7f238d29a8e31d78c426ff69f3d1b4838cc" and "50e0118dedd89aa4d714dfc46312486c3296dd18" have entirely different histories.
5447d7f238
...
50e0118ded
2
pom.xml
2
pom.xml
@ -69,7 +69,7 @@
|
|||||||
<id>default-cli</id>
|
<id>default-cli</id>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mainClass>
|
<mainClass>
|
||||||
com.bib.essensbestellungsverwaltung/com.bib.essensbestellungsverwaltung.StartViewApplication
|
com.bib.essensbestellungsverwaltung/com.bib.essensbestellungsverwaltung.HelloApplication
|
||||||
</mainClass>
|
</mainClass>
|
||||||
<launcher>app</launcher>
|
<launcher>app</launcher>
|
||||||
<jlinkZipName>app</jlinkZipName>
|
<jlinkZipName>app</jlinkZipName>
|
||||||
|
@ -12,11 +12,11 @@ import javafx.stage.Stage;
|
|||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
public class StartViewApplication extends Application {
|
public class HelloApplication extends Application {
|
||||||
public static Stage primary;
|
public static Stage primary;
|
||||||
@Override
|
@Override
|
||||||
public void start(Stage stage) throws IOException {
|
public void start(Stage stage) throws IOException {
|
||||||
FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("login-view.fxml"));
|
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("login-view.fxml"));
|
||||||
Scene scene = new Scene(fxmlLoader.load(), 950,480);
|
Scene scene = new Scene(fxmlLoader.load(), 950,480);
|
||||||
//stage = primary;
|
//stage = primary;
|
||||||
stage.setTitle("Essen Bestellung im Kindergarten");
|
stage.setTitle("Essen Bestellung im Kindergarten");
|
@ -1,10 +1,12 @@
|
|||||||
/*Richard Reiswich*/
|
/*Richard Reiswich*/
|
||||||
package com.bib.essensbestellungsverwaltung;
|
package com.bib.essensbestellungsverwaltung;
|
||||||
|
|
||||||
|
import javafx.beans.NamedArg;
|
||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.fxml.FXMLLoader;
|
import javafx.fxml.FXMLLoader;
|
||||||
import javafx.scene.Scene;
|
import javafx.scene.Scene;
|
||||||
import javafx.scene.control.Alert;
|
import javafx.scene.control.Alert;
|
||||||
|
import javafx.scene.control.Button;
|
||||||
import javafx.scene.control.PasswordField;
|
import javafx.scene.control.PasswordField;
|
||||||
import javafx.scene.control.TextField;
|
import javafx.scene.control.TextField;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
@ -26,7 +28,7 @@ public class LoginController {
|
|||||||
String email = tfEmail.getText();
|
String email = tfEmail.getText();
|
||||||
String password = pfPassword.getText();
|
String password = pfPassword.getText();
|
||||||
if(benutzerMap.containsKey(email) && benutzerMap.containsValue(password)){
|
if(benutzerMap.containsKey(email) && benutzerMap.containsValue(password)){
|
||||||
FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("menue-view.fxml"));
|
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("menue-view.fxml"));
|
||||||
Scene scene = new Scene(fxmlLoader.load(), 950,480);
|
Scene scene = new Scene(fxmlLoader.load(), 950,480);
|
||||||
Stage stage = new Stage();
|
Stage stage = new Stage();
|
||||||
stage.setTitle("Essen Bestellung im Kindergarten");
|
stage.setTitle("Essen Bestellung im Kindergarten");
|
||||||
@ -42,7 +44,7 @@ public class LoginController {
|
|||||||
}
|
}
|
||||||
@FXML
|
@FXML
|
||||||
protected void changeToSignUp() throws IOException {
|
protected void changeToSignUp() throws IOException {
|
||||||
FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("signUp-view.fxml"));
|
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("signUp-view.fxml"));
|
||||||
Scene scene = new Scene(fxmlLoader.load(), 950,480);
|
Scene scene = new Scene(fxmlLoader.load(), 950,480);
|
||||||
Stage stage = new Stage();
|
Stage stage = new Stage();
|
||||||
stage.setTitle("Essen Bestellung im Kindergarten");
|
stage.setTitle("Essen Bestellung im Kindergarten");
|
||||||
|
@ -5,7 +5,7 @@ public class SuperMain {
|
|||||||
if(args.length > 0){
|
if(args.length > 0){
|
||||||
ConsoleMain.main(args);
|
ConsoleMain.main(args);
|
||||||
}else {
|
}else {
|
||||||
StartViewApplication.main(args);
|
HelloApplication.main(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user