What is jframe?

devquora
devquora

Posted On: Feb 25, 2020

 

JFrame, Swing's top-level container provides a window on the screen and frame is a support window where additional components depend, like the menu bar, panel, label, text field, button, etc. Nearly every Swing application commences with a JFrame window. The javax.swing.JFrame class is a container that inherits the java.awt.Frame class. Moreover, JFrame operates like the main window where elements like label, button, text field are combined to create a GUI. Unlike Frame, JFrame has the choice to hide or terminate the window with the help of setDefaultCloseOperation(int) function.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    NIIT Technologies Java Interview Questions

    What is abstraction?

    Abstraction is basically used to separate the useless data from the essential ones. Only the important things that need to be shown to the users are only being exposed. Here in these issues, the users...

    NIIT Technologies Java Interview Questions

    What is the difference between left and right outer join?

    The difference between the left and right outer join is as follows:S. N. Left Join Outer Join1 A left outer join provides the table in the FROM clause whose all rows are returned....

    NIIT Technologies Java Interview Questions

    Explain how HashMap works?

    HashMap in Java works on hashing principles. Hashing is a process in which hash functions are used to link key and value in HashMap....