You are on page 1of 13

import javax.swing.

JOptionPane;

/*
 * 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.
 */

/**
 *
 * @author fam
 */
public class Areas extends javax.swing.JFrame {

    /**
     * Creates new form Areas
     */
    public Areas(){ 
            getContentPane().setBackground(new java.awt.Color(100,218,218));
        initComponents();
  }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-
BEGIN:initComponents
    private void initComponents() {

        Figuras = new javax.swing.ButtonGroup();


        jLabel1 = new javax.swing.JLabel();
        btnHexagono = new javax.swing.JRadioButton();
        btnCirculo = new javax.swing.JRadioButton();
        btnRectangulo = new javax.swing.JRadioButton();
        imgHexagono = new javax.swing.JLabel();
        imgCirculo = new javax.swing.JLabel();
        imgRectangulo = new javax.swing.JLabel();
        etqLado = new javax.swing.JLabel();
        txtLado = new javax.swing.JTextField();
        etqRadio = new javax.swing.JLabel();
        txtRadio = new javax.swing.JTextField();
        etqAltura = new javax.swing.JLabel();
        etqBase = new javax.swing.JLabel();
        txtAltura = new javax.swing.JTextField();
        txtBase = new javax.swing.JTextField();
        btnCalcular = new javax.swing.JButton();
        etqResult = new javax.swing.JLabel();
        etqElArea = new javax.swing.JLabel();
        etqElArea1 = new javax.swing.JLabel();
        etqElArea2 = new javax.swing.JLabel();
        btnCalCirculo = new javax.swing.JButton();
        btnCalRectangulo = new javax.swing.JButton();
        etqresultCirculo = new javax.swing.JLabel();
        etqresultRectangulo = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Calculo de Areas");
        setBackground(new java.awt.Color(100, 218, 218));

        jLabel1.setFont(new java.awt.Font("Cooper Black", 0, 24)); // NOI18N


        jLabel1.setText("CALCULO DE AREAS");

        btnHexagono.setBackground(new java.awt.Color(102, 0, 102));


        Figuras.add(btnHexagono);
        btnHexagono.setText("Hexagono");
        btnHexagono.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnHexagonoActionPerformed(evt);
      }
        });

        btnCirculo.setBackground(new java.awt.Color(102, 0, 102));


        Figuras.add(btnCirculo);
        btnCirculo.setText("Circulo");
        btnCirculo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCirculoActionPerformed(evt);
      }
        });

        btnRectangulo.setBackground(new java.awt.Color(102, 0, 102));


        Figuras.add(btnRectangulo);
        btnRectangulo.setText("Rectangulo");
        btnRectangulo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnRectanguloActionPerformed(evt);
      }
        });

        imgHexagono.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/descarga.png"))); // NOI18N

        imgCirculo.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/circulo.jpg"))); // NOI18N

        imgRectangulo.setBackground(new java.awt.Color(153, 255, 153));


        imgRectangulo.setForeground(new java.awt.Color(51, 102, 0));
        imgRectangulo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/descarga
