JFrame Fram = new Jframe ();

import java.swing.*;

public class Main {
	public static void main(String[] args) { 
  		JFrame frame = new JFrame();
        
        frame.setTitle("My First GUI"); 
        frame.setVisible(true);
  }
}
Tame Tiger