/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package PoligonoRegular;

import javax.swing.JFrame;

/**
 *
 * @author felix
 */
public class Principal extends JFrame{
    Dibujar area;
    Principal(){
        area = new Dibujar();
        add(area);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 
        setVisible(true);
        this.setResizable(false);
        pack();  
        area.repaint();
    }
    
    static public void main(String args[]){
        new Principal();
    }
}
