0% found this document useful (0 votes)
2 views11 pages

Documento importante no. III

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 11

Tienda.

java
package login;

import javax.swing.JOptionPane;
import javax.swing.plaf.OptionPaneUI;
import javax.swing.table.DefaultTableModel;

public class Tienda extends javax.swing.JFrame {


DefaultTableModel tm = new DefaultTableModel();
public Tienda() {
initComponents();
String ids[]={"producto","precio","cantidad","subtotal"};
tm.setColumnIdentifiers(ids);
mt.setModel(tm);
this.setLocationRelativeTo(null);
this.setTitle("Sistema de ventas");
double total = 0.0;
}
double total = 0.0;
public void ActualizarTotal(){
for(int i = 0; i<mt.getRowCount(); i++){
total += (double) mt.getValueAt(i, 3);
}
lblTotal.setText(String.format("%.2f", total));
}

private void finalizarCompra(){


DefaultTableModel modelo = (DefaultTableModel) mt.getModel();
modelo.setRowCount(0);
}

@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

jMenuItem1 = new javax.swing.JMenuItem();


jScrollPane1 = new javax.swing.JScrollPane();
jTable1 = new javax.swing.JTable();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
Producto = new javax.swing.JTextField();
Precio = new javax.swing.JTextField();
Cantidad = new javax.swing.JTextField();
Limpiar = new javax.swing.JButton();
jScrollPane2 = new javax.swing.JScrollPane();
mt = new javax.swing.JTable();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
lblTotal = new javax.swing.JLabel();
Borrar = new javax.swing.JButton();
Agregar = new javax.swing.JButton();
Terminar = new javax.swing.JButton();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu1 = new javax.swing.JMenu();
Cerrar = new javax.swing.JMenuItem();
jMenu2 = new javax.swing.JMenu();

jMenuItem1.setText("jMenuItem1");

jTable1.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null, null, null},
{null, null, null, null},
{null, null, null, null},
{null, null, null, null}
},
new String [] {
"Title 1", "Title 2", "Title 3", "Title 4"
}
));
jScrollPane1.setViewportView(jTable1);

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jLabel1.setText("Tienda electronica");

jLabel2.setText("Producto");

jLabel3.setText("Precio");

jLabel4.setText("Cantidad");

Precio.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
PrecioActionPerformed(evt);
}
});

Limpiar.setText("Limpiar");
Limpiar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
LimpiarActionPerformed(evt);
}
});

mt.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null, null, null},
{null, null, null, null},
{null, null, null, null},
{null, null, null, null}
},
new String [] {
"Producto", "Precio", "Cantidad", "Subtotal"
}
));
jScrollPane2.setViewportView(mt);

jLabel5.setText("Detalles de la compra");

jLabel6.setText("Total:");

lblTotal.setText("0.0");

Borrar.setText("Borrar producto");
Borrar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
BorrarActionPerformed(evt);
}
});

Agregar.setText("Agregar compra");
Agregar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
AgregarActionPerformed(evt);
}
});

Terminar.setText("Terminar compra");
Terminar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
TerminarActionPerformed(evt);
}
});
jMenu1.setText("Archivo");

Cerrar.setText("Salir");
Cerrar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CerrarActionPerformed(evt);
}
});
jMenu1.add(Cerrar);

jMenuBar1.add(jMenu1);

jMenu2.setText("Editar");
jMenuBar1.add(jMenu2);

setJMenuBar(jMenuBar1);

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


getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(34, 34, 34)
.addComponent(jLabel1)
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel4)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 37,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 62,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(Producto, javax.swing.GroupLayout.DEFAULT_SIZE, 169, Short.MAX_VALUE)
.addComponent(Precio)
.addComponent(Cantidad))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Limpiar)
.addGap(22, 22, 22))
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel5)
.addGap(258, 258, 258))
.addGroup(layout.createSequentialGroup()
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 0,
Short.MAX_VALUE)
.addGap(3, 3, 3))))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(112, 112, 112)
.addComponent(jLabel6))
.addGroup(layout.createSequentialGroup()
.addGap(33, 33, 33)
.addComponent(Agregar)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(Borrar)
.addComponent(lblTotal, javax.swing.GroupLayout.PREFERRED_SIZE, 25,
javax.swing.GroupLayout.PREFERRED_SIZE))))
.addGroup(layout.createSequentialGroup()
.addGap(122, 122, 122)
.addComponent(Terminar)))
.addContainerGap(19, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(19, 19, 19)
.addComponent(jLabel1)
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(Producto, 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(jLabel3)
.addComponent(Precio, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Limpiar))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel4)
.addComponent(Cantidad, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(40, 40, 40)
.addComponent(jLabel5)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 217,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(29, 29, 29)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel6)
.addComponent(lblTotal))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(Agregar)
.addComponent(Borrar))
.addGap(18, 18, 18)
.addComponent(Terminar)
.addContainerGap(28, Short.MAX_VALUE))
);

