Aplikasi POS Amigo, dibangun dengan JavaFX dengan Maven
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
939 B

  1. package id.amigogroup.posterminal;
  2. import id.amigogroup.posterminal.util.Fucout;
  3. import java.util.Locale;
  4. import javafx.application.Application;
  5. import javafx.fxml.FXMLLoader;
  6. import javafx.scene.Parent;
  7. import javafx.scene.Scene;
  8. import javafx.scene.image.Image;
  9. import javafx.scene.layout.StackPane;
  10. import javafx.stage.Stage;
  11. /**
  12. * JavaFX App
  13. */
  14. public class App extends Application {
  15. @Override
  16. public void start(Stage stage) throws Exception {
  17. Locale.setDefault(Locale.forLanguageTag("in-ID"));
  18. Parent root = FXMLLoader.load(getClass().getResource("/fxml/FormLogin.fxml"));
  19. Scene scene = new Scene(root);
  20. stage.setScene(scene);
  21. stage.setResizable(false);
  22. stage.setTitle(Fucout.APP_TITLE);
  23. stage.getIcons().add(new Image(Fucout.APP_ICON));
  24. stage.show();
  25. }
  26. public static void main(String[] args) {
  27. launch();
  28. }
  29. }