Hoja Respuestas Pc03 Tallerswii

20
Práctica Calificada 03 TALLER DE SOFTWARE II HOJA DE RESPUESTAS Alumno(a) : Número de PC: Instrucciones: Coloque sus Apellidos y Nombres completos, así como el número de PC que está utilizando. El examen se resuelve en PC de manera estrictamente individual. Está absolutamente prohibido el uso de Internet, Laptops, USBs, Celulares. Respete la nomenclatura, ubicaciones de los archivos, uso de mayúsculas y minúsculas, casos de prueba. Esto forma parte integral de su evaluación. Pegue en esta hoja el código fuente de su programa, a continuación pegue una captura de pantalla del programa en ejecución. No mueva los archivos del Examen y Hoja de Respuestas de la ubicación original que le ha sido asignada. Guarde periódicamente sus cambios a medida que avanza. Cualquier pérdida por reinicio, interbloqueo de la PC, es su responsabilidad. 1. RESPUESTA Pregunta 01 (Código fuente + Captura de Pantalla) /* * 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 dania; import java.awt.Color; import javax.swing.DefaultComboBoxModel; import javax.swing.DefaultListModel; import javax.swing.JOptionPane;

description

este es un problema ya resuelto

Transcript of Hoja Respuestas Pc03 Tallerswii

Page 1: Hoja Respuestas Pc03 Tallerswii

Práctica Calificada 03TALLER DE SOFTWARE IIHOJA DE RESPUESTAS

Alumno(a) : Número de PC:

Instrucciones: Coloque sus Apellidos y Nombres completos, así como el número de PC que está utilizando. El examen se resuelve en PC de manera estrictamente individual. Está absolutamente prohibido el uso de Internet, Laptops, USBs, Celulares. Respete la nomenclatura, ubicaciones de los archivos, uso de mayúsculas y minúsculas, casos de

prueba. Esto forma parte integral de su evaluación. Pegue en esta hoja el código fuente de su programa, a continuación pegue una captura de pantalla

del programa en ejecución. No mueva los archivos del Examen y Hoja de Respuestas de la ubicación original que le ha sido

asignada. Guarde periódicamente sus cambios a medida que avanza. Cualquier pérdida por reinicio,

interbloqueo de la PC, es su responsabilidad.

1. RESPUESTA Pregunta 01 (Código fuente + Captura de Pantalla)/* * 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 dania;

import java.awt.Color;import javax.swing.DefaultComboBoxModel;import javax.swing.DefaultListModel;import javax.swing.JOptionPane;

/** * * @author alumno */public class NewJFrame extends javax.swing.JFrame { DefaultListModel model; ///1 DefaultComboBoxModel grupo1; DefaultComboBoxModel grupo2; DefaultComboBoxModel grupo3; ///2 public NewJFrame() { initComponents(); model=new DefaultListModel();

Page 2: Hoja Respuestas Pc03 Tallerswii

this.setLocationRelativeTo(null); grupo1=new DefaultComboBoxModel(); grupo1.addElement("Galaxy S6"); grupo1.addElement("Galaxy Ace"); grupo1.addElement("Galaxy Note");

grupo2=new DefaultComboBoxModel(); grupo2.addElement("L70 Plus"); grupo2.addElement("Flex 2"); grupo2.addElement("L40TV"); grupo3=new DefaultComboBoxModel(); grupo3.addElement("¡Phone 4S"); grupo3.addElement("¡Phone 5C"); grupo3.addElement("¡Phone 6"); }

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

