Answer:
import javax.swing.JFrame;
public class Main {
public static void main(String[] args) {
// Create a frame
JFrame frame = new JFrame("Swing");
// Display the frame
frame.setVisible(true);
}
Step-by-step explanation:
6.5m questions
8.6m answers