Answers for "JFrame frame = new JFrame ();"

0

JFrame frame = 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);
  }
}
Posted by: Guest on September-19-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language