/*
 * 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 Examen.bolita;

import javax.swing.JFrame;

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