Código fuente

 Por aquí tenemos un ejemplo del código en java que voy desarrollando.

Para Eclipse:

 

package newhorz;

import javax.swing.*;
import javax.swing.JFrame;
import javax.swing.JOptionPane;

public class v1 extends JFrame

{
   private JFrame frame;
    public v1() {
        setTitle("v");
        setSize(800, 600);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setVisible(true);
                    }
 
    public static void main(String[] args) {
        new v1                                            }
}

Comentarios

Entradas populares