0% found this document useful (0 votes)
63 views17 pages

Uso de Libreria Java

1. The document describes two Java AWT use cases: - A customizable greeting application with a text field and button to display a greeting message popup. - A simple movie list with a combo box to store and select movies, adding new movies from a text field. 2. Both use cases create a GUI with Swing components like JFrames, JButtons, JTextFields and JComboBoxes. Interaction and logic is handled through event listeners. 3. The greeting app displays "Hello <text>" on button click, retrieving the text field value. The movie list adds items from the text field to the combo box on button click.

Uploaded by

Juan David
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views17 pages

Uso de Libreria Java

1. The document describes two Java AWT use cases: - A customizable greeting application with a text field and button to display a greeting message popup. - A simple movie list with a combo box to store and select movies, adding new movies from a text field. 2. Both use cases create a GUI with Swing components like JFrames, JButtons, JTextFields and JComboBoxes. Interaction and logic is handled through event listeners. 3. The greeting app displays "Hello <text>" on button click, retrieving the text field value. The movie list adds items from the text field to the combo box on button click.

Uploaded by

Juan David
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

CASOS DE USO LIBRERÍA JAVA AWT

1) Crea un saludador personalizable. Consiste en un simple JFrame con un


campo de texto (JTextField) y un botón (JButton). Cuando pulsemos el
botón, aparecerá un mensaje emergente (JOptionPane) con el texto “¡Hola
<texto escrito en el campo de texto>!”.
SOLUCIÓN

import javax.swing.JOptionPane;

public class SaludadorApp extends javax.swing.JFrame {

public SaludadorApp() {
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">
private void initComponents() {

btnSaludador = new javax.swing.JButton();


txtNombre = new javax.swing.JTextField();
jLabel1 = new javax.swing.JLabel();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Saludador");

btnSaludador.setText("¡Saludar!");
btnSaludador.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnSaludadorActionPerformed(evt);
}
});

jLabel1.setText("Escribe un nombre para saludar");

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(172, 172, 172)
.addComponent(btnSaludador))
.addGroup(layout.createSequentialGroup()
.addGap(70, 70, 70)
.addComponent(txtNombre, javax.swing.GroupLayout.PREFERRED_SIZE,
266, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addGap(124, 124, 124)
.addComponent(jLabel1)))
.addContainerGap(73, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(56, 56, 56)
.addComponent(jLabel1)
.addGap(41, 41, 41)
.addComponent(txtNombre, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(35, 35, 35)
.addComponent(btnSaludador)
.addContainerGap(55, Short.MAX_VALUE))
);

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

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

//Muestra el texto que esta en el textbox


