Entradas

Mostrando entradas de septiembre, 2009

RADIO BUTTON Y COMBO

package Sexto; import javax.swing.SwingUtilities; import java.awt.BorderLayout; import javax.swing.JPanel; import javax.swing.JFrame; import java.awt.Dimension; import javax.swing.JLabel; import java.awt.Rectangle; import javax.swing.JTextField; import javax.swing.JButton; public class seis extends JFrame { int vh=0,ht=0,he=0,vho=0,s=0,chm=0,vhm=0; private static final long serialVersionUID = 1L; private JPanel jContentPane = null; private JLabel texvalorhora = null; private JTextField txtvalorhora = null; private JLabel texcantidaddehoras = null; private JTextField txthoras = null; private JButton btnversalario = null; private JTextField txtsalario = null; private JLabel texsalario = null; private JButton btnsiguiente = null; private JButton btnsalir = null; /** * This method initializes txtvalorhora * * @return javax.swing.JTextField */ private JTextField getTxtvalorhora() { if (txtvalorhora == null) { txtvalorhora = new JTextField(); txtvalorhora.setB