Given the following program which uses Swing:
import javax.swing.*;
public class Main {
public static void main(String[] args) {
MyFrame myWindow = new MyFrame();
}
}
class MyFrame extends JFrame {
public MyFrame() {
// some operations
}
}
Which operations are required to make the window visible for users?