JOptionPane.showMessageDialog(this,"¡Hola "+txtNombre.getText()+"!");

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(SaludadorApp.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
} catch (InstantiationException ex) {

java.util.logging.Logger.getLogger(SaludadorApp.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
} catch (IllegalAccessException ex) {

java.util.logging.Logger.getLogger(SaludadorApp.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {

java.util.logging.Logger.getLogger(SaludadorApp.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the form */


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

// Variables declaration - do not modify


private javax.swing.JButton btnSaludador;
private javax.swing.JLabel jLabel1;
private javax.swing.JTextField txtNombre;
// End of variables declaration
}

2) Crea una simple lista de peliculas. tendremos un JComboBox, donde


almacenaremos las peliculas, que vayamos almacenando en un campo de
texto. Al pulsar el botón Añadir la pelicula que hayamos metido, se
introducirá en el JComboBox.
SOLUCIÓN
public class PeliculasApp extends javax.swing.JFrame {
 
    public PeliculasApp() {
        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">                         
    private void initComponents() {
 
        cmbPeliculas = new javax.swing.JComboBox();
        jLabel1 = new javax.swing.JLabel();
        txtPelicula = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        btnanadir = new javax.swing.JButton();
 
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Peliculas");
 
        jLabel1.setText("Peliculas");
 
        jLabel2.setText("Escribe el titulo de una pelicula");
 
        btnanadir.setText("Añadir");
        btnanadir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnanadirActionPerformed(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()
                .addGap(21, 21, 21)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.TRAILING)
                    .addComponent(jLabel2)
                    .addComponent(txtPelicula,
javax.swing.GroupLayout.PREFERRED_SIZE, 149,
javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELA
TED, 32, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
                        .addComponent(cmbPeliculas,
javax.swing.GroupLayout.PREFERRED_SIZE, 151,
javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(47, 47, 47))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addGap(106, 106, 106))))
            .addGroup(layout.createSequentialGroup()
                .addGap(54, 54, 54)
                .addComponent(btnanadir)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(34, 34, 34)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(jLabel2))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.BASELINE)
                    .addComponent(cmbPeliculas,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtPelicula,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(btnanadir)
                .addContainerGap(29, Short.MAX_VALUE))
        );
 
        pack();
    }// </editor-fold>                       
 
    private void btnanadirActionPerformed(java.awt.event.ActionEvent evt)
{                                         
        
        //Cogemos el texto del campo de texto
        String pelicula=txtPelicula.getText();
         
        //Añadimos la pelicula al combobox
        cmbPeliculas.addItem(pelicula);
         
        //Reiniciamos el campo de texto
        txtPelicula.setText("");
         
    }                                        
 
    /**
     * @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(PeliculasApp.class.getName()).log(java.
util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(PeliculasApp.class.getName()).log(java.
util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(PeliculasApp.class.getName()).log(java.
util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(PeliculasApp.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 PeliculasApp().setVisible(true);
            }
        });
    }
 
    // Variables declaration - do not modify                    
    private javax.swing.JButton btnanadir;
    private javax.swing.JComboBox cmbPeliculas;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JTextField txtPelicula;
    // End of variables declaration                  
}
3) Crea una miniencuesta gráfica. Daremos una serie de opciones para que el
usuario elija. La encuesta preguntará lo siguiente:

 Elije un sistema operativo (solo una opción, JRadioButton)

 Windows

 Linux

 Mac
 Elije tu especialidad (pueden seleccionar ninguna o varias opciones,
JCheckBox)

 Programación
 Diseño gráfico

 Administración
 Horas dedicadas en el ordenador (usaremos un slider entre 0 y 10)
Para el slider, os recomiendo usar un JLabel, que os diga que valor tiene el slider,
usad el evento stateChanged.
SOLUCIÓN

import javax.swing.ButtonGroup;
import javax.swing.JCheckBox;
import javax.swing.JOptionPane;
import javax.swing.JRadioButton;
 
/**
 * @author DiscoDurodeRoer
 */
public class MiniEncuestaApp extends javax.swing.JFrame {
 
    public MiniEncuestaApp() {
        initComponents();
         
        //Creamos una instacia de ButtonGroup
        ButtonGroup btg=new ButtonGroup();
         
        //Añadimos los botones radiobutton
        //Si no lo hacemos, los botones seran independientes
        btg.add(rdbWindows);
        btg.add(rdbLinux);
        btg.add(rdbMac);
         
    }
 
     
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {
 
        rdbWindows = new javax.swing.JRadioButton();
        rdbLinux = new javax.swing.JRadioButton();
        rdbMac = new javax.swing.JRadioButton();
        jLabel1 = new javax.swing.JLabel();
        ckbProgramacion = new javax.swing.JCheckBox();
        jLabel2 = new javax.swing.JLabel();
        ckbDiseno = new javax.swing.JCheckBox();
        ckbAdministracion = new javax.swing.JCheckBox();
        jSeparator1 = new javax.swing.JSeparator();
        btnGenerar = new javax.swing.JButton();
        jSeparator2 = new javax.swing.JSeparator();
        sldHoras = new javax.swing.JSlider();
        jLabel3 = new javax.swing.JLabel();
        lblHoras = new javax.swing.JLabel();
 
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Mini Encuesta");
 
        rdbWindows.setText("Windows");
 
        rdbLinux.setText("Linux");
 
        rdbMac.setText("Mac");
 
        jLabel1.setText("Elige un sistema operativo");
 
        ckbProgramacion.setText("Programación");
 
        jLabel2.setText("Elige tu especialidad");
 
        ckbDiseno.setText("Diseño gráfico");
 
        ckbAdministracion.setText("Administración");
 
        btnGenerar.setText("Generar");
        btnGenerar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGenerarActionPerformed(evt);
            }
        });
 
        sldHoras.setMaximum(10);
        sldHoras.setValue(0);
        sldHoras.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                sldHorasStateChanged(evt);
            }
        });
 
        jLabel3.setText("Horas que dedicas en el ordenador");
 
        lblHoras.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblHoras.setText("0");
 
        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.Alignme
nt.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING,
layout.createSequentialGroup()
                        .addGap(22, 22, 22)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Ali
