/* * JPanel.java * * Created on October 20, 2003, 2:07 PM */ /** * * @author brewskie */ public class JPanel extends javax.swing.JPanel { /** Creates new form JPanel */ public JPanel() { 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. */ private void initComponents() {//GEN-BEGIN:initComponents jLabel1 = new javax.swing.JLabel(); jRadioButton1 = new javax.swing.JRadioButton(); jRadioButton2 = new javax.swing.JRadioButton(); setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); jLabel1.setText("Java is a programming language that is known for its amazingly fast runtime."); add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 440, 20)); jRadioButton1.setText("True"); add(jRadioButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 40, -1, -1)); jRadioButton2.setText("False"); jRadioButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jRadioButton2ActionPerformed(evt); } }); add(jRadioButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 70, -1, -1)); }//GEN-END:initComponents private void jRadioButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButton2ActionPerformed // Add your handling code here: }//GEN-LAST:event_jRadioButton2ActionPerformed // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JLabel jLabel1; private javax.swing.JRadioButton jRadioButton1; private javax.swing.JRadioButton jRadioButton2; // End of variables declaration//GEN-END:variables }