Class Application

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class Application extends JFrame
Main class for the Quiz Application.

This application creates a GUI-based quiz using Java Swing. It displays questions and allows the user to interact with the quiz.

Version:
1.0.0
Author:
Anurag Zete
See Also:
  • Constructor Details

    • Application

      public Application()
      Constructs the Quiz Application window.

      Sets the default window properties such as:

      • Title: "Quiz Application"
      • Size: 500x400 pixels
      • Centered on the screen
      • Non-resizable

      Adds the ApplicationPanel component to display the quiz content.

  • Method Details

    • main

      public static void main(String[] args)
      The entry point of the Quiz Application.

      Initializes the GUI on the Event Dispatch Thread (EDT) using SwingUtilities.invokeLater() for thread safety.

      Parameters:
      args - Command-line arguments (not used).