Class Main

java.lang.Object
javafx.application.Application
Main

public class Main extends javafx.application.Application
This Main Class serves as the entry point for the POS System Application. It will initialize the session and load to the login page
Since:
2023-03-07
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.application.Application

    javafx.application.Application.Parameters
  • Field Summary

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The classic main function
    void
    start(javafx.stage.Stage primaryStage)
    Load the graphical user interface

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Main

      public Main()
      Constructor
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage) throws Exception
      Load the graphical user interface
      Specified by:
      start in class javafx.application.Application
      Parameters:
      primaryStage - initial Stage
      Throws:
      Exception - when the gui fails to load
    • main

      public static void main(String[] args)
      The classic main function
      Parameters:
      args - command line arguments