/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Pendulo;

import javax.swing.JFrame;

public class Principal extends JFrame{
    AreaDibujo miArea = new AreaDibujo();
    public Principal() {
        this.add(miArea);        
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 
        this.setVisible(true);
        pack();

    }

    static public void main(String args[]) {
        new Principal();
    }
}