pack();
}// </editor-fold>

private void PrecioActionPerformed(java.awt.event.ActionEvent evt) {

private void CerrarActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
login ejecutar = new login();
ejecutar.setVisible(true);
ejecutar.setTitle(("Iniciar Sesion"));
ejecutar.setLocationRelativeTo(null);
this.setVisible(false);
}

private void AgregarActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
String producto = String.valueOf(Producto.getText());
Integer precio = Integer.valueOf(Precio.getText());
Integer cantidad = Integer.valueOf(Cantidad.getText());
double subtotal = precio * cantidad;
tm.addRow(new Object[]{producto, precio, cantidad, subtotal});
Producto.setText("");
Precio.setText("");
Cantidad.setText("");
ActualizarTotal();
}

private void BorrarActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:

int filaSeleccionada = mt.getSelectedRow();


if(filaSeleccionada >= 0){
DefaultTableModel modelo = (DefaultTableModel) mt.getModel();
modelo.removeRow(filaSeleccionada);
ActualizarTotal();}
else{
JOptionPane.showMessageDialog(null,"Selecciona una fila :v");

}
}

private void LimpiarActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
Producto.setText("");
Precio.setText("");
Cantidad.setText("");
lblTotal.setText("0.0");
}

private void TerminarActionPerformed(java.awt.event.ActionEvent evt) {


int respuesta=JOptionPane.showConfirmDialog(this, "¿Seguro/a?", "Mostrar resultados",
JOptionPane.YES_NO_OPTION);
if(respuesta==JOptionPane.YES_OPTION){
JOptionPane.showMessageDialog(null, "el total de la cmopra es: $"+total);
lblTotal.setText(String.format("%.2f", total)); // Formatear y mostrar el total correctamente
}

/**
* @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(Tienda.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Tienda.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Tienda.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Tienda.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
}
//</editor-fold>

/* Create and display the form */


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

// Variables declaration - do not modify


private javax.swing.JButton Agregar;
private javax.swing.JButton Borrar;
private javax.swing.JTextField Cantidad;
private javax.swing.JMenuItem Cerrar;
private javax.swing.JButton Limpiar;
private javax.swing.JTextField Precio;
private javax.swing.JTextField Producto;
private javax.swing.JButton Terminar;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JMenuItem jMenuItem1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JTable jTable1;
private javax.swing.JLabel lblTotal;
private javax.swing.JTable mt;
// End of variables declaration
}

Método.java
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package login;

