Centro de Bachillerato Tecnológico industrial y de servicios No.
136
Reporte de Práctica
Moran Gallardo Victor y Ojeda Abarca Juan
Alumno
Semestre: ____2___ Grupo: __B____ Turno: __Matutino____
Fecha
18/06/2024
Docente
M. en T.E. Ivonne Alonso Jiménez
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
Práctica No. 37 Calculadora
Enunciado de practica: Crea una calcualdora funcional utilizando programación
orientada a objetos.
Codigo:
public class Calculador {
public static void main(String[] args) {
Calculadora v = new Calculadora();
v.setVisible(true);
}
}
Codigo de el J frame calculadora:
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to
change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this
template
*/
package com.mycompany.calculador;
import static java.lang.Double.parseDouble;
/**
*
* @author Usuario
*/
public class Calculadora extends javax.swing.JFrame {
/**
* Creates new form Calculadora
*/
public double numero1,numero2,total;
public String operacion;
public Calculadora() {
initComponents();
}
/**
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
* 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">
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
Button_Borrar = new javax.swing.JButton();
Button_Div = new javax.swing.JButton();
Button_Multi = new javax.swing.JButton();
Button7 = new javax.swing.JButton();
Button8 = new javax.swing.JButton();
Button9 = new javax.swing.JButton();
Button_Resta = new javax.swing.JButton();
Button4 = new javax.swing.JButton();
Button5 = new javax.swing.JButton();
Button6 = new javax.swing.JButton();
Button_Suma = new javax.swing.JButton();
Button1 = new javax.swing.JButton();
Button2 = new javax.swing.JButton();
Button3 = new javax.swing.JButton();
Button0 = new javax.swing.JButton();
Buttonpunto = new javax.swing.JButton();
Button_Igual = new javax.swing.JButton();
tfPantalla = new javax.swing.JTextField();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jPanel1.setBackground(new java.awt.Color(0, 0, 0));
Button_Borrar.setBackground(new java.awt.Color(255, 153, 0));
Button_Borrar.setFont(new java.awt.Font("Segoe UI", 0, 14)); // NOI18N
Button_Borrar.setForeground(new java.awt.Color(255, 255, 255));
Button_Borrar.setText("AC");
Button_Borrar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button_BorrarActionPerformed(evt);
}
});
Button_Div.setBackground(new java.awt.Color(255, 153, 0));
Button_Div.setFont(new java.awt.Font("Segoe UI", 0, 14)); // NOI18N
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
Button_Div.setForeground(new java.awt.Color(255, 255, 255));
Button_Div.setText("/");
Button_Div.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button_DivActionPerformed(evt);
}
});
Button_Multi.setBackground(new java.awt.Color(255, 153, 0));
Button_Multi.setFont(new java.awt.Font("Segoe UI", 0, 14)); // NOI18N
Button_Multi.setForeground(new java.awt.Color(255, 255, 255));
Button_Multi.setText("X");
Button_Multi.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button_MultiActionPerformed(evt);
}
});
Button7.setText("7");
Button7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button7ActionPerformed(evt);
}
});
Button8.setText("8");
Button8.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button8ActionPerformed(evt);
}
});
Button9.setText("9");
Button9.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button9ActionPerformed(evt);
}
});
Button_Resta.setBackground(new java.awt.Color(255, 153, 0));
Button_Resta.setFont(new java.awt.Font("Segoe UI", 0, 14)); // NOI18N
Button_Resta.setForeground(new java.awt.Color(255, 255, 255));
Button_Resta.setText("-");
Button_Resta.addActionListener(new java.awt.event.ActionListener() {
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button_RestaActionPerformed(evt);
}
});
Button4.setText("4");
Button4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button4ActionPerformed(evt);
}
});
Button5.setText("5");
Button5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button5ActionPerformed(evt);
}
});
Button6.setText("6");
Button6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button6ActionPerformed(evt);
}
});
Button_Suma.setBackground(new java.awt.Color(255, 153, 0));
Button_Suma.setFont(new java.awt.Font("Segoe UI", 0, 14)); // NOI18N
Button_Suma.setForeground(new java.awt.Color(255, 255, 255));
Button_Suma.setText("+");
Button_Suma.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button_SumaActionPerformed(evt);
}
});
Button1.setText("1");
Button1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button1ActionPerformed(evt);
}
});
Button2.setText("2");
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
Button2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button2ActionPerformed(evt);
}
});
Button3.setText("3");
Button3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button3ActionPerformed(evt);
}
});
Button0.setText("0");
Button0.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button0ActionPerformed(evt);
}
});
Buttonpunto.setText(".");
Buttonpunto.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
ButtonpuntoActionPerformed(evt);
}
});
Button_Igual.setBackground(new java.awt.Color(255, 153, 0));
Button_Igual.setFont(new java.awt.Font("Segoe UI", 0, 14)); // NOI18N
Button_Igual.setForeground(new java.awt.Color(255, 255, 255));
Button_Igual.setText("=");
Button_Igual.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Button_IgualActionPerformed(evt);
}
});
tfPantalla.setEditable(false);
tfPantalla.setBackground(new java.awt.Color(255, 255, 255));
tfPantalla.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
tfPantallaActionPerformed(evt);
}
});
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(17, 17, 17)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEA
DING, false)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(Button7, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button8, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button9, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button_Resta,
javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(Button_Borrar,
javax.swing.GroupLayout.PREFERRED_SIZE, 96,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button_Div, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button_Multi, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEA
DING, false)
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(Button4, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button5, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button6, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(Button1, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button2, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Button3, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button_Suma,
javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(Button0, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Buttonpunto, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Button_Igual, javax.swing.GroupLayout.PREFERRED_SIZE,
96, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(tfPantalla))
.addContainerGap(36, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup(
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.addComponent(tfPantalla, javax.swing.GroupLayout.PREFERRED_SIZE, 32,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BAS
ELINE)
.addComponent(Button_Borrar, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button_Div, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button_Multi, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BAS
ELINE)
.addComponent(Button7, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button8, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button9, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button_Resta, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEA
DING, false)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BAS
ELINE)
.addComponent(Button4, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button5, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button6, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BAS
ELINE)
.addComponent(Button1, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button2, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button3, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addComponent(Button_Suma, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BAS
ELINE)
.addComponent(Button0, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Buttonpunto, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Button_Igual, javax.swing.GroupLayout.PREFERRED_SIZE,
45, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(29, Short.MAX_VALUE))
);
javax.swing.GroupLayout layout = new
javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
pack();
setLocationRelativeTo(null);
}// </editor-fold>
private void Button7ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"7");
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
}
private void Button0ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"0");
}
private void Button1ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"1");
}
private void Button2ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"2");
}
private void Button3ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"3");
}
private void Button4ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"4");
}
private void Button5ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"5");
}
private void Button6ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"6");
}
private void Button8ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"8");
}
private void Button9ActionPerformed(java.awt.event.ActionEvent evt) {
tfPantalla.setText(tfPantalla.getText()+"9");
}
private void ButtonpuntoActionPerformed(java.awt.event.ActionEvent evt) {
if(!(tfPantalla.getText().contains(".")))
{
tfPantalla.setText(tfPantalla.getText()+".");
}
}
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
private void tfPantallaActionPerformed(java.awt.event.ActionEvent evt) {
private void Button_BorrarActionPerformed(java.awt.event.ActionEvent evt) {
this.tfPantalla.setText("");
}
private void Button_SumaActionPerformed(java.awt.event.ActionEvent evt) {
numero1=parseDouble(tfPantalla.getText());
tfPantalla.setText("");
operacion="+";
}
private void Button_RestaActionPerformed(java.awt.event.ActionEvent evt) {
numero1=parseDouble(tfPantalla.getText());
tfPantalla.setText("");
operacion="-";
}
private void Button_MultiActionPerformed(java.awt.event.ActionEvent evt) {
numero1=parseDouble(tfPantalla.getText());
tfPantalla.setText("");
operacion="x";
}
private void Button_DivActionPerformed(java.awt.event.ActionEvent evt) {
numero1=parseDouble(tfPantalla.getText());
tfPantalla.setText("");
operacion="/";
}
private void Button_IgualActionPerformed(java.awt.event.ActionEvent evt) {
if (operacion.equals("+"))
{
if(!tfPantalla.getText().equals(""))
{
numero2=parseDouble(tfPantalla.getText());
total=numero1+numero2;
tfPantalla.setText(""+total);
}
}
if (operacion.equals("-"))
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
{
if(!tfPantalla.getText().equals(""))
{
numero2=parseDouble(tfPantalla.getText());
total=numero1-numero2;
tfPantalla.setText(""+total);
}
}
if (operacion.equals("x"))
{
if(!tfPantalla.getText().equals(""))
{
numero2=parseDouble(tfPantalla.getText());
total=numero1*numero2;
tfPantalla.setText(""+total);
}
}
if(operacion.equals("/"))
{
if(!tfPantalla.getText().equals(""))
{
numero2=parseDouble(tfPantalla.getText());
total=numero1/numero2;
tfPantalla.setText(""+total);
}
}
}
/**
* @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())) {
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Calculadora.class.getName()).log(java.util.logging.Lev
el.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Calculadora.class.getName()).log(java.util.logging.Lev
el.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Calculadora.class.getName()).log(java.util.logging.Lev
el.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Calculadora.class.getName()).log(java.util.logging.Lev
el.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Calculadora().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton Button0;
private javax.swing.JButton Button1;
private javax.swing.JButton Button2;
private javax.swing.JButton Button3;
private javax.swing.JButton Button4;
private javax.swing.JButton Button5;
private javax.swing.JButton Button6;
private javax.swing.JButton Button7;
private javax.swing.JButton Button8;
private javax.swing.JButton Button9;
private javax.swing.JButton Button_Borrar;
private javax.swing.JButton Button_Div;
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica
private javax.swing.JButton Button_Igual;
private javax.swing.JButton Button_Multi;
private javax.swing.JButton Button_Resta;
private javax.swing.JButton Button_Suma;
private javax.swing.JButton Buttonpunto;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
private javax.swing.JLabel jLabel2;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JTextField tfPantalla;
// End of variables declaration
}
Captura de Ejecución:
Centro de Bachillerato Tecnológico industrial y de servicios No. 136
Reporte de Práctica