Module project.pong
Package project.pong

Class PongApp

java.lang.Object
javafx.application.Application
project.pong.PongApp

public class PongApp extends javafx.application.Application
The PongApp class is the main entry point of the Pong game application.
  • 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The main method launches the application.
    void
    start(javafx.stage.Stage stage)
    The start method initializes the application.

    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

    • PongApp

      public PongApp()
  • Method Details

    • main

      public static void main(String[] args)
      The main method launches the application.
      Parameters:
      args - The command-line arguments.
    • start

      public void start(javafx.stage.Stage stage) throws IOException
      The start method initializes the application.
      Specified by:
      start in class javafx.application.Application
      Parameters:
      stage - The primary stage for the application.
      Throws:
      IOException - If an I/O error occurs.