buttonGroup1 = new javax.swing.ButtonGroup(); jMenu3 = new javax.swing.JMenu(); jMenu5 = new javax.swing.JMenu(); jMenu7 = new javax.swing.JMenu(); jMenuItem3 = new javax.swing.JMenuItem(); jButton1 = new javax.swing.JButton(); jScrollPane1 = new javax.swing.JScrollPane(); jList1 = new javax.swing.JList(); jPanel1 = new javax.swing.JPanel(); jComboBox1 = new javax.swing.JComboBox(); jLabel5 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel(); jComboBox2 = new javax.swing.JComboBox(); jLabel7 = new javax.swing.JLabel(); jTextField5 = new javax.swing.JTextField(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jTextField3 = new javax.swing.JTextField(); jTextField4 = new javax.swing.JTextField(); jLabel3 = new javax.swing.JLabel();

Page 3: Hoja Respuestas Pc03 Tallerswii

jTextField1 = new javax.swing.JTextField(); jLabel4 = new javax.swing.JLabel(); jTextField2 = new javax.swing.JTextField(); jPanel3 = new javax.swing.JPanel(); jRadioButton1 = new javax.swing.JRadioButton(); jRadioButton2 = new javax.swing.JRadioButton(); jMenuBar1 = new javax.swing.JMenuBar(); jMenu1 = new javax.swing.JMenu(); jMenuItem1 = new javax.swing.JMenuItem(); jMenu4 = new javax.swing.JMenu(); jMenuItem2 = new javax.swing.JMenuItem(); jMenuItem4 = new javax.swing.JMenuItem(); jMenu6 = new javax.swing.JMenu(); jMenu8 = new javax.swing.JMenu(); jMenuItem5 = new javax.swing.JMenuItem(); jMenuItem6 = new javax.swing.JMenuItem(); jMenu2 = new javax.swing.JMenu(); jMenuItem7 = new javax.swing.JMenuItem();

jMenu3.setText("jMenu3");

jMenu5.setText("jMenu5");

jMenu7.setText("jMenu7");

jMenuItem3.setText("jMenuItem3");

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jButton1.setText("Registrar"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } });

jScrollPane1.setViewportView(jList1);

jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Datos de la linea"));

jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "samsung", "LG", "apple" })); jComboBox1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jComboBox1ActionPerformed(evt); } });

jLabel5.setText("Marca");

Page 4: Hoja Respuestas Pc03 Tallerswii

jLabel6.setText("Modelo de equipo");

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

jLabel7.setText("Numero");

javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(55, 55, 55) .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(18, 18, 18) .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGap(92, 92, 92) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 117, Short.MAX_VALUE) .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 117, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel7) .addGap(53, 53, 53)))) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap()

Page 5: Hoja Respuestas Pc03 Tallerswii

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel5) .addComponent(jLabel6) .addComponent(jLabel7)) .addGap(18, 18, 18) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE)) .addComponent(jComboBox1) .addComponent(jComboBox2)) .addGap(112, 112, 112)) );

jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Datos personales del cliente"));

jLabel1.setText("Nombres");

jLabel2.setText("DNI");

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

jLabel3.setText("Apellidos");

jLabel4.setText("Correo");

javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(24, 24, 24) .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(19, 19, 19) .addComponent(jLabel1))) .addGap(33, 33, 33)

Page 6: Hoja Respuestas Pc03 Tallerswii

.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 76, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(135, 135, 135) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(53, 53, 53) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 89, Short.MAX_VALUE) .addGap(68, 68, 68)) .addGroup(jPanel2Layout.createSequentialGroup() .addComponent(jTextField2) .addGap(58, 58, 58)))) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jTextField3) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel1))) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 20, Short.MAX_VALUE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel2) .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))

Page 7: Hoja Respuestas Pc03 Tallerswii

.addGap(24, 24, 24)) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(18, 18, 18) .addComponent(jLabel4) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) );

jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Tipo de servicio"));

buttonGroup1.add(jRadioButton1); jRadioButton1.setText("Prepago");

buttonGroup1.add(jRadioButton2); jRadioButton2.setText("Postpago");

javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup() .addGap(43, 43, 43) .addComponent(jRadioButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 117, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 234, Short.MAX_VALUE) .addComponent(jRadioButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(63, 63, 63)) ); jPanel3Layout.setVerticalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup() .addGap(25, 25, 25) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jRadioButton2) .addComponent(jRadioButton1)) .addContainerGap(40, Short.MAX_VALUE)) );

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

jMenuItem1.setText("Salir"); jMenuItem1.addActionListener(new java.awt.event.ActionListener() {

Page 8: Hoja Respuestas Pc03 Tallerswii

public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem1ActionPerformed(evt); } }); jMenu1.add(jMenuItem1);

jMenuBar1.add(jMenu1);

jMenu4.setText("Edicion");

jMenuItem2.setText("Registrar venta"); jMenu4.add(jMenuItem2);

jMenuItem4.setText("Eliminar venta"); jMenu4.add(jMenuItem4);

jMenuBar1.add(jMenu4);

jMenu6.setText("Opciones"); jMenu6.setOpaque(true);