import java.util.ArrayList;
/**
*
* @author Ufinal
*/
public class Metodo {

// Variables para almacenar datos


private ArrayList<Integer> datos = new ArrayList<>();
private String productos = "";
private int cantidad = 0;
private int precio = 0;

public Metodo() {
}

// Método para borrar datos


public void BorrarDatos() {
datos.clear();
}

login.java

/*
* 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 login;

import javax.swing.JOptionPane;

/**
*
* @author Chris
*/
public class login extends javax.swing.JFrame {

/**
* Creates new form login
*/
public login() {
initComponents();
this.setLocationRelativeTo(null);
this.setTitle("Iniciar Sesion");
}
public void Cancelar(){
Usuario.setText("");
Pass.setText("");

/**
* 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() {

jButton3 = new javax.swing.JButton();


jMenuItem1 = new javax.swing.JMenuItem();
jMenuItem2 = new javax.swing.JMenuItem();
jMenuItem3 = new javax.swing.JMenuItem();
jMenuItem4 = new javax.swing.JMenuItem();
jMenuItem5 = new javax.swing.JMenuItem();
jMenuItem6 = new javax.swing.JMenuItem();
jMenuItem7 = new javax.swing.JMenuItem();
jMenuItem8 = new javax.swing.JMenuItem();
jMenuItem9 = new javax.swing.JMenuItem();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
Usuario = new javax.swing.JTextField();
Pass = new javax.swing.JPasswordField();
Aceptar = new javax.swing.JButton();
Cancelar = new javax.swing.JButton();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu1 = new javax.swing.JMenu();
Salir = new javax.swing.JMenuItem();
jMenu2 = new javax.swing.JMenu();

jButton3.setText("jButton3");

jMenuItem1.setText("jMenuItem1");

jMenuItem2.setText("jMenuItem2");

jMenuItem3.setText("jMenuItem3");

jMenuItem4.setText("jMenuItem4");

jMenuItem5.setText("jMenuItem5");

jMenuItem6.setText("jMenuItem6");

jMenuItem7.setText("jMenuItem7");

jMenuItem8.setText("jMenuItem8");

jMenuItem9.setText("jMenuItem9");

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jLabel1.setText("Usuario");
jLabel2.setText("Contraseña");

Aceptar.setText("Aceptar");
Aceptar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
AceptarActionPerformed(evt);
}
});

Cancelar.setText("Cancelar");
Cancelar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CancelarActionPerformed(evt);
}
});

jMenu1.setText("Archivo");

Salir.setText("Salir");
Salir.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SalirActionPerformed(evt);
}
});
jMenu1.add(Salir);

jMenuBar1.add(jMenu1);

jMenu2.setText("Editar");
jMenuBar1.add(jMenu2);

setJMenuBar(jMenuBar1);

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


getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGap(30, 30, 30)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(54, 54, 54)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(Pass, javax.swing.GroupLayout.PREFERRED_SIZE, 167,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Usuario, javax.swing.GroupLayout.PREFERRED_SIZE, 167,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(90, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addGap(63, 63, 63)
.addComponent(Aceptar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Cancelar)
.addGap(50, 50, 50))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(63, 63, 63)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
.addComponent(Usuario, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(62, 62, 62)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(Pass, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel2))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 41,
Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(Aceptar)
.addComponent(Cancelar))
.addGap(45, 45, 45))
);

pack();
}// </editor-fold>

private void SalirActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
System.exit(0);
}

private void AceptarActionPerformed(java.awt.event.ActionEvent evt) {


String usuario = Usuario.getText();
String contrasena = Pass.getText();

if(usuario.isEmpty() || contrasena.isEmpty()){
JOptionPane.showMessageDialog(null, "Complete todos los campos", "ERROR",
JOptionPane.ERROR_MESSAGE);
}else{
if(usuario.equals("Chris")&& contrasena.equals("1234")){
Tienda shop=new Tienda();

shop.setVisible(true);
shop.setTitle("Bienvenido :D " +usuario);
shop.setLocationRelativeTo(null);

this.setVisible(false);
}else{
if(usuario.equals("Hanita")&& contrasena.equals("chocolate")){
Tienda shop=new Tienda();
shop.setVisible(true);
shop.setTitle("Bienvenida :D " +usuario);
shop.setLocationRelativeTo(null);

this.setVisible(false);

}else{
JOptionPane.showMessageDialog(null, "El usuario y/o contraseña son incorrectos");
}
}
}

private void CancelarActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
Cancelar();
}

/**
* @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(login.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(login.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(login.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(login.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
}
//</editor-fold>

/* Create and display the form */


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

// Variables declaration - do not modify


private javax.swing.JButton Aceptar;
private javax.swing.JButton Cancelar;
private javax.swing.JPasswordField Pass;
private javax.swing.JMenuItem Salir;
private javax.swing.JTextField Usuario;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JMenuItem jMenuItem1;
private javax.swing.JMenuItem jMenuItem2;
private javax.swing.JMenuItem jMenuItem3;
private javax.swing.JMenuItem jMenuItem4;
private javax.swing.JMenuItem jMenuItem5;
private javax.swing.JMenuItem jMenuItem6;
private javax.swing.JMenuItem jMenuItem7;
private javax.swing.JMenuItem jMenuItem8;
private javax.swing.JMenuItem jMenuItem9;
// End of variables declaration
}

You might also like