What is "jframe"

Definition:

The JFrame is the class of the package javax.swing representing a window. It is an extended version of the class java.awt.Frame adding support for JFC/Swing component architecture.

Unlike the class Frame, the JFrame has some notion of how to respond when the user tries to close the window: the default behavior is to simply hide the JFrame. To change the default behavior, you invoke the method setDefaultCloseOperation(int). To make the JFrame behave in the same way as an instance of Frame, use setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE).

Practical Example:

import javax.swing.JFrame;

public class MeuPrimeiroFrame {
    public static void main(String[] args) {
        JFrame frame = new JFrame(“Minha primeira janela”);
        frame.setVisible(true);
    }
}

For more information, visit: Getting to know Jframe.