It looks like you're using an Ad Blocker.
Please white-list or disable AboveTopSecret.com in your ad-blocking tool.
Thank you.
Some features of ATS will be disabled while you continue to use an ad-blocker.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package firstgui;
import javax.swing.*;
import java.awt.Container;
import java.awt.GridLayout;
import javax.swing.JOptionPane;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
/**
*
* @author AndoniMacPro
*/
public class Firstgui [
public static void main(String[] args) [
JFrame frame = new JFrame();
//frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocation(200,300);
frame.setSize(500,175);
frame.setTitle("Welcome to Juan's Music");
frame.setVisible(true);
]
]