0
//NEX GUI
import javax.swing.JFrame;
public class NEX { extends JFrame

    private static final int WIDTH =500;
    private static final int HEIGHT =175;

    public NEX()
    {
      setTitle("New Customer"); //sets the title of the frame
      setSize(Width,Height);
    }        


    /**
      * @param args the command line arguments
      */
    public static void main(String[] args) {
      JFrame aNEX =new NEX();
      aNEX.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      aNEX.setVisible(true); //display the frame
      // TODO code application logic here
    }
}
4

1 に答える 1