gnment.LEADING)
                            .addComponent(ckbProgramacion)
                            .addComponent(jLabel2)
                            .addComponent(ckbAdministracion)
                            .addComponent(ckbDiseno)
                            .addComponent(jLabel3)
                            .addComponent(jLabel1)
                            .addComponent(rdbLinux)
                            .addComponent(rdbMac)
                            .addComponent(rdbWindows)))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING,
layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lblHoras,
javax.swing.GroupLayout.PREFERRED_SIZE, 38,
javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.
UNRELATED)
                        .addComponent(sldHoras,
javax.swing.GroupLayout.PREFERRED_SIZE, 135,
javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jSeparator2,
javax.swing.GroupLayout.PREFERRED_SIZE, 189,
javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(24, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jSeparator1,
javax.swing.GroupLayout.PREFERRED_SIZE, 188,
javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))))
            .addGroup(layout.createSequentialGroup()
                .addGap(66, 66, 66)
                .addComponent(btnGenerar)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(37, 37, 37)
                .addComponent(jLabel1)
                .addGap(18, 18, 18)
                .addComponent(rdbWindows)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRE
LATED)
                .addComponent(rdbLinux)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRE
LATED)
                .addComponent(rdbMac)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRE
LATED)
                .addComponent(jSeparator1,
javax.swing.GroupLayout.PREFERRED_SIZE, 10,
javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELA
TED)
                .addComponent(jLabel2)
                .addGap(13, 13, 13)
                .addComponent(ckbProgramacion)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRE
LATED)
                .addComponent(ckbDiseno)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRE
LATED)
                .addComponent(ckbAdministracion)
                .addGap(19, 19, 19)
                .addComponent(jSeparator2,
javax.swing.GroupLayout.PREFERRED_SIZE, 11,
javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELA
TED)
                .addComponent(jLabel3)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme
nt.LEADING)
                    .addComponent(sldHoras,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.
RELATED, 1, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblHoras,
javax.swing.GroupLayout.PREFERRED_SIZE, 25,
javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(18, 18, 18)
                .addComponent(btnGenerar)
                .addContainerGap(21, Short.MAX_VALUE))
        );
 
        pack();
    }// </editor-fold>                       
 
    private void btnGenerarActionPerformed(java.awt.event.ActionEvent evt)
{                                          
        
        String informacion="Tu sistema operativo preferido es ";
         
        //Cogemos todos los radiobutton en un array
        JRadioButton[] rdbs={rdbWindows, rdbLinux, rdbMac};
         
        for(int i=0;i<rdbs.length;i++){
             
            //Si esta seleccionado, coge el texto
            if(rdbs[i].isSelected()){
                informacion+=rdbs[i].getText();
            }
             
        }
         
        //Hacemos igual con los checkboxes
        JCheckBox[] ckbs={ckbProgramacion, ckbDiseno, ckbAdministracion};
         
        informacion+=", \ntus especialidades son ";
         
        for(int i=0;i<ckbs.length;i++){
             
            if(ckbs[i].isSelected()){
                informacion+=ckbs[i].getText()+" "; //Ponemos un espacio por si hay mas
de un elemento seleccionado
            }
             
        }
         
        informacion+=" \ny el numero de horas dedicadas al ordenador son
"+sldHoras.getValue();
         
        JOptionPane.showMessageDialog(this, informacion, "Muestra de datos",
JOptionPane.INFORMATION_MESSAGE);
         
    }                                         
 
    private void sldHorasStateChanged(javax.swing.event.ChangeEvent evt)
{                                     
         
        lblHoras.setText(String.valueOf(sldHoras.getValue()));
         
    }                                    
 
    /**
     * @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(MiniEncuestaApp.class.getName()).log(j
ava.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(MiniEncuestaApp.class.getName()).log(j
ava.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(MiniEncuestaApp.class.getName()).log(j
ava.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(MiniEncuestaApp.class.getName()).log(j
ava.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>
 
        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new MiniEncuestaApp().setVisible(true);
            }
        });
    }
 
    // Variables declaration - do not modify                    
    private javax.swing.JButton btnGenerar;
    private javax.swing.JCheckBox ckbAdministracion;
    private javax.swing.JCheckBox ckbDiseno;
    private javax.swing.JCheckBox ckbProgramacion;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JLabel lblHoras;
    private javax.swing.JRadioButton rdbLinux;
    private javax.swing.JRadioButton rdbMac;
    private javax.swing.JRadioButton rdbWindows;
    private javax.swing.JSlider sldHoras;
    // End of variables declaration                  
}

You might also like