What is JFrame and its classes?

JFrame class is a type of container which inherits the java. awt. Frame class . JFrame works like the main window where components like labels, buttons, textfields are added to create a GUI. Unlike Frame, JFrame has the option to hide or close the window with the help of setDefaultCloseOperation(int) method.

Sizin İçin Seçtik  Ekran kartı Rami ne kadar önemli?

Leave a Reply

Your email address will not be published. Required fields are marked *