jMenu8.setText("color");

jMenuItem5.setText("Azul"); jMenuItem5.setOpaque(true); jMenuItem5.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem5ActionPerformed(evt); } }); jMenu8.add(jMenuItem5);

jMenuItem6.setText("Verde"); jMenuItem6.setOpaque(true); jMenuItem6.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem6ActionPerformed(evt); } }); jMenu8.add(jMenuItem6);

jMenu6.add(jMenu8);

jMenuBar1.add(jMenu6);

jMenu2.setText("Ayuda");

jMenuItem7.setText("Informacion"); jMenu2.add(jMenuItem7);

Page 9: Hoja Respuestas Pc03 Tallerswii

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() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(70, 70, 70) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 484, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup() .addGap(264, 264, 264) .addComponent(jButton1))) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(layout.createSequentialGroup() .addGap(27, 27, 27) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(0, 55, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(74, 74, 74) .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(1, 1, 1) .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jButton1) .addGap(32, 32, 32) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(71, Short.MAX_VALUE)) );

Page 10: Hoja Respuestas Pc03 Tallerswii

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

private void jComboBox2ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: }

private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: if(jComboBox1.getSelectedItem().toString().equals("samsung")){ jComboBox2.setModel(grupo1); } if(jComboBox1.getSelectedItem().toString().equals("LG")){ jComboBox2.setModel(grupo2); } if(jComboBox1.getSelectedItem().toString().equals("apple")){ jComboBox2.setModel(grupo3); } } private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: String dato1=jTextField3.getText().toString(); String dato2=jTextField1.getText().toString(); String dato3=jTextField4.getText().toString(); String dato4=jTextField2.getText().toString(); String dato5=jComboBox1.getSelectedItem().toString(); String dato6=jComboBox2.getSelectedItem().toString(); String dato7=jTextField5.getText().toString(); String dato8=""; if(jRadioButton1.isSelected()){ dato8="Prepago"; } if(jRadioButton2.isSelected()){ dato8="Postpago"; } String todos=dato1+" "+dato2+" "+dato3+" "+dato4+" "+dato5+" "+dato6+" "+dato7+" "+dato8; model.addElement(todos); jList1.setModel(model); }

private void jTextField3ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: }

Page 11: Hoja Respuestas Pc03 Tallerswii

private void jMenuItem6ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: jList1.setBackground(Color.green); jPanel2.setBackground(Color.green); jPanel1.setBackground(Color.green); jPanel3.setBackground(Color.green); }

private void jMenu1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: }

private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: System.exit(0); }

private void jMenuItem5ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: jList1.setBackground(Color.blue); jPanel2.setBackground(Color.blue); jPanel1.setBackground(Color.blue); jPanel3.setBackground(Color.blue); }

/** * @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(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (InstantiationException ex) {

Page 12: Hoja Respuestas Pc03 Tallerswii

java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } //</editor-fold>

/* Create and display the form */ java.awt.EventQueue.invokeLater(new Runnable() { @Override public void run() { new NewJFrame().setVisible(true); } }); }

// Variables declaration - do not modify private javax.swing.ButtonGroup buttonGroup1; private javax.swing.JButton jButton1; private javax.swing.JComboBox jComboBox1; private javax.swing.JComboBox jComboBox2; 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.JLabel jLabel7; private javax.swing.JList jList1; private javax.swing.JMenu jMenu1; private javax.swing.JMenu jMenu2; private javax.swing.JMenu jMenu3; private javax.swing.JMenu jMenu4; private javax.swing.JMenu jMenu5; private javax.swing.JMenu jMenu6; private javax.swing.JMenu jMenu7; private javax.swing.JMenu jMenu8; 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;

Page 13: Hoja Respuestas Pc03 Tallerswii

private javax.swing.JMenuItem jMenuItem5; private javax.swing.JMenuItem jMenuItem6; private javax.swing.JMenuItem jMenuItem7; private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel2; private javax.swing.JPanel jPanel3; private javax.swing.JRadioButton jRadioButton1; private javax.swing.JRadioButton jRadioButton2; private javax.swing.JScrollPane jScrollPane1; private javax.swing.JTextField jTextField1; private javax.swing.JTextField jTextField2; private javax.swing.JTextField jTextField3; private javax.swing.JTextField jTextField4; private javax.swing.JTextField jTextField5; // End of variables declaration

}