Ventana de Celular en Prog
Ventana de Celular en Prog
Ventana de Celular en Prog
import java.util.ArrayList;
import logica.Celular;
import logica.Cliente;
/**
*
* @author alumno
*/
public class VentCel extends javax.swing.JFrame {
private Cliente cliente;
private ArrayList<Cliente> listaCliente;
/**
* Creates new form VentCel
* @param c
* @param l
*/
public VentCel(Cliente c, ArrayList l) {
initComponents();
cliente = c;
listaCliente = l;
}
/**
* 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() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setText("Ingrensa Cel");
color1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
color1ActionPerformed(evt);
}
});
jButton1.setText("Ingresar");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jLabel2.setText("Modelo");
jLabel3.setText("Color");
jLabel4.setText("Marca");
jButton2.setText("Mostrar Lista");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
pack();
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do