Asked by Imrul Farhan Pritom 1620326630 on Sep 27, 2024

The close-window button is in the class JButton.

Close-window Button

A graphical interface element that, when clicked, closes the current window.

JButton

A graphical user interface component in Java Swing that represents a button which can be pressed by the user to perform an action.

  • Familiarize oneself with the capabilities of different Swing containers and components.