(1).png"))); // NOI18N

        etqLado.setBackground(new java.awt.Color(0, 204, 204));


        etqLado.setFont(new java.awt.Font("Comic Sans MS", 2, 14)); // NOI18N
        etqLado.setText("Lado : ");

        txtLado.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N


        txtLado.setEnabled(false);
        txtLado.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtLadoActionPerformed(evt);
      }
        });

        etqRadio.setFont(new java.awt.Font("Comic Sans MS", 2, 14)); // NOI18N


        etqRadio.setText("Radio :");

        txtRadio.setEnabled(false);

        etqAltura.setFont(new java.awt.Font("Comic Sans MS", 2, 14)); // NOI18N


        etqAltura.setText("Altura : ");

        etqBase.setFont(new java.awt.Font("Comic Sans MS", 2, 14)); // NOI18N


        etqBase.setText("Base :");

        txtAltura.setEnabled(false);

        txtBase.setEnabled(false);

        btnCalcular.setBackground(new java.awt.Color(204, 153, 255));


        btnCalcular.setFont(new java.awt.Font("Jokerman", 0, 14)); // NOI18N
        btnCalcular.setText("Calcular");
        btnCalcular.setEnabled(false);
        btnCalcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCalcularActionPerformed(evt);
      }
        });

        etqResult.setToolTipText("");

        etqElArea.setFont(new java.awt.Font("Comic Sans MS", 2, 14)); // NOI18N


        etqElArea.setText("El area es :");

        etqElArea1.setFont(new java.awt.Font("Comic Sans MS", 2, 14)); // NOI18N


        etqElArea1.setText("El area es :");

        etqElArea2.setFont(new java.awt.Font("Comic Sans MS", 2, 14)); // NOI18N


        etqElArea2.setText("El area es :");

        btnCalCirculo.setBackground(new java.awt.Color(153, 153, 255));


        btnCalCirculo.setFont(new java.awt.Font("Jokerman", 0, 14)); // NOI18N
        btnCalCirculo.setText("Calcular");
        btnCalCirculo.setEnabled(false);
        btnCalCirculo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCalCirculoActionPerformed(evt);
      }
        });

        btnCalRectangulo.setBackground(new java.awt.Color(153, 204, 255));


        btnCalRectangulo.setFont(new java.awt.Font("Jokerman", 0, 14)); // NOI18N
        btnCalRectangulo.setText("Calcular");
        btnCalRectangulo.setEnabled(false);
        btnCalRectangulo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCalRectanguloActionPerformed(evt);
      }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());


        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(imgRectangulo)
                        .addGap(18, 18, 18)
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(etqElArea2)
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(etqresultRectangulo,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(etqBase)
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(txtBase, javax.swing.GroupLayout.PREFERRED_SIZE, 69,
javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(etqAltura)
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtAltura, javax.swing.GroupLayout.PREFERRED_SIZE,
60, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(imgCirculo)
                        .addGap(18, 18, 18)
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(etqElArea)
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(etqresultCirculo,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
              
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(btnCalcular)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(etqRadio)
                  
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(txtRadio, javax.swing.GroupLayout.PREFERRED_SIZE,
85, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(18, 18, 18)
                                    .addComponent(btnCalCirculo))
                                .addComponent(btnCalRectangulo))))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(54, 54, 54)
                        .addComponent(btnCirculo))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(47, 47, 47)
                        .addComponent(btnRectangulo))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(42, 42, 42)
                        .addComponent(btnHexagono)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 281,
javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(imgHexagono, javax.swing.GroupLayout.PREFERRED_SIZE,
163, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(etqLado)
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtLado, javax.swing.GroupLayout.PREFERRED_SIZE, 93,
javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(etqElArea1)
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(etqResult, javax.swing.GroupLayout.PREFERRED_SIZE,
188, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(43, 43, 43))))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnHexagono)
        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(12, 12, 12)
                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(etqLado)
                                    .addComponent(txtLado, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(layout.createSequentialGroup()
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(btnCalcular)
                                .addGap(16, 16, 16)))
                        .addGap(14, 14, 14)
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(etqResult, javax.swing.GroupLayout.PREFERRED_SIZE, 27,
javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(etqElArea1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(imgHexagono)
            
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addComponent(btnCirculo)
        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(imgCirculo)
                    .addGroup(layout.createSequentialGroup()
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(43, 43, 43)
                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(etqRadio)
                                    .addComponent(txtRadio, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(28, 28, 28))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
                                .addComponent(btnCalCirculo)
                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(etqElArea)
                            .addComponent(etqresultCirculo,
javax.swing.GroupLayout.PREFERRED_SIZE, 21,
javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnRectangulo)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(imgRectangulo)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(etqAltura)
                            .addComponent(txtAltura, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(btnCalRectangulo))
                        .addGap(11, 11, 11)
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(etqBase)
                            .addComponent(txtBase, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
            
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
            
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(etqElArea2)
                            .addComponent(etqresultRectangulo,
javax.swing.GroupLayout.PREFERRED_SIZE, 21,
javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(32, 32, 32))))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnRectanguloActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_btnRectanguloActionPerformed
        // TODO add your handling code here:
        btnHexagono.setEnabled(false);
        btnCirculo.setEnabled(false);
         txtLado.setEnabled(false);
         btnCalcular.setEnabled(false); 
         txtRadio.setEnabled(false);
         btnCalCirculo.setEnabled(false);
         txtAltura.setEnabled(true);
      txtBase.setEnabled(true);
      btnCalRectangulo.setEnabled(true);
                  

    }//GEN-LAST:event_btnRectanguloActionPerformed
    private void btnCirculoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-
FIRST:event_btnCirculoActionPerformed
        // TODO add your handling code here:
         btnHexagono.setEnabled(false);
         txtLado.setEnabled(false);
         btnCalcular.setEnabled(false);
         btnRectangulo.setEnabled(false);
         txtAltura.setEnabled(false);
         txtBase.setEnabled(false);
         btnCalRectangulo.setEnabled(false);
          txtRadio.setEnabled(true);
         btnCalCirculo.setEnabled(true);
    }//GEN-LAST:event_btnCirculoActionPerformed

    private void btnHexagonoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_btnHexagonoActionPerformed
   // TODO add your handling code here:
   
      btnRectangulo.setEnabled(false);
      txtAltura.setEnabled(false);
      txtBase.setEnabled(false);
      btnCalRectangulo.setEnabled(false);
      btnCirculo.setEnabled(false);
      txtRadio.setEnabled(false);
      btnCalCirculo.setEnabled(false);
      txtLado.setEnabled(true);
         btnCalcular.setEnabled(true);
    }//GEN-LAST:event_btnHexagonoActionPerformed

    private void txtLadoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_txtLadoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtLadoActionPerformed

    private void btnCalcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_btnCalcularActionPerformed
        // TODO add your handling code here:
        String lado,apotema,total2;
        float L,p,b,b2,c2,a2;
        Double apt,area,tot;
        lado=txtLado.getText();
        L=Float.parseFloat(lado);
        b=L/2;
        b2=b*b;
        c2=L*L;
        a2=c2-b2;
        apt=Math.sqrt(a2);
        p=L*6;
        area=p*apt;
        tot=area/2;
        total2=String.valueOf(tot);
        etqResult.setText(total2);
        
    }//GEN-LAST:event_btnCalcularActionPerformed

    private void btnCalCirculoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_btnCalCirculoActionPerformed
        // TODO add your handling code here:
        String radio,total;
        Double area,r,r2,PI;
        PI=Math.PI;
        radio=txtRadio.getText();
        r=Double.parseDouble(radio);
        r2=r*r;     
        area=PI*r2;
        total=String.valueOf(area);
        etqresultCirculo.setText(total);
        
        
        
        
    }//GEN-LAST:event_btnCalCirculoActionPerformed

    private void btnCalRectanguloActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_btnCalRectanguloActionPerformed
        // TODO add your handling code here:
        String base ,altura,total;
        float area,h,b;
        altura=txtAltura.getText();
        base=txtBase.getText();
        h=Float.parseFloat(altura);
        b=Float.parseFloat(base);
        area=b*h;
        total=String.valueOf(area);
        etqresultRectangulo.setText(total);
        
    }//GEN-LAST:event_btnCalRectanguloActionPerformed
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional)
">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and
feel.
         * For details
