Class OldMain

java.lang.Object
javafx.application.Application
OldMain

@Deprecated public class OldMain extends javafx.application.Application
Deprecated.
The old version of main
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
    Deprecated.
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Deprecated.
    The classic main function
    void
    start(javafx.stage.Stage primaryStage)
    Deprecated.
    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

    • OldMain

      public OldMain()
      Deprecated.
      Constructor
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage) throws Exception
      Deprecated.
      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)
      Deprecated.
      The classic main function
      Parameters:
      args - command line arguments