see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
        }
      }
        } catch (ClassNotFoundException ex) {
      
java.util.logging.Logger.getLogger(Areas.class.getName()).log(java.util.logging.Level.SEVER
E, null, ex);
        } catch (InstantiationException ex) {
      
java.util.logging.Logger.getLogger(Areas.class.getName()).log(java.util.logging.Level.SEVER
E, null, ex);
        } catch (IllegalAccessException ex) {
      
java.util.logging.Logger.getLogger(Areas.class.getName()).log(java.util.logging.Level.SEVER
E, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
      
java.util.logging.Logger.getLogger(Areas.class.getName()).log(java.util.logging.Level.SEVER
E, null, ex);
    }
        //</editor-fold>

        /* Create and display the form */


        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Areas().setVisible(true);
      }
        });
  }

    // Variables declaration - do not modify//GEN-BEGIN:variables


    private javax.swing.ButtonGroup Figuras;
    private javax.swing.JButton btnCalCirculo;
    private javax.swing.JButton btnCalRectangulo;
    private javax.swing.JButton btnCalcular;
    private javax.swing.JRadioButton btnCirculo;
    private javax.swing.JRadioButton btnHexagono;
    private javax.swing.JRadioButton btnRectangulo;
    private javax.swing.JLabel etqAltura;
    private javax.swing.JLabel etqBase;
    private javax.swing.JLabel etqElArea;
    private javax.swing.JLabel etqElArea1;
    private javax.swing.JLabel etqElArea2;
    private javax.swing.JLabel etqLado;
    private javax.swing.JLabel etqRadio;
    private javax.swing.JLabel etqResult;
    private javax.swing.JLabel etqresultCirculo;
    private javax.swing.JLabel etqresultRectangulo;
    private javax.swing.JLabel imgCirculo;
    private javax.swing.JLabel imgHexagono;
    private javax.swing.JLabel imgRectangulo;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JTextField txtAltura;
    private javax.swing.JTextField txtBase;
    private javax.swing.JTextField txtLado;
    private javax.swing.JTextField txtRadio;
    // End of variables declaration//GEN-END:variables
}

You might also like