Java tutorial
/* * 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 frames; import classes.manconn; import com.googlecode.javacv.CanvasFrame; import com.googlecode.javacv.OpenCVFrameGrabber; import com.googlecode.javacv.cpp.opencv_core.IplImage; import com.googlecode.javacv.cpp.opencv_highgui; import com.googlecode.javacv.cpp.opencv_highgui.CvCapture; import static com.googlecode.javacv.cpp.opencv_highgui.cvLoadImage; import static com.googlecode.javacv.cpp.opencv_highgui.cvSaveImage; import com.itextpdf.text.BaseColor; import com.itextpdf.text.Chunk; import com.itextpdf.text.Document; import com.itextpdf.text.Element; import com.itextpdf.text.Font; import com.itextpdf.text.FontFactory; import com.itextpdf.text.Paragraph; import com.itextpdf.text.Rectangle; import com.itextpdf.text.RectangleReadOnly; import com.itextpdf.text.pdf.BaseFont; import com.itextpdf.text.pdf.PdfContentByte; import com.itextpdf.text.pdf.PdfPCell; import com.itextpdf.text.pdf.PdfPTable; import com.itextpdf.text.pdf.PdfWriter; import java.awt.Image; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.Calendar; import java.util.GregorianCalendar; import javax.swing.ImageIcon; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import javax.swing.JTextField; import javax.swing.UIManager; import net.proteanit.sql.DbUtils; import java.util.Date; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; /** * * @author Manikant */ public class main extends javax.swing.JFrame { /** * Creates new form main */ Connection conn = null; ResultSet rs = null; PreparedStatement pst = null; public main() { initComponents(); conn = manconn.ConnecrDB(); currentdate(); always(); } public void currentdate() { Calendar cal = new GregorianCalendar(); int month = cal.get(Calendar.MONTH); int year = cal.get(Calendar.YEAR); int date = cal.get(Calendar.DAY_OF_MONTH); dttt.setText(year + "/" + (month + 1) + "/" + date); int second = cal.get(Calendar.SECOND); int minute = cal.get(Calendar.MINUTE); int hour = cal.get(Calendar.HOUR); tm.setText(hour + ":" + (minute) + ":" + second); DEVELOPER.setText("DESIGNED AND DEVELOPED BY MANIKANT GAUTAM"); DEVELOPER.addActionListener(a); } public void always() { try { String result = "select student_nm as NAME,father_nm as FATHER_NAME,reg_no as REGISTRATION,class as CLASS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Atable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + "ALL RECORDS"); } finally { try { rs.close(); ; pst.close(); // rs1.close();; // pst1.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + "ALWAS FINALLY"); } } } /** * 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() { jTabbedPane1 = new javax.swing.JTabbedPane(); jPanel3 = new javax.swing.JPanel(); jPanel9 = new javax.swing.JPanel(); jPanel10 = new javax.swing.JPanel(); jTextField1 = new javax.swing.JTextField(); jButton6 = new javax.swing.JButton(); jButton7 = new javax.swing.JButton(); jButton8 = new javax.swing.JButton(); jLayeredPane1 = new javax.swing.JLayeredPane(); PRINTMODE = new javax.swing.JComboBox(); jPanel11 = new javax.swing.JPanel(); jScrollPane2 = new javax.swing.JScrollPane(); Dtable = new javax.swing.JTable(); jLabel30 = new javax.swing.JLabel(); Dtf1 = new javax.swing.JTextField(); jLabel31 = new javax.swing.JLabel(); Dtf2 = new javax.swing.JTextField(); jLabel32 = new javax.swing.JLabel(); Dtf3 = new javax.swing.JTextField(); jLabel33 = new javax.swing.JLabel(); Dtf4 = new javax.swing.JTextField(); jLabel34 = new javax.swing.JLabel(); Dtf5 = new javax.swing.JTextField(); jLabel35 = new javax.swing.JLabel(); Dtf6 = new javax.swing.JTextField(); jLabel36 = new javax.swing.JLabel(); Dtf7 = new javax.swing.JTextField(); jLabel37 = new javax.swing.JLabel(); Dtf8 = new javax.swing.JTextField(); jLabel38 = new javax.swing.JLabel(); Dtf9 = new javax.swing.JTextField(); jLabel39 = new javax.swing.JLabel(); Dtf10 = new javax.swing.JTextField(); jDesktopPane2 = new javax.swing.JDesktopPane(); Depimage = new javax.swing.JLabel(); jLabel40 = new javax.swing.JLabel(); jLabel41 = new javax.swing.JLabel(); jLabel42 = new javax.swing.JLabel(); jLabel43 = new javax.swing.JLabel(); jLabel44 = new javax.swing.JLabel(); jLabel45 = new javax.swing.JLabel(); jLabel46 = new javax.swing.JLabel(); Dtf11 = new javax.swing.JTextField(); Dtf12 = new javax.swing.JTextField(); Dtf13 = new javax.swing.JTextField(); Dtf14 = new javax.swing.JTextField(); Dtf16 = new javax.swing.JTextField(); Dtf17 = new javax.swing.JTextField(); Dtf15 = new javax.swing.JTextField(); jLabel47 = new javax.swing.JLabel(); jLabel48 = new javax.swing.JLabel(); Dtf18 = new javax.swing.JTextField(); jLabel49 = new javax.swing.JLabel(); Dtf19 = new javax.swing.JTextField(); jLabel50 = new javax.swing.JLabel(); Dtf20 = new javax.swing.JTextField(); jLabel51 = new javax.swing.JLabel(); jLabel52 = new javax.swing.JLabel(); Dtf21 = new javax.swing.JTextField(); jLabel53 = new javax.swing.JLabel(); Djc1 = new javax.swing.JComboBox(); Dtf22 = new javax.swing.JTextField(); jLabel64 = new javax.swing.JLabel(); jDateChooser1 = new com.toedter.calendar.JDateChooser(); jPanel4 = new javax.swing.JPanel(); jPanel17 = new javax.swing.JPanel(); TC6 = new javax.swing.JComboBox(); TC5 = new javax.swing.JTextField(); TC4 = new javax.swing.JTextField(); TC3 = new javax.swing.JTextField(); TC2 = new javax.swing.JTextField(); TC1 = new javax.swing.JTextField(); TC7 = new javax.swing.JTextField(); TC8 = new javax.swing.JTextField(); TC9 = new javax.swing.JTextField(); TC10 = new javax.swing.JTextField(); TC11 = new javax.swing.JTextField(); TC14 = new javax.swing.JTextField(); TC16 = new javax.swing.JTextField(); TC17 = new javax.swing.JTextField(); jTextField16 = new javax.swing.JTextField(); jLabel65 = new javax.swing.JLabel(); jLabel66 = new javax.swing.JLabel(); jLabel67 = new javax.swing.JLabel(); jLabel68 = new javax.swing.JLabel(); jLabel69 = new javax.swing.JLabel(); jLabel70 = new javax.swing.JLabel(); jLabel71 = new javax.swing.JLabel(); jLabel72 = new javax.swing.JLabel(); jLabel73 = new javax.swing.JLabel(); jLabel74 = new javax.swing.JLabel(); jLabel75 = new javax.swing.JLabel(); jLabel76 = new javax.swing.JLabel(); jLabel77 = new javax.swing.JLabel(); jLabel78 = new javax.swing.JLabel(); jLabel79 = new javax.swing.JLabel(); jLabel80 = new javax.swing.JLabel(); jLabel81 = new javax.swing.JLabel(); jLabel82 = new javax.swing.JLabel(); TC15 = new javax.swing.JComboBox(); TC12 = new com.toedter.calendar.JDateChooser(); TC13 = new com.toedter.calendar.JDateChooser(); jPanel18 = new javax.swing.JPanel(); jPanel19 = new javax.swing.JPanel(); TCsearch = new javax.swing.JTextField(); jButton13 = new javax.swing.JButton(); jPanel5 = new javax.swing.JPanel(); jTabbedPane2 = new javax.swing.JTabbedPane(); jPanel12 = new javax.swing.JPanel(); jScrollPane3 = new javax.swing.JScrollPane(); Stmonth = new javax.swing.JTable(); SJMONTH = new javax.swing.JComboBox(); jLabel54 = new javax.swing.JLabel(); jButton9 = new javax.swing.JButton(); jLabel96 = new javax.swing.JLabel(); jPanel13 = new javax.swing.JPanel(); jScrollPane4 = new javax.swing.JScrollPane(); SJTSESSION = new javax.swing.JTable(); Rjc4 = new javax.swing.JComboBox(); Rjc5 = new javax.swing.JComboBox(); SJCSESSION = new javax.swing.JComboBox(); jLabel55 = new javax.swing.JLabel(); jButton10 = new javax.swing.JButton(); SSESSIONMONTH = new javax.swing.JComboBox(); jLabel56 = new javax.swing.JLabel(); jLabel95 = new javax.swing.JLabel(); jPanel14 = new javax.swing.JPanel(); jScrollPane5 = new javax.swing.JScrollPane(); RECEIPTTABALE = new javax.swing.JTable(); jLabel57 = new javax.swing.JLabel(); SJCRECEIPT = new javax.swing.JComboBox(); RECEIPTtf = new javax.swing.JTextField(); jLabel58 = new javax.swing.JLabel(); jButton11 = new javax.swing.JButton(); jLabel94 = new javax.swing.JLabel(); jPanel15 = new javax.swing.JPanel(); jScrollPane6 = new javax.swing.JScrollPane(); c = new javax.swing.JTable(); jLabel59 = new javax.swing.JLabel(); a = new javax.swing.JComboBox(); jLabel60 = new javax.swing.JLabel(); b = new javax.swing.JComboBox(); jButton12 = new javax.swing.JButton(); jLabel93 = new javax.swing.JLabel(); jPanel16 = new javax.swing.JPanel(); jPanel20 = new javax.swing.JPanel(); jComboBox1 = new javax.swing.JComboBox(); jTextField2 = new javax.swing.JTextField(); jTextField3 = new javax.swing.JTextField(); jTextField4 = new javax.swing.JTextField(); jProgressBar1 = new javax.swing.JProgressBar(); jLabel83 = new javax.swing.JLabel(); jLabel84 = new javax.swing.JLabel(); jLabel85 = new javax.swing.JLabel(); jLabel86 = new javax.swing.JLabel(); jLabel87 = new javax.swing.JLabel(); jPanel21 = new javax.swing.JPanel(); jButton14 = new javax.swing.JButton(); jLabel88 = new javax.swing.JLabel(); jComboBox2 = new javax.swing.JComboBox(); jLabel89 = new javax.swing.JLabel(); jTextField5 = new javax.swing.JTextField(); jScrollPane7 = new javax.swing.JScrollPane(); jTextArea1 = new javax.swing.JTextArea(); jLabel90 = new javax.swing.JLabel(); jTextField6 = new javax.swing.JTextField(); jLabel91 = new javax.swing.JLabel(); jPasswordField1 = new javax.swing.JPasswordField(); jLabel105 = new javax.swing.JLabel(); jPanel25 = new javax.swing.JPanel(); jTextField7 = new javax.swing.JTextField(); jLabel103 = new javax.swing.JLabel(); jLabel104 = new javax.swing.JLabel(); jTextField8 = new javax.swing.JTextField(); jCheckBox1 = new javax.swing.JCheckBox(); jCheckBox2 = new javax.swing.JCheckBox(); jScrollPane9 = new javax.swing.JScrollPane(); jTextArea2 = new javax.swing.JTextArea(); jButton17 = new javax.swing.JButton(); jPanel6 = new javax.swing.JPanel(); jScrollPane1 = new javax.swing.JScrollPane(); Atable = new javax.swing.JTable(); jPanel23 = new javax.swing.JPanel(); jDesktopPane3 = new javax.swing.JDesktopPane(); jLabel92 = new javax.swing.JLabel(); jPanel7 = new javax.swing.JPanel(); jPanel22 = new javax.swing.JPanel(); jButton15 = new javax.swing.JButton(); jButton18 = new javax.swing.JButton(); jButton19 = new javax.swing.JButton(); jButton20 = new javax.swing.JButton(); jTabbedPane3 = new javax.swing.JTabbedPane(); jPanel26 = new javax.swing.JPanel(); jButton27 = new javax.swing.JButton(); jPanel27 = new javax.swing.JPanel(); jPanel28 = new javax.swing.JPanel(); jTabbedPane4 = new javax.swing.JTabbedPane(); jPanel29 = new javax.swing.JPanel(); jScrollPane10 = new javax.swing.JScrollPane(); jTable2 = new javax.swing.JTable(); jLabel106 = new javax.swing.JLabel(); jLabel107 = new javax.swing.JLabel(); jLabel108 = new javax.swing.JLabel(); jLabel109 = new javax.swing.JLabel(); jTextField9 = new javax.swing.JTextField(); jTextField10 = new javax.swing.JTextField(); jTextField11 = new javax.swing.JTextField(); jComboBox3 = new javax.swing.JComboBox(); jButton21 = new javax.swing.JButton(); jButton22 = new javax.swing.JButton(); jButton23 = new javax.swing.JButton(); jPanel30 = new javax.swing.JPanel(); jScrollPane11 = new javax.swing.JScrollPane(); jTable3 = new javax.swing.JTable(); jLabel110 = new javax.swing.JLabel(); jLabel111 = new javax.swing.JLabel(); jLabel112 = new javax.swing.JLabel(); jLabel113 = new javax.swing.JLabel(); jTextField12 = new javax.swing.JTextField(); jTextField13 = new javax.swing.JTextField(); jTextField14 = new javax.swing.JTextField(); jComboBox4 = new javax.swing.JComboBox(); jButton24 = new javax.swing.JButton(); jButton25 = new javax.swing.JButton(); jButton26 = new javax.swing.JButton(); jPanel24 = new javax.swing.JPanel(); jScrollPane8 = new javax.swing.JScrollPane(); jTable1 = new javax.swing.JTable(); jLabel97 = new javax.swing.JLabel(); jButton16 = new javax.swing.JButton(); jLabel98 = new javax.swing.JLabel(); jLabel99 = new javax.swing.JLabel(); jLabel100 = new javax.swing.JLabel(); jLabel101 = new javax.swing.JLabel(); jDesktopPane4 = new javax.swing.JDesktopPane(); jLabel102 = new javax.swing.JLabel(); jCheckBox6 = new javax.swing.JCheckBox(); jCheckBox7 = new javax.swing.JCheckBox(); jCheckBox8 = new javax.swing.JCheckBox(); jCheckBox9 = new javax.swing.JCheckBox(); jCheckBox10 = new javax.swing.JCheckBox(); jPanel2 = new javax.swing.JPanel(); jPanel1 = new javax.swing.JPanel(); jButton1 = new javax.swing.JButton(); jPanel8 = new javax.swing.JPanel(); jTextField21 = new javax.swing.JTextField(); jButton2 = new javax.swing.JButton(); jButton3 = new javax.swing.JButton(); jButton4 = new javax.swing.JButton(); jButton5 = new javax.swing.JButton(); jLabel25 = new javax.swing.JLabel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); Rtf1 = new javax.swing.JTextField(); Rtf2 = new javax.swing.JTextField(); jLabel3 = new javax.swing.JLabel(); Rtf3 = new javax.swing.JTextField(); jLabel4 = new javax.swing.JLabel(); Rtf4 = new javax.swing.JTextField(); jLabel5 = new javax.swing.JLabel(); Rtf5 = new javax.swing.JTextField(); jLabel6 = new javax.swing.JLabel(); Rtf6 = new javax.swing.JTextField(); jLabel7 = new javax.swing.JLabel(); Rtf10 = new javax.swing.JTextField(); jLabel8 = new javax.swing.JLabel(); jLabel9 = new javax.swing.JLabel(); Rtf11 = new javax.swing.JTextField(); Rtf12 = new javax.swing.JTextField(); jLabel10 = new javax.swing.JLabel(); Rtf13 = new javax.swing.JTextField(); jLabel11 = new javax.swing.JLabel(); Rtf14 = new javax.swing.JTextField(); jLabel12 = new javax.swing.JLabel(); Rtf15 = new javax.swing.JTextField(); jLabel13 = new javax.swing.JLabel(); jLabel14 = new javax.swing.JLabel(); Rtf16 = new javax.swing.JTextField(); jLabel15 = new javax.swing.JLabel(); Rtf7 = new javax.swing.JTextField(); jLabel16 = new javax.swing.JLabel(); Rtf17 = new javax.swing.JTextField(); jLabel17 = new javax.swing.JLabel(); jLabel18 = new javax.swing.JLabel(); Rtf18 = new javax.swing.JTextField(); jLabel19 = new javax.swing.JLabel(); Rjc1 = new javax.swing.JComboBox(); jLabel20 = new javax.swing.JLabel(); Rtf19 = new javax.swing.JTextField(); jLabel21 = new javax.swing.JLabel(); jLabel22 = new javax.swing.JLabel(); Rtf8 = new javax.swing.JTextField(); jLabel23 = new javax.swing.JLabel(); Rtf20 = new javax.swing.JTextField(); Rtf9 = new javax.swing.JTextField(); jLabel24 = new javax.swing.JLabel(); Rtf21 = new javax.swing.JTextField(); jLabel26 = new javax.swing.JLabel(); Rjc2 = new javax.swing.JComboBox(); jLabel27 = new javax.swing.JLabel(); Rtf22 = new javax.swing.JTextField(); jLabel28 = new javax.swing.JLabel(); Rjc3 = new javax.swing.JComboBox(); jLabel29 = new javax.swing.JLabel(); Rtf23 = new javax.swing.JTextField(); jDesktopPane1 = new javax.swing.JDesktopPane(); imagelabel = new javax.swing.JLabel(); imagebutton = new javax.swing.JButton(); prim = new javax.swing.JTextField(); jLabel61 = new javax.swing.JLabel(); Rtf24 = new javax.swing.JTextField(); jLabel62 = new javax.swing.JLabel(); Rtf25 = new javax.swing.JTextField(); Rtf26 = new javax.swing.JTextField(); jLabel63 = new javax.swing.JLabel(); Rdt1 = new com.toedter.calendar.JDateChooser(); Rdt2 = new com.toedter.calendar.JDateChooser(); jMenuBar1 = new javax.swing.JMenuBar(); jMenu1 = new javax.swing.JMenu(); jMenuItem1 = new javax.swing.JMenuItem(); jMenuItem2 = new javax.swing.JMenuItem(); dttt = new javax.swing.JMenu(); tm = new javax.swing.JMenu(); DEVELOPER = new javax.swing.JMenu(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setPreferredSize(new java.awt.Dimension(1340, 740)); setResizable(false); jTabbedPane1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(51, 255, 0), new java.awt.Color(0, 255, 255), new java.awt.Color(255, 0, 204))); jTabbedPane1.setForeground(new java.awt.Color(0, 0, 255)); jTabbedPane1.setTabPlacement(javax.swing.JTabbedPane.LEFT); jTabbedPane1.setFont(new java.awt.Font("Andalus", 1, 14)); // NOI18N jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 255, 51), new java.awt.Color(255, 0, 0), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), " ----------------- DEPOSIT HERE -----------------", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Maiandra GD", 0, 12), new java.awt.Color(0, 0, 255))); // NOI18N jPanel9.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 255, 204), new java.awt.Color(255, 0, 0), new java.awt.Color(0, 0, 255), new java.awt.Color(255, 0, 204)), "ACTION TO BE TAKEN", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 255))); // NOI18N jPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 0, 0), new java.awt.Color(0, 204, 204), new java.awt.Color(0, 204, 0), new java.awt.Color(255, 0, 204)), "SEARCH FOR", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N jTextField1.setFont(new java.awt.Font("Andalus", 0, 12)); // NOI18N jTextField1.setForeground(new java.awt.Color(0, 0, 204)); jTextField1.setText("ENTER KEYWORDS HERE"); jTextField1.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { jTextField1MouseClicked(evt); } }); jTextField1.addKeyListener(new java.awt.event.KeyAdapter() { public void keyReleased(java.awt.event.KeyEvent evt) { jTextField1KeyReleased(evt); } }); javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10); jPanel10.setLayout(jPanel10Layout); jPanel10Layout.setHorizontalGroup(jPanel10Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel10Layout.createSequentialGroup().addGap(79, 79, 79) .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 212, Short.MAX_VALUE) .addContainerGap())); jPanel10Layout.setVerticalGroup(jPanel10Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel10Layout.createSequentialGroup().addGap(31, 31, 31) .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jButton6.setFont(new java.awt.Font("Andalus", 0, 14)); // NOI18N jButton6.setForeground(new java.awt.Color(0, 0, 204)); jButton6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/save.gif"))); // NOI18N jButton6.setText("DEPOSIT"); jButton6.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton6ActionPerformed(evt); } }); jButton7.setFont(new java.awt.Font("Andalus", 0, 14)); // NOI18N jButton7.setForeground(new java.awt.Color(0, 0, 204)); jButton7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/printer.gif"))); // NOI18N jButton7.setText("PRINT"); jButton7.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton7ActionPerformed(evt); } }); jButton8.setFont(new java.awt.Font("Andalus", 0, 14)); // NOI18N jButton8.setForeground(new java.awt.Color(0, 0, 204)); jButton8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/undo.gif"))); // NOI18N jButton8.setText("RESET"); jLayeredPane1.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 153, 153), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 255, 102), new java.awt.Color(255, 0, 0)), "CHOOSE FEE TYPE", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(204, 0, 204))); // NOI18N PRINTMODE.setFont(new java.awt.Font("Andalus", 0, 14)); // NOI18N PRINTMODE.setForeground(new java.awt.Color(0, 0, 204)); PRINTMODE.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "REGISTRATION", "MONTHLY" })); javax.swing.GroupLayout jLayeredPane1Layout = new javax.swing.GroupLayout(jLayeredPane1); jLayeredPane1.setLayout(jLayeredPane1Layout); jLayeredPane1Layout.setHorizontalGroup( jLayeredPane1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLayeredPane1Layout.createSequentialGroup().addContainerGap() .addComponent(PRINTMODE, 0, 173, Short.MAX_VALUE).addContainerGap())); jLayeredPane1Layout .setVerticalGroup(jLayeredPane1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLayeredPane1Layout.createSequentialGroup().addGap(26, 26, 26) .addComponent(PRINTMODE, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(46, Short.MAX_VALUE))); jLayeredPane1.setLayer(PRINTMODE, javax.swing.JLayeredPane.DEFAULT_LAYER); javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9); jPanel9.setLayout(jPanel9Layout); jPanel9Layout.setHorizontalGroup(jPanel9Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel9Layout.createSequentialGroup() .addGap(24, 24, 24).addComponent(jButton6).addGap(30, 30, 30) .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(41, 41, 41).addComponent(jButton8).addGap(55, 55, 55) .addComponent(jLayeredPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 33, Short.MAX_VALUE) .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(25, 25, 25))); jPanel9Layout .setVerticalGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel9Layout.createSequentialGroup().addGap(53, 53, 53) .addGroup(jPanel9Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jButton8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(0, 0, Short.MAX_VALUE)) .addGroup(jPanel9Layout.createSequentialGroup().addContainerGap().addGroup( jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLayeredPane1, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))); jPanel11.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204), new java.awt.Color(255, 0, 204)), "NUMERIC DATA", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Arial", 0, 12), new java.awt.Color(255, 0, 204))); // NOI18N jPanel11.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); Dtable.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(0, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), "", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tempus Sans ITC", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N Dtable.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N Dtable.setForeground(new java.awt.Color(0, 0, 204)); Dtable.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); Dtable.setGridColor(new java.awt.Color(0, 0, 204)); Dtable.setSelectionBackground(new java.awt.Color(51, 255, 0)); Dtable.setSelectionForeground(new java.awt.Color(255, 0, 0)); jScrollPane2.setViewportView(Dtable); jPanel11.add(jScrollPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(546, 17, 488, 116)); jLabel30.setForeground(new java.awt.Color(0, 0, 204)); jLabel30.setText("ADMISSION NO:"); jPanel11.add(jLabel30, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 31, -1, -1)); Dtf1.setForeground(new java.awt.Color(0, 0, 204)); jPanel11.add(Dtf1, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 28, 190, -1)); jLabel31.setForeground(new java.awt.Color(0, 0, 204)); jLabel31.setText("STUDENT NAME"); jPanel11.add(jLabel31, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 69, -1, -1)); Dtf2.setForeground(new java.awt.Color(0, 0, 204)); jPanel11.add(Dtf2, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 66, 190, -1)); jLabel32.setForeground(new java.awt.Color(0, 0, 204)); jLabel32.setText("FATHERS NAME"); jPanel11.add(jLabel32, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 116, -1, -1)); Dtf3.setForeground(new java.awt.Color(0, 0, 204)); jPanel11.add(Dtf3, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 113, 190, -1)); jLabel33.setForeground(new java.awt.Color(0, 0, 204)); jLabel33.setText("MOTHERS NAME"); jPanel11.add(jLabel33, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 162, -1, -1)); Dtf4.setForeground(new java.awt.Color(0, 0, 204)); jPanel11.add(Dtf4, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 159, 190, -1)); jLabel34.setForeground(new java.awt.Color(0, 0, 204)); jLabel34.setText("CLASS"); jPanel11.add(jLabel34, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 197, -1, -1)); Dtf5.setForeground(new java.awt.Color(0, 0, 204)); jPanel11.add(Dtf5, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 197, 190, -1)); jLabel35.setForeground(new java.awt.Color(0, 0, 204)); jLabel35.setText("TUTION FEE"); jPanel11.add(jLabel35, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 242, -1, -1)); Dtf6.setForeground(new java.awt.Color(0, 0, 204)); Dtf6.setText("0"); jPanel11.add(Dtf6, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 239, 190, -1)); jLabel36.setForeground(new java.awt.Color(0, 0, 204)); jLabel36.setText("COMPUTER FEE"); jPanel11.add(jLabel36, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 280, -1, -1)); Dtf7.setForeground(new java.awt.Color(0, 0, 204)); Dtf7.setText("0"); jPanel11.add(Dtf7, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 277, 190, -1)); jLabel37.setForeground(new java.awt.Color(0, 0, 204)); jLabel37.setText("HOUSE EXAM FEE"); jPanel11.add(jLabel37, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 318, -1, -1)); Dtf8.setForeground(new java.awt.Color(0, 0, 204)); Dtf8.setText("0"); jPanel11.add(Dtf8, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 315, 190, -1)); jLabel38.setForeground(new java.awt.Color(0, 0, 204)); jLabel38.setText("FINES"); jPanel11.add(jLabel38, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 356, -1, -1)); Dtf9.setForeground(new java.awt.Color(0, 0, 204)); Dtf9.setText("0"); jPanel11.add(Dtf9, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 353, 190, -1)); jLabel39.setForeground(new java.awt.Color(0, 0, 204)); jLabel39.setText("OTHER CHARGES:"); jPanel11.add(jLabel39, new org.netbeans.lib.awtextra.AbsoluteConstraints(17, 394, -1, -1)); Dtf10.setForeground(new java.awt.Color(0, 0, 204)); Dtf10.setText("0"); jPanel11.add(Dtf10, new org.netbeans.lib.awtextra.AbsoluteConstraints(146, 391, 190, -1)); javax.swing.GroupLayout jDesktopPane2Layout = new javax.swing.GroupLayout(jDesktopPane2); jDesktopPane2.setLayout(jDesktopPane2Layout); jDesktopPane2Layout.setHorizontalGroup(jDesktopPane2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDesktopPane2Layout .createSequentialGroup().addContainerGap().addComponent(Depimage, javax.swing.GroupLayout.PREFERRED_SIZE, 155, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jDesktopPane2Layout.setVerticalGroup(jDesktopPane2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(Depimage, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)); jDesktopPane2.setLayer(Depimage, javax.swing.JLayeredPane.DEFAULT_LAYER); jPanel11.add(jDesktopPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 11, -1, 130)); jLabel40.setForeground(new java.awt.Color(0, 0, 255)); jLabel40.setText("REGISTRATION FEE"); jPanel11.add(jLabel40, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 162, -1, -1)); jLabel41.setForeground(new java.awt.Color(0, 0, 255)); jLabel41.setText("ADMMISSION/RE FEE"); jPanel11.add(jLabel41, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 200, -1, -1)); jLabel42.setForeground(new java.awt.Color(0, 0, 255)); jLabel42.setText("BUILDING FEE"); jPanel11.add(jLabel42, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 242, -1, -1)); jLabel43.setForeground(new java.awt.Color(0, 0, 255)); jLabel43.setText("ANNUAL CHARGE"); jPanel11.add(jLabel43, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 280, -1, -1)); jLabel44.setForeground(new java.awt.Color(0, 0, 255)); jPanel11.add(jLabel44, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 315, -1, -1)); jLabel45.setForeground(new java.awt.Color(0, 0, 255)); jLabel45.setText("TOTAL PUPILS FUND"); jPanel11.add(jLabel45, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 356, -1, -1)); jLabel46.setForeground(new java.awt.Color(0, 0, 255)); jLabel46.setText("SECURITY(REFUNDABLE)"); jPanel11.add(jLabel46, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 394, -1, -1)); Dtf11.setForeground(new java.awt.Color(0, 0, 204)); Dtf11.setText("0"); jPanel11.add(Dtf11, new org.netbeans.lib.awtextra.AbsoluteConstraints(511, 159, 150, -1)); Dtf12.setForeground(new java.awt.Color(0, 0, 204)); Dtf12.setText("0"); jPanel11.add(Dtf12, new org.netbeans.lib.awtextra.AbsoluteConstraints(511, 197, 150, -1)); Dtf13.setForeground(new java.awt.Color(0, 0, 204)); Dtf13.setText("0"); jPanel11.add(Dtf13, new org.netbeans.lib.awtextra.AbsoluteConstraints(511, 239, 150, -1)); Dtf14.setForeground(new java.awt.Color(0, 0, 204)); Dtf14.setText("0"); jPanel11.add(Dtf14, new org.netbeans.lib.awtextra.AbsoluteConstraints(511, 277, 150, -1)); Dtf16.setForeground(new java.awt.Color(0, 0, 204)); Dtf16.setText("0"); jPanel11.add(Dtf16, new org.netbeans.lib.awtextra.AbsoluteConstraints(511, 353, 150, -1)); Dtf17.setForeground(new java.awt.Color(0, 0, 204)); Dtf17.setText("0"); jPanel11.add(Dtf17, new org.netbeans.lib.awtextra.AbsoluteConstraints(511, 391, 150, -1)); Dtf15.setForeground(new java.awt.Color(0, 0, 204)); Dtf15.setText("0"); jPanel11.add(Dtf15, new org.netbeans.lib.awtextra.AbsoluteConstraints(511, 315, 150, -1)); jLabel47.setForeground(new java.awt.Color(0, 0, 204)); jLabel47.setText("SPORTS FEE"); jPanel11.add(jLabel47, new org.netbeans.lib.awtextra.AbsoluteConstraints(354, 318, -1, -1)); jLabel48.setForeground(new java.awt.Color(0, 0, 204)); jLabel48.setText("CONVEYANCE CHARGE"); jPanel11.add(jLabel48, new org.netbeans.lib.awtextra.AbsoluteConstraints(715, 162, -1, -1)); Dtf18.setForeground(new java.awt.Color(0, 0, 204)); Dtf18.setText("0"); jPanel11.add(Dtf18, new org.netbeans.lib.awtextra.AbsoluteConstraints(894, 159, 140, -1)); jLabel49.setForeground(new java.awt.Color(0, 0, 204)); jLabel49.setText("CORROSPONDING ADDRESS"); jPanel11.add(jLabel49, new org.netbeans.lib.awtextra.AbsoluteConstraints(715, 200, -1, -1)); Dtf19.setForeground(new java.awt.Color(0, 0, 204)); Dtf19.setText("0"); jPanel11.add(Dtf19, new org.netbeans.lib.awtextra.AbsoluteConstraints(894, 197, 140, -1)); jLabel50.setForeground(new java.awt.Color(0, 0, 204)); jLabel50.setText("CONTACT NO:"); jPanel11.add(jLabel50, new org.netbeans.lib.awtextra.AbsoluteConstraints(715, 242, -1, -1)); Dtf20.setForeground(new java.awt.Color(0, 0, 204)); Dtf20.setText("0"); jPanel11.add(Dtf20, new org.netbeans.lib.awtextra.AbsoluteConstraints(894, 239, 140, -1)); jLabel51.setForeground(new java.awt.Color(0, 0, 204)); jLabel51.setText("RECIEPT NO:"); jPanel11.add(jLabel51, new org.netbeans.lib.awtextra.AbsoluteConstraints(715, 280, -1, -1)); jLabel52.setForeground(new java.awt.Color(0, 0, 204)); jLabel52.setText("RECEIPT DATE:"); jPanel11.add(jLabel52, new org.netbeans.lib.awtextra.AbsoluteConstraints(715, 320, -1, -1)); Dtf21.setForeground(new java.awt.Color(0, 0, 204)); Dtf21.setText("0"); jPanel11.add(Dtf21, new org.netbeans.lib.awtextra.AbsoluteConstraints(894, 280, 140, -1)); jLabel53.setForeground(new java.awt.Color(0, 0, 204)); jLabel53.setText("MONTH"); jPanel11.add(jLabel53, new org.netbeans.lib.awtextra.AbsoluteConstraints(715, 360, -1, -1)); Djc1.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N Djc1.setForeground(new java.awt.Color(0, 0, 204)); Djc1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" })); Djc1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { Djc1ActionPerformed(evt); } }); jPanel11.add(Djc1, new org.netbeans.lib.awtextra.AbsoluteConstraints(894, 350, 140, -1)); Dtf22.setForeground(new java.awt.Color(0, 0, 204)); Dtf22.setText("NA"); jPanel11.add(Dtf22, new org.netbeans.lib.awtextra.AbsoluteConstraints(894, 380, 140, -1)); jLabel64.setForeground(new java.awt.Color(0, 0, 204)); jLabel64.setText("SECTION"); jPanel11.add(jLabel64, new org.netbeans.lib.awtextra.AbsoluteConstraints(715, 390, -1, -1)); jPanel11.add(jDateChooser1, new org.netbeans.lib.awtextra.AbsoluteConstraints(894, 320, 140, -1)); javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup(jPanel3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap())); jPanel3Layout.setVerticalGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup() .addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, 446, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(16, 16, 16))); jTabbedPane1.addTab("DEPOSITE", jPanel3); jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 51), new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 255)), " ----------------- GENERATE TC FROM HERE -----------------", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Maiandra GD", 0, 12), new java.awt.Color(0, 0, 255))); // NOI18N jPanel17.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(0, 255, 0), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), "TC PARTICULARS", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Andalus", 2, 12), new java.awt.Color(0, 0, 204))); // NOI18N TC6.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC6.setForeground(new java.awt.Color(0, 0, 153)); TC6.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "pre nuresery", "nuresery", "lkg", "ukg", "std-1" })); TC5.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC5.setForeground(new java.awt.Color(0, 0, 153)); TC4.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC4.setForeground(new java.awt.Color(0, 0, 153)); TC3.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC3.setForeground(new java.awt.Color(0, 0, 153)); TC2.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC2.setForeground(new java.awt.Color(0, 0, 153)); TC1.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC1.setForeground(new java.awt.Color(0, 0, 153)); TC7.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC7.setForeground(new java.awt.Color(0, 0, 153)); TC8.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC8.setForeground(new java.awt.Color(0, 0, 153)); TC9.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC9.setForeground(new java.awt.Color(0, 0, 153)); TC10.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC10.setForeground(new java.awt.Color(0, 0, 153)); TC11.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC11.setForeground(new java.awt.Color(0, 0, 153)); TC14.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC14.setForeground(new java.awt.Color(0, 0, 153)); TC16.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC16.setForeground(new java.awt.Color(0, 0, 153)); TC17.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC17.setForeground(new java.awt.Color(0, 0, 153)); jTextField16.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jTextField16.setForeground(new java.awt.Color(0, 0, 153)); jLabel65.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel65.setForeground(new java.awt.Color(0, 0, 153)); jLabel65.setText("NAME OF SCHOLOR"); jLabel66.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel66.setForeground(new java.awt.Color(0, 0, 153)); jLabel66.setText("FATHER'S NAME"); jLabel67.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel67.setForeground(new java.awt.Color(0, 0, 153)); jLabel67.setText("MOTHER'S NAME"); jLabel68.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel68.setForeground(new java.awt.Color(0, 0, 153)); jLabel68.setText("RELIGION"); jLabel69.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel69.setForeground(new java.awt.Color(0, 0, 153)); jLabel69.setText("CASTE"); jLabel70.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel70.setForeground(new java.awt.Color(0, 0, 153)); jLabel70.setText("CLASS"); jLabel71.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel71.setForeground(new java.awt.Color(0, 0, 153)); jLabel71.setText("SECTION"); jLabel72.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel72.setForeground(new java.awt.Color(0, 0, 153)); jLabel72.setText("REGISTRATION NO"); jLabel73.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel73.setForeground(new java.awt.Color(0, 0, 153)); jLabel73.setText("DATE OF BIRTH"); jLabel74.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel74.setForeground(new java.awt.Color(0, 0, 153)); jLabel74.setText("ADDRESS"); jLabel75.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel75.setForeground(new java.awt.Color(0, 0, 153)); jLabel75.setText("DATE OF ADMISSION"); jLabel76.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel76.setForeground(new java.awt.Color(0, 0, 153)); jLabel76.setText("DATE OF PROMOTION"); jLabel77.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel77.setForeground(new java.awt.Color(0, 0, 153)); jLabel77.setText("DATE OF REMOVAL"); jLabel78.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel78.setForeground(new java.awt.Color(0, 0, 153)); jLabel78.setText("CAUSE OF REMOVAL"); jLabel79.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel79.setForeground(new java.awt.Color(0, 0, 153)); jLabel79.setText("YEAR"); jLabel80.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel80.setForeground(new java.awt.Color(0, 0, 153)); jLabel80.setText("REFRERNCE NO"); jLabel81.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel81.setForeground(new java.awt.Color(0, 0, 153)); jLabel81.setText("CONDUCT AND WORK"); jLabel82.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jLabel82.setForeground(new java.awt.Color(0, 0, 153)); jLabel82.setText("BACK-UP"); TC15.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N TC15.setForeground(new java.awt.Color(0, 0, 153)); TC15.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025" })); javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17); jPanel17.setLayout(jPanel17Layout); jPanel17Layout.setHorizontalGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel17Layout.createSequentialGroup().addGap(29, 29, 29) .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel65).addComponent(jLabel66).addComponent(jLabel67) .addComponent(jLabel68).addComponent(jLabel69).addComponent(jLabel70) .addComponent(jLabel71).addComponent(jLabel72).addComponent(jLabel73)) .addGap(170, 170, 170) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(TC6, 0, 206, Short.MAX_VALUE).addComponent(TC5).addComponent(TC4) .addComponent(TC3).addComponent(TC2).addComponent(TC1).addComponent(TC7) .addComponent(TC8).addComponent(TC9)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 22, Short.MAX_VALUE) .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel74).addComponent(jLabel75).addComponent(jLabel76) .addComponent(jLabel77).addComponent(jLabel79).addComponent(jLabel81) .addComponent(jLabel82) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jLabel80, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel78, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addGap(127, 127, 127) .addGroup( jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(TC10).addComponent(TC11).addComponent(TC14).addComponent(TC16) .addComponent(TC17).addComponent(jTextField16) .addComponent(TC15, 0, 191, Short.MAX_VALUE) .addComponent(TC12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(TC13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(29, 29, 29))); jPanel17Layout .setVerticalGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel17Layout.createSequentialGroup().addGap(7, 7, 7).addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel17Layout.createSequentialGroup().addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TC10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel65).addComponent(jLabel74)).addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TC11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel66).addComponent(jLabel75)) .addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel67).addComponent(jLabel76))) .addComponent(TC12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel68).addComponent(jLabel77)) .addComponent(TC13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TC14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel69).addComponent(jLabel78)) .addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel70).addComponent(jLabel79).addComponent(TC15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TC16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel71).addComponent(jLabel80)) .addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TC17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel72).addComponent(jLabel81)) .addGap(18, 18, 18) .addGroup(jPanel17Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TC9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel73).addComponent(jLabel82)) .addContainerGap(145, Short.MAX_VALUE))); jPanel18.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 204), new java.awt.Color(0, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), "GENERATE FROM HERE", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N jPanel19.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(0, 255, 153), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), "SEARCH FOM HERE", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N TCsearch.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N TCsearch.setForeground(new java.awt.Color(0, 0, 204)); TCsearch.setText("ENTER KEYWORDS HERE"); TCsearch.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { TCsearchMouseClicked(evt); } }); javax.swing.GroupLayout jPanel19Layout = new javax.swing.GroupLayout(jPanel19); jPanel19.setLayout(jPanel19Layout); jPanel19Layout .setHorizontalGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel19Layout.createSequentialGroup().addGap(68, 68, 68) .addComponent(TCsearch, javax.swing.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE) .addContainerGap())); jPanel19Layout.setVerticalGroup(jPanel19Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel19Layout.createSequentialGroup().addGap(19, 19, 19) .addComponent(TCsearch, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jButton13.setFont(new java.awt.Font("Batang", 1, 14)); // NOI18N jButton13.setForeground(new java.awt.Color(0, 0, 204)); jButton13.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/printer.gif"))); // NOI18N jButton13.setText("GENERATE TC"); jButton13.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton13ActionPerformed(evt); } }); javax.swing.GroupLayout jPanel18Layout = new javax.swing.GroupLayout(jPanel18); jPanel18.setLayout(jPanel18Layout); jPanel18Layout.setHorizontalGroup(jPanel18Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel18Layout.createSequentialGroup() .addContainerGap(296, Short.MAX_VALUE).addComponent(jButton13).addGap(255, 255, 255) .addComponent(jPanel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jPanel18Layout .setVerticalGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel18Layout.createSequentialGroup() .addComponent(jPanel19, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) .addGroup(jPanel18Layout.createSequentialGroup().addContainerGap().addComponent(jButton13) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup(jPanel4Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel17, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap())); jPanel4Layout.setVerticalGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jPanel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap())); jTabbedPane1.addTab("TRANSFER CERTIFICATE", jPanel4); jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 204)), " ----------------- CHECK OUT STATUS OF RECORDS -----------------", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 255))); // NOI18N jTabbedPane2.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 204), new java.awt.Color(0, 255, 0), null, new java.awt.Color(0, 0, 0))); jTabbedPane2.setForeground(new java.awt.Color(255, 0, 255)); jTabbedPane2.setFont(new java.awt.Font("Tempus Sans ITC", 2, 14)); // NOI18N jPanel12.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(51, 255, 102), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 255)), "MONTH WISE", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N Stmonth.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N Stmonth.setForeground(new java.awt.Color(0, 0, 204)); Stmonth.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); Stmonth.setGridColor(new java.awt.Color(0, 0, 204)); Stmonth.setSelectionBackground(new java.awt.Color(0, 255, 102)); Stmonth.setSelectionForeground(new java.awt.Color(204, 0, 0)); jScrollPane3.setViewportView(Stmonth); SJMONTH.setFont(new java.awt.Font("Andalus", 1, 14)); // NOI18N SJMONTH.setForeground(new java.awt.Color(0, 0, 204)); SJMONTH.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" })); SJMONTH.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { SJMONTHActionPerformed(evt); } }); jLabel54.setFont(new java.awt.Font("Andalus", 3, 14)); // NOI18N jLabel54.setForeground(new java.awt.Color(0, 0, 204)); jLabel54.setText("SELECT MONTH"); jButton9.setFont(new java.awt.Font("Andalus", 3, 14)); // NOI18N jButton9.setForeground(new java.awt.Color(0, 0, 204)); jButton9.setText("HIT ME"); jButton9.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton9ActionPerformed(evt); } }); jLabel96.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/42.gif"))); // NOI18N javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12); jPanel12.setLayout(jPanel12Layout); jPanel12Layout.setHorizontalGroup(jPanel12Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel12Layout.createSequentialGroup().addContainerGap() .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 705, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(56, 56, 56) .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel12Layout.createSequentialGroup() .addComponent(jLabel54, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE) .addGap(18, 18, 18) .addGroup(jPanel12Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jButton9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(SJMONTH, 0, 140, Short.MAX_VALUE)) .addGap(20, 20, 20)) .addGroup(jPanel12Layout.createSequentialGroup() .addComponent(jLabel96, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap())))); jPanel12Layout.setVerticalGroup(jPanel12Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel12Layout.createSequentialGroup().addContainerGap().addGroup(jPanel12Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel12Layout.createSequentialGroup() .addGroup(jPanel12Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel54) .addComponent(SJMONTH, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(34, 34, 34) .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(88, 88, 88).addComponent(jLabel96, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap(123, Short.MAX_VALUE))); jTabbedPane2.addTab("MONTH", jPanel12); jPanel13.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(0, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), "SESSION WISE", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N SJTSESSION.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N SJTSESSION.setForeground(new java.awt.Color(0, 0, 204)); SJTSESSION .setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); SJTSESSION.setGridColor(new java.awt.Color(0, 0, 204)); SJTSESSION.setSelectionBackground(new java.awt.Color(0, 255, 51)); SJTSESSION.setSelectionForeground(new java.awt.Color(255, 0, 0)); jScrollPane4.setViewportView(SJTSESSION); Rjc4.setForeground(new java.awt.Color(0, 0, 255)); Rjc4.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "2015-2016", "2016-2017", "2017-2018", "2018-2019", "2019-2020" })); Rjc5.setForeground(new java.awt.Color(0, 0, 255)); Rjc5.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "2015-2016", "2016-2017", "2017-2018", "2018-2019", "2019-2020" })); SJCSESSION.setFont(new java.awt.Font("Andalus", 0, 14)); // NOI18N SJCSESSION.setForeground(new java.awt.Color(0, 0, 204)); SJCSESSION.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "2015-2016", "2016-2017", "2017-2018", "2018-2019", "2019-2020" })); jLabel55.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jLabel55.setForeground(new java.awt.Color(0, 0, 204)); jLabel55.setText("SESSION"); jButton10.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jButton10.setForeground(new java.awt.Color(0, 0, 204)); jButton10.setText("HIT ME"); jButton10.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton10ActionPerformed(evt); } }); SSESSIONMONTH.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N SSESSIONMONTH.setForeground(new java.awt.Color(0, 0, 204)); SSESSIONMONTH.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" })); jLabel56.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jLabel56.setForeground(new java.awt.Color(0, 0, 204)); jLabel56.setText("MONTHS"); jLabel56.setToolTipText(""); jLabel95.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/scool1.gif"))); // NOI18N javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13); jPanel13.setLayout(jPanel13Layout); jPanel13Layout.setHorizontalGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup().addContainerGap() .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 705, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup().addGap(44, 44, 44) .addGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel55).addComponent(jLabel56)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 80, Short.MAX_VALUE) .addGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(SSESSIONMONTH, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(SJCSESSION, 0, 164, Short.MAX_VALUE))) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel13Layout .createSequentialGroup() .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jButton10, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 164, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel95, javax.swing.GroupLayout.Alignment.TRAILING)))) .addContainerGap()) .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup().addGap(428, 428, 428) .addComponent(Rjc4, 0, 222, Short.MAX_VALUE).addGap(429, 429, 429))) .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup().addGap(428, 428, 428) .addComponent(Rjc5, 0, 222, Short.MAX_VALUE).addGap(429, 429, 429)))); jPanel13Layout.setVerticalGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup().addContainerGap().addGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel13Layout.createSequentialGroup() .addGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(SJCSESSION, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel55)) .addGap(28, 28, 28) .addGroup(jPanel13Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(SSESSIONMONTH, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel56)) .addGap(55, 55, 55) .addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(158, 158, 158).addComponent(jLabel95)) .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(123, Short.MAX_VALUE)) .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup().addGap(282, 282, 282) .addComponent(Rjc4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(259, Short.MAX_VALUE))) .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup().addGap(282, 282, 282) .addComponent(Rjc5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(259, Short.MAX_VALUE)))); jTabbedPane2.addTab("SESSION", jPanel13); jPanel14.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255)), "RECEIPT WISE", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N RECEIPTTABALE.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N RECEIPTTABALE.setForeground(new java.awt.Color(0, 0, 204)); RECEIPTTABALE .setModel(new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); RECEIPTTABALE.setGridColor(new java.awt.Color(0, 0, 204)); RECEIPTTABALE.setSelectionBackground(new java.awt.Color(0, 255, 102)); RECEIPTTABALE.setSelectionForeground(new java.awt.Color(255, 0, 0)); jScrollPane5.setViewportView(RECEIPTTABALE); jLabel57.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jLabel57.setForeground(new java.awt.Color(0, 0, 204)); jLabel57.setText("MONTHS"); SJCRECEIPT.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N SJCRECEIPT.setForeground(new java.awt.Color(0, 0, 204)); SJCRECEIPT.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" })); RECEIPTtf.setFont(new java.awt.Font("Tempus Sans ITC", 2, 12)); // NOI18N RECEIPTtf.setForeground(new java.awt.Color(0, 0, 204)); RECEIPTtf.setText("ENTER RECEIPT NO:"); RECEIPTtf.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { RECEIPTtfMouseClicked(evt); } }); jLabel58.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jLabel58.setForeground(new java.awt.Color(0, 0, 204)); jLabel58.setText("RECEIPT NUMBER"); jButton11.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jButton11.setForeground(new java.awt.Color(0, 0, 204)); jButton11.setText("HEAT ME"); jButton11.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton11ActionPerformed(evt); } }); jLabel94.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/scool.gif"))); // NOI18N javax.swing.GroupLayout jPanel14Layout = new javax.swing.GroupLayout(jPanel14); jPanel14.setLayout(jPanel14Layout); jPanel14Layout.setHorizontalGroup(jPanel14Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel14Layout.createSequentialGroup().addContainerGap() .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 705, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel14Layout.createSequentialGroup().addGap(18, 18, 18) .addGroup(jPanel14Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel57).addComponent(jLabel58)) .addGap(75, 75, 75) .addGroup(jPanel14Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(SJCRECEIPT, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(RECEIPTtf, javax.swing.GroupLayout.DEFAULT_SIZE, 149, Short.MAX_VALUE) .addComponent(jButton11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel14Layout.createSequentialGroup() .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel94, javax.swing.GroupLayout.PREFERRED_SIZE, 139, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(165, 165, 165))) .addContainerGap())); jPanel14Layout.setVerticalGroup(jPanel14Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel14Layout.createSequentialGroup().addContainerGap().addGroup(jPanel14Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel14Layout.createSequentialGroup().addGroup(jPanel14Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel14Layout.createSequentialGroup() .addComponent(SJCRECEIPT, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(45, 45, 45) .addGroup(jPanel14Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(RECEIPTtf, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel58)) .addGap(44, 44, 44).addComponent(jButton11)) .addComponent(jLabel57)).addGap(41, 41, 41).addComponent(jLabel94, javax.swing.GroupLayout.PREFERRED_SIZE, 217, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(123, Short.MAX_VALUE))); jTabbedPane2.addTab("RECEIPT", jPanel14); jPanel15.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 51), new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), "CLASS WISE", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N c.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N c.setForeground(new java.awt.Color(0, 0, 204)); c.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); c.setGridColor(new java.awt.Color(0, 0, 204)); c.setSelectionBackground(new java.awt.Color(0, 255, 51)); c.setSelectionForeground(new java.awt.Color(255, 0, 0)); jScrollPane6.setViewportView(c); jLabel59.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jLabel59.setForeground(new java.awt.Color(0, 0, 204)); jLabel59.setText("class"); a.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N a.setForeground(new java.awt.Color(0, 0, 255)); a.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "pre nuresery", "nuresery", "lkg", "ukg", "std-1" })); jLabel60.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jLabel60.setForeground(new java.awt.Color(0, 0, 204)); jLabel60.setText("month"); b.setFont(new java.awt.Font("Andalus", 1, 14)); // NOI18N b.setForeground(new java.awt.Color(0, 0, 204)); b.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" })); b.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { bActionPerformed(evt); } }); jButton12.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jButton12.setForeground(new java.awt.Color(0, 0, 204)); jButton12.setText("HIT ME"); jButton12.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton12ActionPerformed(evt); } }); jLabel93.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ff.jpg"))); // NOI18N javax.swing.GroupLayout jPanel15Layout = new javax.swing.GroupLayout(jPanel15); jPanel15.setLayout(jPanel15Layout); jPanel15Layout.setHorizontalGroup(jPanel15Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel15Layout.createSequentialGroup().addContainerGap() .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 705, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel59).addComponent(jLabel60)) .addGap(50, 50, 50) .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel93, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(a, 0, 222, Short.MAX_VALUE) .addComponent(b, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(28, 28, 28))); jPanel15Layout.setVerticalGroup(jPanel15Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel15Layout.createSequentialGroup().addContainerGap().addGroup(jPanel15Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel15Layout.createSequentialGroup() .addGroup(jPanel15Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel59).addComponent(a, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(42, 42, 42) .addGroup(jPanel15Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel60).addComponent(b, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(54, 54, 54).addComponent(jButton12)) .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel93, javax.swing.GroupLayout.PREFERRED_SIZE, 224, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap(123, Short.MAX_VALUE))); jTabbedPane2.addTab("CLASS", jPanel15); jPanel16.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 0, 204), new java.awt.Color(51, 255, 51), new java.awt.Color(255, 51, 51), new java.awt.Color(0, 0, 0)), "OVERALL RECORDS", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 204))); // NOI18N jPanel20.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 255, 0), new java.awt.Color(0, 0, 204), new java.awt.Color(0, 0, 0), new java.awt.Color(204, 0, 0)), "INDICATOR -- 1", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tempus Sans ITC", 1, 14), new java.awt.Color(0, 0, 153))); // NOI18N jPanel20.setForeground(new java.awt.Color(204, 0, 204)); jComboBox1.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jComboBox1.setForeground(new java.awt.Color(0, 0, 204)); jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" })); jTextField2.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jTextField3.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jTextField4.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jLabel83.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jLabel83.setForeground(new java.awt.Color(204, 0, 204)); jLabel83.setText("MONTH"); jLabel84.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jLabel84.setForeground(new java.awt.Color(204, 0, 204)); jLabel84.setText("TOTAL"); jLabel85.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jLabel85.setForeground(new java.awt.Color(204, 0, 204)); jLabel85.setText("DEPOSIT"); jLabel86.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jLabel86.setForeground(new java.awt.Color(204, 0, 204)); jLabel86.setText("BALANCE"); jLabel87.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jLabel87.setForeground(new java.awt.Color(204, 0, 204)); jLabel87.setText("STATUS IN %"); javax.swing.GroupLayout jPanel20Layout = new javax.swing.GroupLayout(jPanel20); jPanel20.setLayout(jPanel20Layout); jPanel20Layout .setHorizontalGroup(jPanel20Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel20Layout.createSequentialGroup().addGap(23, 23, 23) .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 177, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(53, 53, 53) .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(85, 85, 85) .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(55, 55, 55).addComponent(jTextField4).addGap(18, 18, 18) .addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 164, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) .addGroup(jPanel20Layout.createSequentialGroup().addGap(54, 54, 54) .addComponent(jLabel83, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(175, 175, 175) .addComponent(jLabel84, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(174, 174, 174) .addComponent(jLabel85, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 138, Short.MAX_VALUE) .addComponent(jLabel86).addGap(100, 100, 100) .addComponent(jLabel87, javax.swing.GroupLayout.PREFERRED_SIZE, 78, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(76, 76, 76))); jPanel20Layout.setVerticalGroup( jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup( javax.swing.GroupLayout.Alignment.TRAILING, jPanel20Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel20Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(jPanel20Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel84).addComponent(jLabel85) .addComponent(jLabel86).addComponent(jLabel87)) .addComponent(jLabel83, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 15, Short.MAX_VALUE) .addGroup(jPanel20Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jComboBox1, 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) .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(26, 26, 26))); jPanel21.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 204, 153), new java.awt.Color(0, 0, 153), new java.awt.Color(204, 0, 0), new java.awt.Color(0, 0, 0)), "INDICATOR --2", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 14), new java.awt.Color(0, 0, 204))); // NOI18N jButton14.setFont(new java.awt.Font("Tempus Sans ITC", 1, 14)); // NOI18N jButton14.setForeground(new java.awt.Color(0, 0, 153)); jButton14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/MESS2.png"))); // NOI18N jButton14.setText("SEND MAIL"); jLabel88.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jLabel88.setForeground(new java.awt.Color(255, 0, 204)); jLabel88.setText("FROM"); jComboBox2.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N jComboBox2.setForeground(new java.awt.Color(0, 0, 204)); jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "manikantgautam4u@gmail.com", "pritammanikant1992@gmail.com", "manikantgautam1992@gmail.com" })); jLabel89.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jLabel89.setForeground(new java.awt.Color(204, 0, 204)); jLabel89.setText("TO"); jTextField5.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jTextField5.setForeground(new java.awt.Color(0, 0, 204)); jTextArea1.setColumns(20); jTextArea1.setForeground(new java.awt.Color(0, 0, 204)); jTextArea1.setRows(5); jScrollPane7.setViewportView(jTextArea1); jLabel90.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jLabel90.setForeground(new java.awt.Color(204, 0, 204)); jLabel90.setText("SUBJECT"); jTextField6.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jTextField6.setForeground(new java.awt.Color(0, 0, 204)); jLabel91.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jLabel91.setForeground(new java.awt.Color(204, 0, 204)); jLabel91.setText("MESSAGE BODY"); jPasswordField1.setForeground(new java.awt.Color(0, 0, 204)); jPasswordField1.setText("PASSWORD"); jLabel105.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N jLabel105.setForeground(new java.awt.Color(204, 0, 204)); jLabel105.setText("PASSWORD"); javax.swing.GroupLayout jPanel21Layout = new javax.swing.GroupLayout(jPanel21); jPanel21.setLayout(jPanel21Layout); jPanel21Layout.setHorizontalGroup(jPanel21Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel21Layout.createSequentialGroup().addGap(25, 25, 25) .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel88).addComponent(jLabel90).addComponent(jLabel105)) .addGap(37, 37, 37) .addGroup(jPanel21Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jPasswordField1).addComponent(jComboBox2, 0, 241, Short.MAX_VALUE) .addComponent(jTextField6)) .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel21Layout.createSequentialGroup().addGap(38, 38, 38) .addComponent(jLabel89)) .addGroup(jPanel21Layout .createSequentialGroup().addGap(29, 29, 29).addComponent(jLabel91))) .addGap(42, 42, 42) .addGroup( jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 372, Short.MAX_VALUE) .addComponent(jTextField5)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jPanel21Layout.setVerticalGroup(jPanel21Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel21Layout.createSequentialGroup().addGap(10, 10, 10).addGroup(jPanel21Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel88) .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel89).addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel105)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 10, Short.MAX_VALUE) .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel21Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel91)) .addComponent(jLabel90)) .addGap(30, 30, 30)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel21Layout.createSequentialGroup().addGap(41, 41, 41) .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) .addContainerGap()) .addGroup(jPanel21Layout.createSequentialGroup().addContainerGap() .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) .addContainerGap())); jPanel25.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(51, 255, 0), new java.awt.Color(0, 0, 153), new java.awt.Color(204, 0, 204), new java.awt.Color(0, 0, 0)), "INDICATOR --3", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Andalus", 1, 14), new java.awt.Color(0, 0, 204))); // NOI18N jTextField7.setFont(new java.awt.Font("Baskerville Old Face", 1, 12)); // NOI18N jTextField7.setForeground(new java.awt.Color(204, 0, 204)); jLabel103.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jLabel103.setForeground(new java.awt.Color(0, 0, 204)); jLabel103.setText("FATHER'S PH NO:-"); jLabel104.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jLabel104.setForeground(new java.awt.Color(0, 0, 204)); jLabel104.setText("MOTHER'S NAME:-"); jTextField8.setFont(new java.awt.Font("Baskerville Old Face", 1, 12)); // NOI18N jTextField8.setForeground(new java.awt.Color(204, 0, 204)); jCheckBox1.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jCheckBox1.setForeground(new java.awt.Color(0, 0, 204)); jCheckBox1.setText("SELECT ME"); jCheckBox2.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jCheckBox2.setForeground(new java.awt.Color(0, 0, 204)); jCheckBox2.setText("SELECT ME"); jTextArea2.setColumns(20); jTextArea2.setRows(5); jScrollPane9.setViewportView(jTextArea2); jButton17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/sms.png"))); // NOI18N jButton17.setToolTipText(""); jButton17.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton17ActionPerformed(evt); } }); javax.swing.GroupLayout jPanel25Layout = new javax.swing.GroupLayout(jPanel25); jPanel25.setLayout(jPanel25Layout); jPanel25Layout.setHorizontalGroup(jPanel25Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel25Layout.createSequentialGroup().addGap(30, 30, 30) .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel104).addComponent(jLabel103, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(75, 75, 75) .addGroup( jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jTextField7, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE) .addComponent(jTextField8)) .addGap(18, 18, 18) .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jCheckBox1).addComponent(jCheckBox2)) .addGap(34, 34, 34) .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 308, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, 148, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jPanel25Layout.setVerticalGroup(jPanel25Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel25Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel25Layout.createSequentialGroup().addGroup(jPanel25Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel103).addComponent(jCheckBox1)) .addGroup(jPanel25Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel25Layout.createSequentialGroup().addGap(22, 22, 22) .addGroup(jPanel25Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel104, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(jPanel25Layout.createSequentialGroup().addGap(18, 18, 18) .addComponent(jCheckBox2)))) .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(29, Short.MAX_VALUE)) .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)); javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16); jPanel16.setLayout(jPanel16Layout); jPanel16Layout.setHorizontalGroup(jPanel16Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel16Layout.createSequentialGroup().addContainerGap().addGroup(jPanel16Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jPanel25, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel20, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel21, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap(24, Short.MAX_VALUE))); jPanel16Layout.setVerticalGroup(jPanel16Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel16Layout.createSequentialGroup().addContainerGap() .addComponent(jPanel20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(45, 45, 45) .addComponent(jPanel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(38, 38, 38) .addComponent(jPanel25, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(25, Short.MAX_VALUE))); jTabbedPane2.addTab("OVERALL", jPanel16); javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(jPanel5Layout .createSequentialGroup().addContainerGap().addComponent(jTabbedPane2).addContainerGap())); jPanel5Layout.setVerticalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(jPanel5Layout .createSequentialGroup().addContainerGap().addComponent(jTabbedPane2).addContainerGap())); jTabbedPane1.addTab("STATUS", jPanel5); jPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 51), new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), " ----------------- ALL REGISTER STUDENTS -----------------", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 255))); // NOI18N Atable.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N Atable.setForeground(new java.awt.Color(0, 0, 255)); Atable.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); Atable.setGridColor(new java.awt.Color(0, 0, 204)); Atable.setSelectionBackground(new java.awt.Color(0, 255, 0)); Atable.setSelectionForeground(new java.awt.Color(255, 0, 0)); jScrollPane1.setViewportView(Atable); jPanel23.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 255, 0), new java.awt.Color(0, 0, 255), new java.awt.Color(255, 0, 255), new java.awt.Color(0, 0, 0)), "PERSONAL INFORMATION", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tempus Sans ITC", 1, 12), new java.awt.Color(0, 0, 204))); // NOI18N jDesktopPane3.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 0, 204), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 255, 51), new java.awt.Color(255, 0, 255))); jLabel92.setText("jLabel92"); javax.swing.GroupLayout jDesktopPane3Layout = new javax.swing.GroupLayout(jDesktopPane3); jDesktopPane3.setLayout(jDesktopPane3Layout); jDesktopPane3Layout.setHorizontalGroup(jDesktopPane3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDesktopPane3Layout .createSequentialGroup().addContainerGap().addComponent(jLabel92, javax.swing.GroupLayout.PREFERRED_SIZE, 193, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jDesktopPane3Layout.setVerticalGroup(jDesktopPane3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDesktopPane3Layout .createSequentialGroup().addContainerGap().addComponent(jLabel92, javax.swing.GroupLayout.PREFERRED_SIZE, 155, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jDesktopPane3.setLayer(jLabel92, javax.swing.JLayeredPane.DEFAULT_LAYER); javax.swing.GroupLayout jPanel23Layout = new javax.swing.GroupLayout(jPanel23); jPanel23.setLayout(jPanel23Layout); jPanel23Layout.setHorizontalGroup(jPanel23Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel23Layout.createSequentialGroup().addGap(34, 34, 34) .addComponent(jDesktopPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jPanel23Layout.setVerticalGroup( jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup( javax.swing.GroupLayout.Alignment.TRAILING, jPanel23Layout.createSequentialGroup().addComponent(jDesktopPane3).addContainerGap())); javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6); jPanel6.setLayout(jPanel6Layout); jPanel6Layout.setHorizontalGroup(jPanel6Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel6Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 1114, Short.MAX_VALUE) .addComponent(jPanel23, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))); jPanel6Layout.setVerticalGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel6Layout.createSequentialGroup() .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18).addComponent(jPanel23, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap())); jTabbedPane1.addTab("ALL STUDENTS", jPanel6); jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(0, 255, 204), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 255)), " ----------------- COMING SOON -----------------", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 255))); // NOI18N jPanel22.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 204, 51), new java.awt.Color(0, 0, 255), new java.awt.Color(51, 255, 255), new java.awt.Color(0, 0, 0)), "open webcame & capture image", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tempus Sans ITC", 1, 12), new java.awt.Color(0, 0, 255))); // NOI18N jButton15.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jButton15.setForeground(new java.awt.Color(0, 0, 255)); jButton15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/CAMERA.png"))); // NOI18N jButton15.setText("OPEN WEBCAM"); jButton15.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton15ActionPerformed(evt); } }); jButton18.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jButton18.setForeground(new java.awt.Color(0, 0, 204)); jButton18.setText("CAPTURE IMAGE OF DESKTOP"); jButton18.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton18ActionPerformed(evt); } }); jButton19.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N jButton19.setForeground(new java.awt.Color(0, 0, 255)); jButton19.setText("GRAB IMAGE"); jButton19.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton19ActionPerformed(evt); } }); jButton20.setText("play"); jButton20.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton20ActionPerformed(evt); } }); javax.swing.GroupLayout jPanel22Layout = new javax.swing.GroupLayout(jPanel22); jPanel22.setLayout(jPanel22Layout); jPanel22Layout.setHorizontalGroup(jPanel22Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel22Layout.createSequentialGroup() .addContainerGap(120, Short.MAX_VALUE) .addGroup(jPanel22Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jButton15, javax.swing.GroupLayout.DEFAULT_SIZE, 296, Short.MAX_VALUE) .addComponent(jButton18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton19, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton20, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(95, 95, 95))); jPanel22Layout .setVerticalGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel22Layout.createSequentialGroup().addGap(29, 29, 29) .addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, 129, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton19, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(54, 54, 54) .addComponent(jButton18, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(96, 96, 96).addComponent(jButton20).addGap(86, 86, 86))); jTabbedPane3.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 255), new java.awt.Color(0, 0, 204), new java.awt.Color(0, 0, 0), new java.awt.Color(180, 75, 75)), "Audio & video", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Andalus", 2, 12), new java.awt.Color(0, 0, 204))); // NOI18N jTabbedPane3.setForeground(new java.awt.Color(0, 0, 204)); jTabbedPane3.setFont(new java.awt.Font("Tempus Sans ITC", 1, 12)); // NOI18N jPanel26.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 255, 0), new java.awt.Color(0, 0, 255), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 153))); jButton27.setText("jButton27"); javax.swing.GroupLayout jPanel26Layout = new javax.swing.GroupLayout(jPanel26); jPanel26.setLayout(jPanel26Layout); jPanel26Layout.setHorizontalGroup(jPanel26Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel26Layout.createSequentialGroup() .addContainerGap(260, Short.MAX_VALUE).addComponent(jButton27).addGap(219, 219, 219))); jPanel26Layout .setVerticalGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel26Layout.createSequentialGroup().addGap(519, 519, 519) .addComponent(jButton27).addContainerGap(26, Short.MAX_VALUE))); jTabbedPane3.addTab("SCOOL ANTHEM", jPanel26); jPanel27.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 255, 102), new java.awt.Color(0, 0, 204), new java.awt.Color(153, 0, 153), new java.awt.Color(0, 0, 0))); javax.swing.GroupLayout jPanel27Layout = new javax.swing.GroupLayout(jPanel27); jPanel27.setLayout(jPanel27Layout); jPanel27Layout.setHorizontalGroup(jPanel27Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 558, Short.MAX_VALUE)); jPanel27Layout.setVerticalGroup(jPanel27Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 568, Short.MAX_VALUE)); jTabbedPane3.addTab("NATIONAL ANTHEM", jPanel27); jTabbedPane4.setForeground(new java.awt.Color(255, 0, 204)); jTabbedPane4.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jPanel29.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 204, 204), new java.awt.Color(0, 0, 204), new java.awt.Color(0, 0, 0), new java.awt.Color(153, 255, 0))); jTable2.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jTable2.setForeground(new java.awt.Color(0, 0, 204)); jTable2.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); jTable2.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); jTable2.setGridColor(new java.awt.Color(0, 0, 204)); jTable2.setSelectionBackground(new java.awt.Color(0, 255, 51)); jTable2.setSelectionForeground(new java.awt.Color(0, 0, 0)); jScrollPane10.setViewportView(jTable2); jLabel106.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel106.setForeground(new java.awt.Color(0, 0, 204)); jLabel106.setText("ID"); jLabel107.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel107.setForeground(new java.awt.Color(0, 0, 204)); jLabel107.setText("TITLE"); jLabel108.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel108.setForeground(new java.awt.Color(0, 0, 204)); jLabel108.setText("TYPE"); jLabel109.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel109.setForeground(new java.awt.Color(0, 0, 204)); jLabel109.setText("CATEGORY"); jTextField9.setFont(new java.awt.Font("Times New Roman", 1, 12)); // NOI18N jTextField10.setFont(new java.awt.Font("Times New Roman", 1, 12)); // NOI18N jTextField11.setFont(new java.awt.Font("Times New Roman", 1, 12)); // NOI18N jComboBox3.setForeground(new java.awt.Color(0, 0, 204)); jComboBox3 .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "music", "slow", "fast", "remix" })); jButton21.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton21.setForeground(new java.awt.Color(0, 0, 204)); jButton21.setText("ADD"); jButton22.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton22.setForeground(new java.awt.Color(0, 0, 204)); jButton22.setText("EDIT"); jButton22.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton22ActionPerformed(evt); } }); jButton23.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton23.setForeground(new java.awt.Color(0, 0, 204)); jButton23.setText("DELETE"); javax.swing.GroupLayout jPanel29Layout = new javax.swing.GroupLayout(jPanel29); jPanel29.setLayout(jPanel29Layout); jPanel29Layout.setHorizontalGroup(jPanel29Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel29Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane10, javax.swing.GroupLayout.DEFAULT_SIZE, 533, Short.MAX_VALUE) .addGroup(jPanel29Layout.createSequentialGroup() .addGroup(jPanel29Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel106).addComponent(jLabel107) .addComponent(jLabel108).addComponent(jLabel109)) .addGap(187, 187, 187) .addGroup(jPanel29Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jTextField9).addComponent(jTextField10) .addComponent(jTextField11).addComponent(jComboBox3, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addGroup(jPanel29Layout.createSequentialGroup().addComponent(jButton21) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton22).addGap(159, 159, 159).addComponent(jButton23))) .addContainerGap())); jPanel29Layout .setVerticalGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel29Layout.createSequentialGroup().addGap(40, 40, 40).addGroup(jPanel29Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel29Layout.createSequentialGroup().addGroup(jPanel29Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel106) .addComponent(jTextField9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(33, 33, 33) .addGroup(jPanel29Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel107).addComponent(jTextField10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(49, 49, 49).addComponent(jLabel108)) .addComponent(jTextField11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(32, 32, 32) .addGroup(jPanel29Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel109).addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 58, Short.MAX_VALUE) .addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 186, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(32, 32, 32) .addGroup(jPanel29Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jButton21).addComponent(jButton22) .addComponent(jButton23)) .addContainerGap())); jTabbedPane4.addTab("Video", jPanel29); jPanel30.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 204, 204), new java.awt.Color(0, 0, 204), new java.awt.Color(0, 0, 0), new java.awt.Color(51, 0, 51))); jTable3.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jTable3.setForeground(new java.awt.Color(0, 0, 204)); jTable3.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); jTable3.setGridColor(new java.awt.Color(0, 0, 204)); jScrollPane11.setViewportView(jTable3); jLabel110.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel110.setForeground(new java.awt.Color(0, 0, 255)); jLabel110.setText("ID"); jLabel111.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel111.setForeground(new java.awt.Color(0, 0, 255)); jLabel111.setText("TITLE"); jLabel112.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel112.setForeground(new java.awt.Color(0, 0, 255)); jLabel112.setText("TYPE"); jLabel113.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jLabel113.setForeground(new java.awt.Color(0, 0, 255)); jLabel113.setText("CATEGORY"); jTextField12.setFont(new java.awt.Font("Maiandra GD", 0, 11)); // NOI18N jTextField12.setForeground(new java.awt.Color(0, 0, 204)); jTextField13.setFont(new java.awt.Font("Maiandra GD", 0, 11)); // NOI18N jTextField13.setForeground(new java.awt.Color(0, 0, 204)); jTextField14.setFont(new java.awt.Font("Maiandra GD", 0, 11)); // NOI18N jTextField14.setForeground(new java.awt.Color(0, 0, 204)); jComboBox4.setForeground(new java.awt.Color(0, 0, 204)); jComboBox4.setModel( new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); jButton24.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton24.setForeground(new java.awt.Color(0, 0, 204)); jButton24.setText("ADD"); jButton25.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton25.setForeground(new java.awt.Color(0, 0, 204)); jButton25.setText("EDIT"); jButton26.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton26.setForeground(new java.awt.Color(0, 0, 204)); jButton26.setText("DELETE"); javax.swing.GroupLayout jPanel30Layout = new javax.swing.GroupLayout(jPanel30); jPanel30.setLayout(jPanel30Layout); jPanel30Layout.setHorizontalGroup(jPanel30Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel30Layout.createSequentialGroup().addContainerGap().addGroup(jPanel30Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane11, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 533, Short.MAX_VALUE) .addGroup(jPanel30Layout.createSequentialGroup() .addGroup(jPanel30Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel110).addComponent(jLabel111).addComponent(jLabel112) .addComponent(jLabel113, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(148, 148, 148) .addGroup(jPanel30Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jTextField12).addComponent(jTextField13) .addComponent(jTextField14).addComponent(jComboBox4, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addGroup(jPanel30Layout.createSequentialGroup().addComponent(jButton24) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton25).addGap(164, 164, 164).addComponent(jButton26))) .addContainerGap())); jPanel30Layout.setVerticalGroup(jPanel30Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel30Layout.createSequentialGroup() .addGap(34, 34, 34) .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel110).addComponent(jTextField12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(40, 40, 40) .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel111).addComponent(jTextField13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(49, 49, 49) .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel112).addComponent(jTextField14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 27, Short.MAX_VALUE) .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel113, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jComboBox4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(56, 56, 56) .addComponent(jScrollPane11, javax.swing.GroupLayout.PREFERRED_SIZE, 199, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(20, 20, 20) .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jButton24).addComponent(jButton25).addComponent(jButton26)) .addContainerGap())); jTabbedPane4.addTab("Audio", jPanel30); javax.swing.GroupLayout jPanel28Layout = new javax.swing.GroupLayout(jPanel28); jPanel28.setLayout(jPanel28Layout); jPanel28Layout.setHorizontalGroup(jPanel28Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(jTabbedPane4)); jPanel28Layout.setVerticalGroup(jPanel28Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(jTabbedPane4)); jTabbedPane3.addTab("ADMIN", jPanel28); javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7); jPanel7.setLayout(jPanel7Layout); jPanel7Layout.setHorizontalGroup(jPanel7Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel7Layout.createSequentialGroup() .addComponent(jPanel22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jTabbedPane3).addContainerGap())); jPanel7Layout.setVerticalGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel7Layout.createSequentialGroup() .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel22, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jTabbedPane3)) .addContainerGap())); jTabbedPane1.addTab("MULTIMEDIA", jPanel7); jPanel24.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(204, 0, 0), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 204), new java.awt.Color(0, 0, 204)), "BIRTHDAY WISHES", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Andalus", 1, 12), new java.awt.Color(0, 0, 153))); // NOI18N jTable1.setModel( new javax.swing.table.DefaultTableModel( new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null }, { null, null, null, null } }, new String[] { "Title 1", "Title 2", "Title 3", "Title 4" })); jScrollPane8.setViewportView(jTable1); jLabel97.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bday7.gif"))); // NOI18N jButton16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/maillll.gif"))); // NOI18N jButton16.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton16ActionPerformed(evt); } }); jLabel98.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bday5.gif"))); // NOI18N jLabel99.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bday4.gif"))); // NOI18N jLabel100.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bday1.gif"))); // NOI18N jLabel101.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bday3.gif"))); // NOI18N jDesktopPane4.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(0, 255, 153), new java.awt.Color(0, 0, 204), new java.awt.Color(255, 0, 51), new java.awt.Color(0, 0, 0))); javax.swing.GroupLayout jDesktopPane4Layout = new javax.swing.GroupLayout(jDesktopPane4); jDesktopPane4.setLayout(jDesktopPane4Layout); jDesktopPane4Layout.setHorizontalGroup( jDesktopPane4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDesktopPane4Layout.createSequentialGroup().addContainerGap() .addComponent(jLabel102, javax.swing.GroupLayout.PREFERRED_SIZE, 167, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(17, Short.MAX_VALUE))); jDesktopPane4Layout.setVerticalGroup(jDesktopPane4Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDesktopPane4Layout .createSequentialGroup().addContainerGap().addComponent(jLabel102, javax.swing.GroupLayout.PREFERRED_SIZE, 178, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jDesktopPane4.setLayer(jLabel102, javax.swing.JLayeredPane.DEFAULT_LAYER); jCheckBox6.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jCheckBox6.setForeground(new java.awt.Color(0, 0, 204)); jCheckBox6.setText("SELECT ME"); jCheckBox7.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jCheckBox7.setForeground(new java.awt.Color(0, 0, 204)); jCheckBox7.setText("SELECT ME"); jCheckBox8.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jCheckBox8.setForeground(new java.awt.Color(0, 0, 204)); jCheckBox8.setText("SELECT ME"); jCheckBox9.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jCheckBox9.setForeground(new java.awt.Color(0, 0, 204)); jCheckBox9.setText("SELECT ME"); jCheckBox10.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jCheckBox10.setForeground(new java.awt.Color(0, 0, 204)); jCheckBox10.setText("SELECT ME"); javax.swing.GroupLayout jPanel24Layout = new javax.swing.GroupLayout(jPanel24); jPanel24.setLayout(jPanel24Layout); jPanel24Layout.setHorizontalGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel24Layout.createSequentialGroup().addContainerGap().addGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel24Layout.createSequentialGroup() .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 845, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(63, 63, 63) .addComponent(jButton16, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(jPanel24Layout.createSequentialGroup().addGroup( jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel97).addComponent(jCheckBox6)) .addGap(69, 69, 69) .addGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel24Layout.createSequentialGroup().addComponent(jLabel98) .addGap(78, 78, 78).addComponent(jLabel99)) .addGroup(jPanel24Layout.createSequentialGroup().addComponent(jCheckBox7) .addGap(129, 129, 129).addComponent(jCheckBox8))) .addGap(51, 51, 51) .addGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel100).addComponent(jCheckBox9)) .addGap(63, 63, 63) .addGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel101).addComponent(jCheckBox10)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 49, Short.MAX_VALUE) .addComponent(jDesktopPane4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(29, 29, 29))))); jPanel24Layout.setVerticalGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel24Layout.createSequentialGroup() .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(jPanel24Layout .createSequentialGroup().addGap(56, 56, 56).addComponent(jButton16))) .addGap(31, 31, 31) .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel24Layout.createSequentialGroup().addGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel101, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel97, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 188, Short.MAX_VALUE) .addComponent(jLabel99, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel100, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel98, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel24Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jCheckBox6).addComponent(jCheckBox7) .addComponent(jCheckBox8).addComponent(jCheckBox9) .addComponent(jCheckBox10))) .addComponent(jDesktopPane4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(0, 202, Short.MAX_VALUE))); jTabbedPane1.addTab("BIRTHDAY WISHES", jPanel24); jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 0), new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 204)), "------------------- STUDENT REGISTRATION --------------------", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Maiandra GD", 0, 12), new java.awt.Color(0, 0, 255))); // NOI18N jPanel2.setForeground(new java.awt.Color(0, 0, 255)); jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 51), new java.awt.Color(51, 255, 51), new java.awt.Color(0, 0, 0), new java.awt.Color(255, 0, 255)), "------------------- ACTION GOES HERE -------------------", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Maiandra GD", 1, 12), new java.awt.Color(0, 0, 204))); // NOI18N jButton1.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton1.setForeground(new java.awt.Color(0, 0, 255)); jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/save.gif"))); // NOI18N jButton1.setText("SAVE"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder( new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED, new java.awt.Color(255, 0, 51), new java.awt.Color(0, 255, 204), new java.awt.Color(0, 0, 0), new java.awt.Color(0, 0, 204)), " SEARCH", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 12), new java.awt.Color(0, 0, 255))); // NOI18N jTextField21.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jTextField21.setForeground(new java.awt.Color(0, 0, 204)); jTextField21.setText("ENTER KEYWORDS HERE"); jTextField21.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { jTextField21MouseClicked(evt); } }); jTextField21.addKeyListener(new java.awt.event.KeyAdapter() { public void keyReleased(java.awt.event.KeyEvent evt) { jTextField21KeyReleased(evt); } }); javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8); jPanel8.setLayout(jPanel8Layout); jPanel8Layout .setHorizontalGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel8Layout.createSequentialGroup().addContainerGap() .addComponent(jTextField21, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jPanel8Layout.setVerticalGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel8Layout.createSequentialGroup().addContainerGap() .addComponent(jTextField21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jButton2.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton2.setForeground(new java.awt.Color(0, 0, 255)); jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/edit.gif"))); // NOI18N jButton2.setText("UPDATE"); jButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton2ActionPerformed(evt); } }); jButton3.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton3.setForeground(new java.awt.Color(0, 0, 255)); jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/config.gif"))); // NOI18N jButton3.setText("RESET"); jButton3.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton3ActionPerformed(evt); } }); jButton4.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton4.setForeground(new java.awt.Color(0, 0, 255)); jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/close-icon.png"))); // NOI18N jButton4.setText("DELETE"); jButton4.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton4ActionPerformed(evt); } }); jButton5.setFont(new java.awt.Font("Maiandra GD", 1, 12)); // NOI18N jButton5.setForeground(new java.awt.Color(0, 0, 255)); jButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/printer.gif"))); // NOI18N jButton5.setText("PRINT"); jButton5.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton5ActionPerformed(evt); } }); jLabel25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/search.gif"))); // NOI18N javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup(jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup().addContainerGap() .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(49, 49, 49).addComponent(jButton2).addGap(35, 35, 35) .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(59, 59, 59).addComponent(jButton4).addGap(36, 36, 36).addComponent(jButton5) .addGap(18, 18, 18) .addComponent(jLabel25, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 15, Short.MAX_VALUE) .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout .createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent( jLabel25, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(34, 34, 34)) .addGroup(jPanel1Layout.createSequentialGroup().addGroup(jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jPanel8, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel1Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel1Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addGroup(jPanel1Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jButton1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addContainerGap(18, Short.MAX_VALUE))); jLabel1.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel1.setForeground(new java.awt.Color(0, 0, 255)); jLabel1.setText("STUDENT NAME"); jLabel2.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel2.setForeground(new java.awt.Color(0, 0, 255)); jLabel2.setText("FATHERS NAME"); Rtf1.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf1.setForeground(new java.awt.Color(0, 0, 204)); Rtf2.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf2.setForeground(new java.awt.Color(0, 0, 204)); jLabel3.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel3.setForeground(new java.awt.Color(0, 0, 255)); jLabel3.setText("MOTHERS NAME"); Rtf3.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf3.setForeground(new java.awt.Color(0, 0, 204)); jLabel4.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel4.setForeground(new java.awt.Color(0, 0, 255)); jLabel4.setText("CORROSPONDING ADDRESS"); Rtf4.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf4.setForeground(new java.awt.Color(0, 0, 204)); jLabel5.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel5.setForeground(new java.awt.Color(0, 0, 255)); jLabel5.setText("PERMANENT ADDRESS"); Rtf5.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf5.setForeground(new java.awt.Color(0, 0, 204)); jLabel6.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel6.setForeground(new java.awt.Color(0, 0, 255)); jLabel6.setText("PREVIOUS SCHOOLS"); Rtf6.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf6.setForeground(new java.awt.Color(0, 0, 204)); jLabel7.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel7.setForeground(new java.awt.Color(0, 51, 255)); jLabel7.setText("REGISTRATION FEE"); Rtf10.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf10.setForeground(new java.awt.Color(0, 0, 204)); Rtf10.setText("0"); Rtf10.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf10MouseClicked(evt); } }); jLabel8.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel8.setForeground(new java.awt.Color(0, 51, 255)); jLabel8.setText("ADMISSION FEE"); jLabel9.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel9.setForeground(new java.awt.Color(0, 51, 255)); jLabel9.setText("BILLING FUND"); Rtf11.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf11.setForeground(new java.awt.Color(0, 0, 204)); Rtf11.setText("0"); Rtf11.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf11MouseClicked(evt); } }); Rtf12.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf12.setForeground(new java.awt.Color(0, 0, 204)); Rtf12.setText("0"); Rtf12.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf12MouseClicked(evt); } }); jLabel10.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel10.setForeground(new java.awt.Color(0, 51, 255)); jLabel10.setText("ANNUAL CHARGE"); Rtf13.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf13.setForeground(new java.awt.Color(0, 0, 204)); Rtf13.setText("0"); Rtf13.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf13MouseClicked(evt); } }); jLabel11.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel11.setForeground(new java.awt.Color(0, 51, 255)); jLabel11.setText("SECURITY"); Rtf14.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf14.setForeground(new java.awt.Color(0, 0, 204)); Rtf14.setText("0"); Rtf14.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf14MouseClicked(evt); } }); jLabel12.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel12.setForeground(new java.awt.Color(0, 51, 255)); jLabel12.setText("TUTION FEE"); Rtf15.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf15.setForeground(new java.awt.Color(0, 0, 204)); Rtf15.setText("0"); Rtf15.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf15MouseClicked(evt); } }); jLabel13.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel13.setForeground(new java.awt.Color(0, 0, 255)); jLabel13.setText("DATE OF BIRTH"); jLabel14.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel14.setForeground(new java.awt.Color(0, 51, 255)); jLabel14.setText("TOTAL PUPILS FUND"); Rtf16.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf16.setForeground(new java.awt.Color(0, 0, 204)); Rtf16.setText("0"); Rtf16.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf16MouseClicked(evt); } }); jLabel15.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel15.setForeground(new java.awt.Color(0, 0, 255)); jLabel15.setText("ADMISSION NUMBER"); Rtf7.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf7.setForeground(new java.awt.Color(0, 0, 204)); jLabel16.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel16.setForeground(new java.awt.Color(0, 51, 255)); jLabel16.setText("COMPUTER FEE"); Rtf17.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf17.setForeground(new java.awt.Color(0, 0, 204)); Rtf17.setText("0"); Rtf17.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf17MouseClicked(evt); } }); jLabel17.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel17.setForeground(new java.awt.Color(0, 0, 255)); jLabel17.setText("DATE OF ADMISSION"); jLabel18.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel18.setForeground(new java.awt.Color(0, 51, 255)); jLabel18.setText("SPORTS FEE"); Rtf18.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf18.setForeground(new java.awt.Color(0, 0, 204)); Rtf18.setText("0"); Rtf18.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf18MouseClicked(evt); } }); jLabel19.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel19.setForeground(new java.awt.Color(0, 0, 255)); jLabel19.setText("CLASS"); Rjc1.setForeground(new java.awt.Color(0, 0, 255)); Rjc1.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "pre nuresery", "nuresery", "lkg", "ukg", "std-1" })); jLabel20.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel20.setForeground(new java.awt.Color(0, 51, 255)); jLabel20.setText("HOUSE EXAM FEE"); Rtf19.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf19.setForeground(new java.awt.Color(0, 0, 204)); Rtf19.setText("0"); Rtf19.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf19MouseClicked(evt); } }); jLabel21.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel21.setForeground(new java.awt.Color(0, 0, 255)); jLabel21.setText("REGISTRATION NUMBER:"); jLabel22.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel22.setForeground(new java.awt.Color(0, 0, 255)); jLabel22.setText("CONTACT NUMBER"); Rtf8.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf8.setForeground(new java.awt.Color(0, 0, 204)); jLabel23.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel23.setForeground(new java.awt.Color(0, 51, 255)); jLabel23.setText("CONVEYANCE CHARGE"); Rtf20.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf20.setForeground(new java.awt.Color(0, 0, 204)); Rtf20.setText("0"); Rtf20.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf20MouseClicked(evt); } }); Rtf9.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf9.setForeground(new java.awt.Color(0, 0, 204)); jLabel24.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel24.setForeground(new java.awt.Color(0, 51, 255)); jLabel24.setText("FINES"); Rtf21.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf21.setForeground(new java.awt.Color(0, 0, 204)); Rtf21.setText("0"); Rtf21.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf21MouseClicked(evt); } }); jLabel26.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel26.setForeground(new java.awt.Color(0, 0, 255)); jLabel26.setText("SECTION"); Rjc2.setForeground(new java.awt.Color(0, 0, 255)); Rjc2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3" })); jLabel27.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel27.setForeground(new java.awt.Color(0, 51, 255)); jLabel27.setText("OTHERS "); Rtf22.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf22.setForeground(new java.awt.Color(0, 0, 204)); Rtf22.setText("0"); Rtf22.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf22MouseClicked(evt); } }); jLabel28.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel28.setForeground(new java.awt.Color(0, 51, 255)); jLabel28.setText("SESSION"); Rjc3.setForeground(new java.awt.Color(0, 0, 255)); Rjc3.setModel(new javax.swing.DefaultComboBoxModel( new String[] { "2015-2016", "2016-2017", "2017-2018", "2018-2019", "2019-2020" })); jLabel29.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel29.setForeground(new java.awt.Color(0, 51, 255)); jLabel29.setText("TOTAL"); Rtf23.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N Rtf23.setForeground(new java.awt.Color(0, 0, 255)); Rtf23.setText("0"); Rtf23.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { Rtf23MouseClicked(evt); } }); javax.swing.GroupLayout jDesktopPane1Layout = new javax.swing.GroupLayout(jDesktopPane1); jDesktopPane1.setLayout(jDesktopPane1Layout); jDesktopPane1Layout.setHorizontalGroup( jDesktopPane1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDesktopPane1Layout.createSequentialGroup().addGap(43, 43, 43) .addComponent(imagelabel, javax.swing.GroupLayout.PREFERRED_SIZE, 207, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(53, Short.MAX_VALUE))); jDesktopPane1Layout.setVerticalGroup( jDesktopPane1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup( javax.swing.GroupLayout.Alignment.TRAILING, jDesktopPane1Layout.createSequentialGroup().addContainerGap().addComponent(imagelabel, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE))); jDesktopPane1.setLayer(imagelabel, javax.swing.JLayeredPane.DEFAULT_LAYER); imagebutton.setFont(new java.awt.Font("Andalus", 1, 12)); // NOI18N imagebutton.setForeground(new java.awt.Color(0, 0, 204)); imagebutton.setText("BROWSE IMAGE"); imagebutton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { imagebuttonActionPerformed(evt); } }); prim.setFont(new java.awt.Font("Tahoma", 0, 8)); // NOI18N prim.setForeground(new java.awt.Color(0, 0, 204)); jLabel61.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel61.setForeground(new java.awt.Color(0, 0, 204)); jLabel61.setText("FATHERS PH #"); Rtf24.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N Rtf24.setForeground(new java.awt.Color(0, 0, 204)); jLabel62.setFont(new java.awt.Font("Maiandra GD", 0, 12)); // NOI18N jLabel62.setForeground(new java.awt.Color(0, 0, 204)); jLabel62.setText("MOTHER'S PH #"); Rtf25.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N Rtf25.setForeground(new java.awt.Color(0, 0, 204)); Rtf26.setForeground(new java.awt.Color(0, 0, 204)); jLabel63.setFont(new java.awt.Font("Maiandra GD", 0, 11)); // NOI18N jLabel63.setForeground(new java.awt.Color(0, 0, 255)); jLabel63.setText("AGE"); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addContainerGap().addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel2Layout.createSequentialGroup().addGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel1).addComponent(jLabel2).addComponent(jLabel3) .addComponent(jLabel4).addComponent(jLabel5).addComponent(jLabel6) .addComponent(jLabel13).addComponent(jLabel15).addComponent(jLabel17) .addComponent(jLabel19).addComponent(jLabel21).addComponent(jLabel22) .addComponent(jLabel26)) .addGap(37, 37, 37) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(Rtf1).addComponent(Rtf2).addComponent(Rtf3).addComponent(Rtf4) .addComponent(Rtf5).addComponent(Rtf6).addComponent(Rtf7) .addComponent(Rjc1, 0, 205, Short.MAX_VALUE).addComponent(Rtf8) .addComponent(Rtf9) .addComponent(Rjc2, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(Rdt1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(Rdt2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jDesktopPane1) .addComponent(imagebutton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(prim) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout .createSequentialGroup() .addGroup(jPanel2Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel61).addComponent(jLabel62) .addComponent(jLabel63)) .addPreferredGap( javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel2Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(Rtf23) .addComponent(Rjc3, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(Rtf26, javax.swing.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE) .addComponent(Rtf24).addComponent(Rtf25)) .addGap(43, 43, 43))) .addComponent(jLabel28).addComponent(jLabel29)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel7).addComponent(jLabel8).addComponent(jLabel9) .addComponent(jLabel10).addComponent(jLabel11).addComponent(jLabel12) .addComponent(jLabel14).addComponent(jLabel16).addComponent(jLabel18) .addComponent(jLabel20).addComponent(jLabel23).addComponent(jLabel24) .addComponent(jLabel27)) .addGap(22, 22, 22) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(Rtf21, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 187, Short.MAX_VALUE) .addComponent(Rtf20, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf19, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf18, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf17, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf16, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf15, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf14, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf13, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf12, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf11, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf10, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rtf22)))) .addContainerGap(28, Short.MAX_VALUE))); jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1) .addComponent(Rtf1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel7).addComponent(Rtf10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel2) .addComponent(Rtf2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel8).addComponent(Rtf11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(Rtf3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel9).addComponent(Rtf12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel4) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(Rtf4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel10).addComponent(Rtf13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel5) .addGroup(jPanel2Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(Rtf5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel11))) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel6) .addComponent(Rtf6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel12).addComponent(prim, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(jPanel2Layout.createSequentialGroup() .addComponent(Rtf14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18).addComponent(Rtf15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addComponent(jDesktopPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(Rdt1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel13).addComponent(jLabel14).addComponent(Rtf16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel15) .addComponent(Rtf7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel16).addComponent(Rtf17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(23, 23, 23) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel2Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel17).addComponent(jLabel18) .addComponent(Rtf18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel61).addComponent(Rtf24, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(Rdt2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel19) .addComponent(Rjc1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel20) .addComponent(Rtf19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel62).addComponent(Rtf25, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel21) .addComponent(Rtf8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel23) .addComponent(Rtf20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(Rtf26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel63)) .addGap(18, 18, 18) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel22) .addComponent(Rtf9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel24) .addComponent(Rtf21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel28).addComponent(Rjc3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addComponent(imagebutton)) .addGap(18, 18, 18) .addGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(Rjc2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel27) .addComponent(Rtf22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel26).addComponent(Rtf23, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jLabel29)) .addGap(18, 18, 18).addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap())); jTabbedPane1.addTab("REGISTRATION", jPanel2); jMenuBar1.setForeground(new java.awt.Color(0, 0, 204)); jMenuBar1.setToolTipText("CONTACT DEVELOPER manikantgautam4u@gmail.com(8750378502)"); jMenuBar1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 12)); // NOI18N jMenu1.setForeground(new java.awt.Color(0, 0, 255)); jMenu1.setText("File"); jMenuItem1.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_B, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem1.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jMenuItem1.setForeground(new java.awt.Color(0, 0, 204)); jMenuItem1.setText("BACK"); jMenuItem1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem1ActionPerformed(evt); } }); jMenu1.add(jMenuItem1); jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_Q, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem2.setFont(new java.awt.Font("Maiandra GD", 1, 14)); // NOI18N jMenuItem2.setForeground(new java.awt.Color(0, 0, 204)); jMenuItem2.setText("EXIT"); jMenuItem2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem2ActionPerformed(evt); } }); jMenu1.add(jMenuItem2); jMenuBar1.add(jMenu1); dttt.setForeground(new java.awt.Color(0, 0, 204)); dttt.setText("DATE"); dttt.setToolTipText("CONTACT DEVELOPER manikantgautam4u@gmail.com(8750378502)"); jMenuBar1.add(dttt); tm.setForeground(new java.awt.Color(0, 0, 204)); tm.setText("TIME"); tm.setToolTipText("CONTACT DEVELOPER manikantgautam4u@gmail.com(8750378502)"); jMenuBar1.add(tm); DEVELOPER.setForeground(new java.awt.Color(0, 0, 204)); DEVELOPER.setText("DEVELOPER"); DEVELOPER.setToolTipText("CONTACT DEVELOPER manikantgautam4u@gmail.com(8750378502)"); jMenuBar1.add(DEVELOPER); 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().addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 1323, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 8, Short.MAX_VALUE))); layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent( jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 679, javax.swing.GroupLayout.PREFERRED_SIZE)); pack(); }// </editor-fold> private void imagebuttonActionPerformed(java.awt.event.ActionEvent evt) { String name = prim.getText(); JFileChooser jf = new JFileChooser(); jf.showOpenDialog(null); f = jf.getSelectedFile(); String imageRelativePath = f.getAbsolutePath(); try { //conn.setAutoCommit(false); //prepStmt=conn.prepareStatement(query); // prepStmt.setString(1, name); byte[] imageFileArr = getByteArrayFromFile(imageRelativePath); prim.setText(imageRelativePath); //prepStmt.setBytes(2, imageFileArr); byte[] imagedata = imageFileArr; format = new ImageIcon(imagedata); imagelabel.setIcon(format); } catch (Exception e) { e.printStackTrace(); } // TODO add your handling code here: } private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { try { String insert = "insert into registration(student_nm,father_nm,mother_nm,corr_addr,perm_addr,prev_school,dob,admn_no,doa,class,reg_no,contact,section,session,reg_fee,admn_fee,billing_fund,annual_charge,security,tution_fee,total_pf,computer_fee,sports_fee,house_exmfee,conv_fee,fines,others,total,image)values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; byte[] imageFileArr = new byte[10000]; if (prim.getText().length() > 0) { imageFileArr = getByteArrayFromFile(prim.getText()); } else { imageFileArr = new byte[90]; } pst = conn.prepareStatement(insert); pst.setString(1, Rtf1.getText()); pst.setString(2, Rtf2.getText()); pst.setString(3, Rtf3.getText()); pst.setString(4, Rtf4.getText()); pst.setString(5, Rtf5.getText()); pst.setString(6, Rtf6.getText()); pst.setString(7, ((JTextField) Rdt1.getDateEditor().getUiComponent()).getText()); pst.setString(8, Rtf7.getText()); pst.setString(9, ((JTextField) Rdt2.getDateEditor().getUiComponent()).getText()); pst.setString(10, (String) Rjc1.getSelectedItem()); pst.setString(11, Rtf8.getText()); pst.setString(12, Rtf9.getText()); pst.setString(13, (String) Rjc2.getSelectedItem()); pst.setString(14, (String) Rjc3.getSelectedItem()); pst.setString(15, Rtf10.getText()); pst.setString(16, Rtf11.getText()); pst.setString(17, Rtf12.getText()); pst.setString(18, Rtf13.getText()); pst.setString(19, Rtf14.getText()); pst.setString(20, Rtf15.getText()); pst.setString(21, Rtf16.getText()); pst.setString(22, Rtf17.getText()); pst.setString(23, Rtf18.getText()); pst.setString(24, Rtf19.getText()); pst.setString(25, Rtf20.getText()); pst.setString(26, Rtf21.getText()); pst.setString(27, Rtf22.getText()); pst.setString(28, Rtf10.getText()); pst.setBytes(29, imageFileArr); pst.execute(); JOptionPane.showMessageDialog(this, "Registered successfully"); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { } } } private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) { try { // ++mrpno; //DTFrpno.setText(String.valueOf(mrpno)); String sql = "select * from registration where (admn_no='" + jTextField1.getText() + "')"; pst = conn.prepareStatement(sql); rs = pst.executeQuery(); if (rs.next()) { byte[] imagedata = rs.getBytes("image"); format = new ImageIcon(imagedata); Depimage.setIcon(format); Dtf1.setText(rs.getString(8)); Dtf2.setText(rs.getString(1)); Dtf3.setText(rs.getString(2)); Dtf4.setText(rs.getString(3)); Dtf5.setText(rs.getString(10)); Dtf6.setText(rs.getString(20)); Dtf7.setText(rs.getString(22)); Dtf8.setText(rs.getString(24)); Dtf9.setText(rs.getString(26)); Dtf10.setText(rs.getString(27)); Dtf11.setText(rs.getString(15)); Dtf12.setText(rs.getString(16)); Dtf13.setText(rs.getString(17)); Dtf14.setText(rs.getString(18)); Dtf15.setText(rs.getString(23)); Dtf16.setText(rs.getString(21)); Dtf17.setText(rs.getString(19)); Dtf18.setText(rs.getString(25)); Dtf19.setText(rs.getString(4)); Dtf20.setText(rs.getString(12)); } } catch (Exception ee) { //JOptionPane.showMessageDialog(this, ee); } finally { try { rs.close(); pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside search finally" + ee); } } } private void jTextField1MouseClicked(java.awt.event.MouseEvent evt) { // TODO add your handling code here: jTextField1.setText(""); } private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) { int depmonth = Djc1.getSelectedIndex(); if (depmonth == 0) { try { String update = "update registration set jantut='" + Dtf6.getText() + "',jancom='" + Dtf7.getText() + "',janhef='" + Dtf8.getText() + "',janfines = '" + Dtf9.getText() + "',janothers='" + Dtf10.getText() + "', janrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 1) { try { String update = "update registration set febtut='" + Dtf6.getText() + "',febcom='" + Dtf7.getText() + "',febhef='" + Dtf8.getText() + "',febfines = '" + Dtf9.getText() + "',febothers='" + Dtf10.getText() + "',febrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 2) { try { String update = "update registration set martut='" + Dtf6.getText() + "',marcom='" + Dtf7.getText() + "',marhef='" + Dtf8.getText() + "',marfines = '" + Dtf9.getText() + "',marothers='" + Dtf10.getText() + "',marrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 3) { try { String update = "update registration set aprtut='" + Dtf6.getText() + "',aprcom='" + Dtf7.getText() + "',aprhef='" + Dtf8.getText() + "',aprfines = '" + Dtf9.getText() + "',aprothers='" + Dtf10.getText() + "',aprrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 4) { try { String update = "update registration set maytut='" + Dtf6.getText() + "',maycom='" + Dtf7.getText() + "',mayhef='" + Dtf8.getText() + "',mayfines = '" + Dtf9.getText() + "',mayothers='" + Dtf10.getText() + "',mayrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 5) { try { String update = "update registration set juntut='" + Dtf6.getText() + "',juncom='" + Dtf7.getText() + "',junhef='" + Dtf8.getText() + "',junfines = '" + Dtf9.getText() + "',junothers='" + Dtf10.getText() + "',junrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 6) { try { String update = "update registration set julytut='" + Dtf6.getText() + "',julycom='" + Dtf7.getText() + "',julyhef='" + Dtf8.getText() + "',julyfines = '" + Dtf9.getText() + "',julyothers='" + Dtf10.getText() + "',julyrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 7) { try { String update = "update registration set augtut='" + Dtf6.getText() + "',augcom='" + Dtf7.getText() + "',aughef='" + Dtf8.getText() + "',augfines = '" + Dtf9.getText() + "',augothers='" + Dtf10.getText() + "',augrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 8) { try { String update = "update registration set septut='" + Dtf6.getText() + "',sepcom='" + Dtf7.getText() + "',sephef='" + Dtf8.getText() + "',sepfines = '" + Dtf9.getText() + "',sepothers='" + Dtf10.getText() + "' ,seprpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 9) { try { String update = "update registration set octtut='" + Dtf6.getText() + "',octcom='" + Dtf7.getText() + "',octhef='" + Dtf8.getText() + "',octfines = '" + Dtf9.getText() + "',octothers='" + Dtf10.getText() + "',octrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 10) { try { String update = "update registration set novtut='" + Dtf6.getText() + "',novcom='" + Dtf7.getText() + "',novhef='" + Dtf8.getText() + "',novfines = '" + Dtf9.getText() + "',novothers='" + Dtf10.getText() + "',novrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } else if (depmonth == 11) { try { String update = "update registration set dectut='" + Dtf6.getText() + "',deccom='" + Dtf7.getText() + "',dechef='" + Dtf8.getText() + "',decfines = '" + Dtf9.getText() + "',decothers='" + Dtf10.getText() + "',decrpno='" + Dtf21.getText() + "' where (admn_no='" + Dtf1.getText() + "' ) "; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } } } private void Djc1ActionPerformed(java.awt.event.ActionEvent evt) { int dues = Djc1.getSelectedIndex(); if (dues == 0) { try { String result = "select student_nm as NAME, jantut as TUTION,jancom as COMPUTER ,janhef as HOUSE_EXMFEE,janfines as FINES,janothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 1) { try { String result = "select student_nm as NAME, febtut as TUTION,febcom as COMPUTER ,febhef as HOUSE_EXMFEE,febfines as FINES,febothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 2) { try { String result = "select student_nm as NAME, martut as TUTION,marcom as COMPUTER ,marhef as HOUSE_EXMFEE,marfines as FINES,marothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 3) { try { String result = "select student_nm as NAME, aprtut as TUTION,aprcom as COMPUTER ,aprhef as HOUSE_EXMFEE,aprfines as FINES,aprothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 4) { try { String result = "select student_nm as NAME, maytut as TUTION,maycom as COMPUTER ,mayhef as HOUSE_EXMFEE,mayfines as FINES,mayothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 5) { try { String result = "select student_nm as NAME, juntut as TUTION,juncom as COMPUTER ,junhef as HOUSE_EXMFEE,junfines as FINES,junothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 6) { try { String result = "select student_nm as NAME, julytut as TUTION,julycom as COMPUTER ,julyhef as HOUSE_EXMFEE,julyfines as FINES,julyothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 7) { try { String result = "select student_nm as NAME, augtut as TUTION,augcom as COMPUTER ,aughef as HOUSE_EXMFEE,augfines as FINES,augothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 8) { try { String result = "select student_nm as NAME, septut as TUTION,sepcom as COMPUTER ,sephef as HOUSE_EXMFEE,sepfines as FINES,sepothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 9) { try { String result = "select student_nm as NAME, octtut as TUTION,octcom as COMPUTER ,octhef as HOUSE_EXMFEE,octfines as FINES,octothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 10) { try { String result = "select student_nm as NAME, novtut as TUTION,novcom as COMPUTER ,novhef as HOUSE_EXMFEE,novfines as FINES,novothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (dues == 11) { try { String result = "select student_nm as NAME, dectut as TUTION,deccom as COMPUTER ,dechef as HOUSE_EXMFEE,decfines as FINES,decothers as OTHERS from registration where admn_no='" + Dtf1.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Dtable.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } } private void SJMONTHActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: } private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) { int Smonth = SJMONTH.getSelectedIndex(); if (Smonth == 0) { try { String result = "select student_nm as NAME,jantut as TUTION,jancom as COMPUTER ,janhef as HOUSE_EXMFEE,janfines as FINES,janothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 1) { try { String result = "select student_nm as NAME,febtut as TUTION,febcom as COMPUTER ,febhef as HOUSE_EXMFEE,febfines as FINES,febothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 2) { try { String result = "select student_nm as NAME,martut as TUTION,marcom as COMPUTER ,marhef as HOUSE_EXMFEE,marfines as FINES,marothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 3) { try { String result = "select student_nm as NAME,aprtut as TUTION,aprcom as COMPUTER ,aprhef as HOUSE_EXMFEE,aprfines as FINES,aprothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (Smonth == 4) { try { String result = "select student_nm as NAME,maytut as TUTION,maycom as COMPUTER ,mayhef as HOUSE_EXMFEE,mayfines as FINES,mayothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 5) { try { String result = "select student_nm as NAME,juntut as TUTION,juncom as COMPUTER ,junhef as HOUSE_EXMFEE,junfines as FINES,junothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 6) { try { String result = "select student_nm as NAME,julytut as TUTION,julycom as COMPUTER ,julyhef as HOUSE_EXMFEE,julyfines as FINES,julyothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 7) { try { String result = "select student_nm as NAME,augtut as TUTION,augcom as COMPUTER ,aughef as HOUSE_EXMFEE,augfines as FINES,augothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 8) { try { String result = "select student_nm as NAME,septut as TUTION,sepcom as COMPUTER ,sephef as HOUSE_EXMFEE,sepfines as FINES,sepothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 9) { try { String result = "select student_nm as NAME,octtut as TUTION,octcom as COMPUTER ,octhef as HOUSE_EXMFEE,octfines as FINES,octothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Smonth == 10) { try { String result = "select student_nm as NAME,novtut as TUTION,novcom as COMPUTER ,novhef as HOUSE_EXMFEE,novfines as FINES,novothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (Smonth == 11) { try { String result = "select student_nm as NAME,dectut as TUTION,deccom as COMPUTER ,dechef as HOUSE_EXMFEE,decfines as FINES,decothers as OTHERS from registration "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); Stmonth.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } } private void TCsearchMouseClicked(java.awt.event.MouseEvent evt) { TCsearch.setText(""); } private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) { int SSESSIONMONTH = SJMONTH.getSelectedIndex(); if (SSESSIONMONTH == 0) { try { String result = "select student_nm as NAME,jantut as TUTION,jancom as COMPUTER ,janhef as HOUSE_EXMFEE,janfines as FINES,janothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 1) { try { String result = "select student_nm as NAME,febtut as TUTION,febcom as COMPUTER ,febhef as HOUSE_EXMFEE,febfines as FINES,febothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 2) { try { String result = "select student_nm as NAME,martut as TUTION,marcom as COMPUTER ,marhef as HOUSE_EXMFEE,marfines as FINES,marothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 3) { try { String result = "select student_nm as NAME,aprtut as TUTION,aprcom as COMPUTER ,aprhef as HOUSE_EXMFEE,aprfines as FINES,aprothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (SSESSIONMONTH == 4) { try { String result = "select student_nm as NAME,maytut as TUTION,maycom as COMPUTER ,mayhef as HOUSE_EXMFEE,mayfines as FINES,mayothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 5) { try { String result = "select student_nm as NAME,juntut as TUTION,juncom as COMPUTER ,junhef as HOUSE_EXMFEE,junfines as FINES,junothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 6) { try { String result = "select student_nm as NAME,julytut as TUTION,julycom as COMPUTER ,julyhef as HOUSE_EXMFEE,julyfines as FINES,julyothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "'"; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 7) { try { String result = "select student_nm as NAME,augtut as TUTION,augcom as COMPUTER ,aughef as HOUSE_EXMFEE,augfines as FINES,augothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 8) { try { String result = "select student_nm as NAME,septut as TUTION,sepcom as COMPUTER ,sephef as HOUSE_EXMFEE,sepfines as FINES,sepothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 9) { try { String result = "select student_nm as NAME,octtut as TUTION,octcom as COMPUTER ,octhef as HOUSE_EXMFEE,octfines as FINES,octothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "'"; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (SSESSIONMONTH == 10) { try { String result = "select student_nm as NAME,novtut as TUTION,novcom as COMPUTER ,novhef as HOUSE_EXMFEE,novfines as FINES,novothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } if (SSESSIONMONTH == 11) { try { String result = "select student_nm as NAME,dectut as TUTION,deccom as COMPUTER ,dechef as HOUSE_EXMFEE,decfines as FINES,decothers as OTHERS from registration where session='" + SJCSESSION.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); SJTSESSION.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } } private void RECEIPTtfMouseClicked(java.awt.event.MouseEvent evt) { RECEIPTtf.setText(""); } private void jButton11ActionPerformed(java.awt.event.ActionEvent evt) { int Mmonthindex = SJCRECEIPT.getSelectedIndex(); if (Mmonthindex == 0) { try { String result = "select student_nm as NAME,jantut as TUTION,jancom as COMPUTER ,janhef as HOUSE_EXMFEE,janfines as FINE,janothers as OTHER from registration where janrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 1) { try { String result = "select student_nm as NAME,febtut as TUTION,febcom as COMPUTER ,febhef as HOUSE_EXMFEE,febfines as FINE,febothers as OTHER from registration where febrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 2) { try { String result = "select student_nm as NAME,martut as TUTION,marcom as COMPUTER ,marhef as HOUSE_EXMFEE,marfines as FINE,marothers as OTHER from registration where marrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 3) { try { String result = "select student_nm as NAME,aprtut as TUTION,aprcom as COMPUTER ,aprhef as HOUSE_EXMFEE,aprfines as FINE,aprothers as OTHER from registration where aprrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 4) { try { String result = "select student_nm as NAME,maytut as TUTION,maycom as COMPUTER ,mayhef as HOUSE_EXMFEE,mayfines as FINE,mayothers as OTHER from registration where mayrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 5) { try { String result = "select student_nm as NAME,juntut as TUTION,juncom as COMPUTER ,junhef as HOUSE_EXMFEE,junfines as FINE,junothers as OTHER from registration where junrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 6) { try { String result = "select student_nm as NAME,julytut as TUTION,julycom as COMPUTER ,julyhef as HOUSE_EXMFEE,julyfines as FINE,julyothers as OTHER from registration where julyrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 7) { try { String result = "select student_nm as NAME,augtut as TUTION,augcom as COMPUTER ,aughef as HOUSE_EXMFEE,augfines as FINE,augothers as OTHER from registration where augrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 8) { try { String result = "select student_nm as NAME,septut as TUTION,sepcom as COMPUTER ,sephef as HOUSE_EXMFEE,sepfines as FINE,sepothers as OTHER from registration where seprpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 9) { try { String result = "select student_nm as NAME,octtut as TUTION,octcom as COMPUTER ,octhef as HOUSE_EXMFEE,octfines as FINE,octothers as OTHER from registration where octrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 10) { try { String result = "select student_nm as NAME,novtut as TUTION,novcom as COMPUTER ,novhef as HOUSE_EXMFEE,novfines as FINE,novothers as OTHER from registration where novrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 11) { try { String result = "select student_nm as NAME,dectut as TUTION,deccom as COMPUTER ,dechef as HOUSE_EXMFEE,decfines as FINE,decothers as OTHER from registration where decrpno='" + RECEIPTtf.getText() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); RECEIPTTABALE.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } } private void bActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: } private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) { int Mmonthindex = b.getSelectedIndex(); if (Mmonthindex == 0) { try { String result = "select student_nm as NAME,jantut as TUTION,jancom as COMPUTER ,janhef as HOUSE_EXMFEE,janfines as FINES,janothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 1) { try { String result = "select student_nm as NAME,febtut as TUTION,febcom as COMPUTER ,febhef as HOUSE_EXMFEE,febfines as FINES,febothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 2) { try { String result = "select student_nm as NAME,martut as TUTION,marcom as COMPUTER ,marhef as HOUSE_EXMFEE,marfines as FINES,marothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 3) { try { String result = "select student_nm as NAME,aprtut as TUTION,aprcom as COMPUTER ,aprhef as HOUSE_EXMFEE,aprfines as FINES,aprothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 4) { try { String result = "select student_nm as NAME,maytut as TUTION,maycom as COMPUTER ,mayhef as HOUSE_EXMFEE,mayfines as FINES,mayothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 5) { try { String result = "select student_nm as NAME,juntut as TUTION,juncom as COMPUTER ,junhef as HOUSE_EXMFEE,junfines as FINES,junothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 6) { try { String result = "select student_nm as NAME,julytut as TUTION,julycom as COMPUTER ,julyhef as HOUSE_EXMFEE,julyfines as FINES,julyothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 7) { try { String result = "select student_nm as NAME,augtut as TUTION,augcom as COMPUTER ,aughef as HOUSE_EXMFEE,augfines as FINES,augothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 8) { try { String result = "select student_nm as NAME,septut as TUTION,sepcom as COMPUTER ,sephef as HOUSE_EXMFEE,sepfines as FINES,sepothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 9) { try { String result = "select student_nm as NAME,octtut as TUTION,octcom as COMPUTER ,octhef as HOUSE_EXMFEE,octfines as FINES,octothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 10) { try { String result = "select student_nm as NAME,novtut as TUTION,novcom as COMPUTER ,novhef as HOUSE_EXMFEE,novfines as FINES,novothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } else if (Mmonthindex == 11) { try { String result = "select student_nm as NAME,decetut as TUTION,deccom as COMPUTER ,dechef as HOUSE_EXMFEE,decfines as FINES,decothers as OTHER from registration where class='" + a.getSelectedItem() + "' "; pst = conn.prepareStatement(result); rs = pst.executeQuery(); c.setModel(DbUtils.resultSetToTableModel(rs)); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside class tab " + ee); } finally { try { rs.close(); ; pst.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "inside finalyy class tab " + e); } } } } private void Rtf10MouseClicked(java.awt.event.MouseEvent evt) { Rtf10.setText(""); } private void Rtf11MouseClicked(java.awt.event.MouseEvent evt) { Rtf11.setText(""); } private void Rtf12MouseClicked(java.awt.event.MouseEvent evt) { Rtf12.setText(""); } private void Rtf13MouseClicked(java.awt.event.MouseEvent evt) { Rtf13.setText(""); } private void Rtf14MouseClicked(java.awt.event.MouseEvent evt) { Rtf14.setText(""); } private void Rtf15MouseClicked(java.awt.event.MouseEvent evt) { Rtf15.setText(""); } private void Rtf16MouseClicked(java.awt.event.MouseEvent evt) { Rtf16.setText(""); } private void Rtf17MouseClicked(java.awt.event.MouseEvent evt) { Rtf17.setText(""); } private void Rtf18MouseClicked(java.awt.event.MouseEvent evt) { Rtf18.setText(""); } private void Rtf19MouseClicked(java.awt.event.MouseEvent evt) { Rtf19.setText(""); } private void Rtf20MouseClicked(java.awt.event.MouseEvent evt) { Rtf20.setText(""); } private void Rtf21MouseClicked(java.awt.event.MouseEvent evt) { Rtf21.setText(""); } private void Rtf22MouseClicked(java.awt.event.MouseEvent evt) { Rtf22.setText(""); } private void Rtf23MouseClicked(java.awt.event.MouseEvent evt) { Rtf23.setText(""); } private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) { try { BaseFont unicode = BaseFont.createFont("c:/windows/fonts/ALGER.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); Font font1003 = new Font(unicode, 18, Font.ITALIC, new BaseColor(139, 0, 0)); Font font1008 = new Font(unicode, 20, Font.BOLD, new BaseColor(101, 67, 33)); Font font1004 = new Font(unicode, 18, Font.BOLD, new BaseColor(139, 0, 0)); Font font1009 = new Font(unicode, 10, Font.NORMAL, new BaseColor(139, 10, 20)); Font font1005 = new Font(unicode, 18, Font.UNDERLINE, new BaseColor(101, 67, 33)); Font font1006 = new Font(unicode, 9, Font.BOLDITALIC, new BaseColor(101, 67, 33)); // Rectangle rect=new RectangleReadOnly(590, 470, 0); ///////////////////////////////////// Font font100 = new Font(unicode, 10, Font.ITALIC, BaseColor.BLUE); Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("REGISTRATION-FORM.pdf")); document.open(); PdfContentByte cb = writer.getDirectContent(); Font font111 = new Font(Font.FontFamily.COURIER, 16, Font.BOLD, BaseColor.ORANGE); Font font110 = new Font(Font.FontFamily.COURIER, 14, Font.NORMAL, BaseColor.GREEN); Font font11 = new Font(Font.FontFamily.COURIER, 12, Font.NORMAL, BaseColor.GREEN); com.itextpdf.text.Image image2 = com.itextpdf.text.Image .getInstance("C:\\smart kid\\src\\frames\\logo.jpg"); image2.scaleAbsolute(115f, 115f); image2.setAbsolutePosition(3, 716); Paragraph p = new Paragraph(); document.add(image2); document.add(new Chunk(" ", font1004)); document.add(new Chunk("ADMISSION FORM", font1005)); document.add(new Paragraph(" SMART KIDS CONVENT SCHOOL", font1004)); document.add(new Paragraph( " Managed By:The Smart Kids Educational Society,")); document.add(new Paragraph( " Reg.No:-00169")); document.add(new Paragraph( " 413A/23,HEERA NAGAR,GURGAON")); document.add(new Paragraph( " MOB:-9911752900 , 9891929835")); document.add(new Paragraph( " Reg.No" + " " + Rtf8.getText())); document.add(new Paragraph( "Admission No." + " " + new Date().toString())); document.add(new Paragraph(" ")); Paragraph p1 = new Paragraph(); p1.add(new Chunk("Certified that " + "Son/Daughter of:", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p1.add(new Chunk(Rtf1.getText(), font11)); document.add(p1); document.add(new Paragraph(" ")); Paragraph p2 = new Paragraph(); p2.add(new Chunk("Father's Name :" + Rtf2.getText() + "Mob:-", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p2.add(new Chunk(Rtf2.getText(), font11)); document.add(p2); document.add(new Paragraph(" ")); Paragraph p3 = new Paragraph(); p3.add(new Chunk("Mother's Name :" + Rtf2.getText() + "Mob:-", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p3.add(new Chunk(Rtf2.getText(), font11)); document.add(p3); document.add(new Paragraph(" ")); Paragraph p4 = new Paragraph(); p4.add(new Chunk("His/Her Date of birth :" + Rtf2.getText() + "Age", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p4.add(new Chunk(Rtf2.getText(), font11)); document.add(p4); document.add(new Paragraph(" ")); Paragraph p5 = new Paragraph(); p5.add(new Chunk("Corrosponding Address :", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p5.add(new Chunk("", font11)); document.add(p5); document.add(new Paragraph(" ")); Paragraph p6 = new Paragraph(); p6.add(new Chunk("Parmanent Address :", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p6.add(new Chunk("", font11)); document.add(p6); document.add(new Paragraph(" ")); Paragraph p7 = new Paragraph(); p7.add(new Chunk("Previous School & result :", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p7.add(new Chunk("He/She Wants Admmisiion in", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); document.add(p7); document.add(new Paragraph(" ")); Paragraph p8 = new Paragraph(); p8.add(new Chunk("Smart Kids Convent School in :", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p8.add(new Chunk("Class.He/She will always be regular and punctual to school.", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); document.add(p8); document.add(new Paragraph(" ")); Paragraph p9 = new Paragraph(); p9.add(new Chunk("Please admit him/her :" + "Signature", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); p9.add(new Chunk( " in" + "Class" + "Parents/Guardian", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); document.add(p9); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph( " Principal(Signature) Permission of Director", FontFactory.getFont(FontFactory.COURIER, 11, Font.ITALIC, BaseColor.BLACK))); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph("NOTE:- FEES WILL NOT BE REFUNDED AFTER ADMISSION.")); cb.saveState(); cb.setColorStroke(BaseColor.BLACK); cb.rectangle(2, 2, 588, 826); cb.stroke(); cb.restoreState(); JOptionPane.showMessageDialog(this, "receipt printed.."); document.close(); ; } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) { if (PRINTMODE.getSelectedIndex() == 0) { try { //mrpno=Integer.parseInt(DTFrpno.getText()); BaseFont unicode = BaseFont.createFont("c:/windows/fonts/ALGER.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); Font font1003 = new Font(unicode, 18, Font.ITALIC, new BaseColor(139, 0, 0)); Font font1008 = new Font(unicode, 20, Font.BOLD, new BaseColor(101, 67, 33)); Font font1004 = new Font(unicode, 14, Font.BOLD, new BaseColor(139, 0, 0)); Font font1005 = new Font(unicode, 12, Font.UNDERLINE, new BaseColor(255, 0, 0)); Font font1006 = new Font(unicode, 9, Font.BOLDITALIC, new BaseColor(101, 67, 33)); Rectangle rect = new RectangleReadOnly(590, 470, 0); ///////////////////////////////////// Font font100 = new Font(unicode, 10, Font.ITALIC, BaseColor.BLUE); Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("REGISTRATION.pdf")); document.setPageSize(rect); document.open(); // PdfContentByte cb = writer.getDirectContent(); Font font111 = new Font(Font.FontFamily.COURIER, 16, Font.BOLD, BaseColor.ORANGE); com.itextpdf.text.Image image2 = com.itextpdf.text.Image .getInstance("C:\\smart kid\\src\\frames\\logo.jpg"); image2.scaleAbsolute(115f, 115f); image2.setAbsolutePosition(2, 350); document.add(image2); document.add(new Chunk( " ", font100)); document.add(new Chunk("RECEIPT", font1005)); //document.add(p); // document.add(new Paragraph( )); document.add(new Paragraph( " SMART KID CONVENT SCHOOL ", font1003)); // document.add(new Chunk(" SMART KID CONVENT SCHOOL ",font1003)); // document.add(new Chunk(" 413A/23,HEERA NAGAR GURGAON. ",font100)); document.add(new Paragraph( " 413A/23,HEERA NAGAR GURGAON. ", font100)); // document.add(new Chunk(" ph:9911752900,9891929835 ",font100)); document.add(new Paragraph( " ph:9911752900,9891929835 ", font100)); // document.add(new Chunk(" E-mail:info.smartkids@gmail.com",FontFactory.getFont(FontFactory.COURIER,9,Font.BOLDITALIC,BaseColor.DARK_GRAY))); document.add(new Paragraph(" E-mail:info.smartkids@gmail.com", FontFactory.getFont(FontFactory.COURIER, 9, Font.BOLDITALIC, BaseColor.DARK_GRAY))); document.add(new Paragraph(" ")); PdfPTable table1 = new PdfPTable(4); PdfPCell c = new PdfPCell(new Paragraph("STUDENT PARTICULARS")); c.setColspan(4); c.setBackgroundColor(BaseColor.GREEN); c.setHorizontalAlignment(Element.ALIGN_CENTER); table1.addCell(c); table1.addCell("Student Name:"); table1.addCell(new PdfPCell(new Paragraph(Dtf2.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN)))); table1.addCell("Class:"); table1.addCell(new Paragraph((String) Dtf5.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN))); table1.addCell("Section:"); table1.addCell(new Paragraph((String) Dtf22.getText() + " " + "Phone.:" + Dtf20.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN))); table1.addCell("Registration No:"); table1.addCell(new PdfPCell(new Paragraph(Dtf1.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN)))); table1.addCell("Session:"); table1.addCell(new Paragraph("NA", FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN))); table1.addCell("Month:"); table1.addCell(new Paragraph((String) Djc1.getSelectedItem(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN))); float[] ColumnWidths1 = new float[] { 12f, 19f, 10f, 24f }; table1.setWidths(ColumnWidths1); table1.setWidthPercentage(113); document.add(table1); // document.add(new Paragraph(" ")); PdfPTable table = new PdfPTable(5); PdfPCell cc = new PdfPCell(new Paragraph("FEE INFORMATION")); cc.setBackgroundColor(BaseColor.GREEN); cc.setHorizontalAlignment(Element.ALIGN_CENTER); cc.setColspan(5); table.addCell(cc); PdfPCell cell99 = new PdfPCell(new Paragraph("Sl No", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell90 = new PdfPCell(new Paragraph("Particulars", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell91 = new PdfPCell(new Paragraph("Cash", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell92 = new PdfPCell(new Paragraph("Cheque", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell93 = new PdfPCell(new Paragraph("Total", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell99); table.addCell(cell90); table.addCell(cell91); table.addCell(cell92); table.addCell(cell93); table.addCell("1"); PdfPCell cell1 = new PdfPCell(new Paragraph("Registration Fee", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell1); table.addCell(Dtf11.getText()); table.addCell(" "); table.addCell(" "); table.addCell("2"); PdfPCell cell2 = new PdfPCell(new Paragraph("Admission/Re admission fee", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell2); table.addCell(Dtf12.getText()); table.addCell(" "); table.addCell(" "); table.addCell("3"); PdfPCell cell3 = new PdfPCell(new Paragraph("Building fee", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell3); table.addCell(Dtf13.getText()); table.addCell(" "); table.addCell(" "); table.addCell("4"); PdfPCell cell4 = new PdfPCell(new Paragraph("Annual Charge", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell4); table.addCell(Dtf14.getText()); table.addCell(" "); table.addCell(" "); table.addCell("5"); PdfPCell cell14 = new PdfPCell(new Paragraph("Security (Refundable)", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell14); table.addCell(Dtf17.getText()); table.addCell(" "); table.addCell(" "); table.addCell("6"); PdfPCell cell5 = new PdfPCell(new Paragraph("Tution", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell5); table.addCell(Dtf6.getText()); table.addCell(" "); table.addCell(" "); table.addCell("7"); PdfPCell cell6 = new PdfPCell(new Paragraph("Total pupils fund", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell6); table.addCell(Dtf16.getText()); table.addCell(" "); table.addCell(" "); table.addCell("8"); PdfPCell cell7 = new PdfPCell(new Paragraph("Computer Fee", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell7); table.addCell(Dtf7.getText()); table.addCell(" "); table.addCell(" "); table.addCell("9"); PdfPCell cell8 = new PdfPCell(new Paragraph("Sports Fee", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell8); table.addCell(Dtf15.getText()); table.addCell(" "); table.addCell(" "); table.addCell("10"); PdfPCell cell9 = new PdfPCell(new Paragraph("House exam Fee", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell9); table.addCell(Dtf8.getText()); table.addCell(" "); table.addCell(" "); table.addCell("11"); PdfPCell cell10 = new PdfPCell(new Paragraph("Conveyance Charge", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell10); table.addCell(Dtf18.getText()); table.addCell(" "); //table.addCell(" "); table.addCell(""); PdfPCell cell12 = new PdfPCell(new Paragraph("12", FontFactory.getFont(FontFactory.COURIER, 9, Font.BOLD, BaseColor.BLACK))); PdfPCell cell13 = new PdfPCell(new Paragraph("Grand Total", FontFactory.getFont(FontFactory.COURIER, 9, Font.BOLD, BaseColor.BLACK))); table.addCell(cell12); table.addCell(cell13); table.addCell( String.valueOf((Integer.parseInt(Dtf11.getText())) + (Integer.parseInt(Dtf12.getText())) + (Integer.parseInt(Dtf13.getText())) + (Integer.parseInt(Dtf14.getText())) + (Integer.parseInt(Dtf17.getText())) + (Integer.parseInt(Dtf6.getText())) + (Integer.parseInt(Dtf16.getText())) + (Integer.parseInt(Dtf7.getText())) + (Integer.parseInt(Dtf15.getText())) + (Integer.parseInt(Dtf8.getText())) + (Integer.parseInt(Dtf18.getText())) + (Integer.parseInt(Dtf9.getText())))); float[] ColumnWidths = new float[] { 8f, 25f, 11f, 10f, 10f }; table.setWidths(ColumnWidths); table.setWidthPercentage(113); table.completeRow(); document.add(table); document.add(new Chunk( "# Fee once paid is not refundable . For Smart kid convent school Signature ")); //document.add(new Chunk("# The monthly fee has to be deposited before 10th of every month Signature ")); JOptionPane.showMessageDialog(this, "receipt printed.."); Dtf21.setText(String.valueOf(Integer.parseInt(Dtf21.getText()) + 1)); document.close(); ; } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } else if (PRINTMODE.getSelectedIndex() == 1) { try { //mrpno=Integer.parseInt(DTFrpno.getText()); BaseFont unicode = BaseFont.createFont("c:/windows/fonts/ALGER.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); Font font1003 = new Font(unicode, 18, Font.ITALIC, new BaseColor(139, 0, 0)); Font font1008 = new Font(unicode, 20, Font.BOLD, new BaseColor(101, 67, 33)); Font font1004 = new Font(unicode, 14, Font.BOLD, new BaseColor(139, 0, 0)); Font font1005 = new Font(unicode, 12, Font.UNDERLINE, new BaseColor(255, 0, 0)); Font font1006 = new Font(unicode, 9, Font.BOLDITALIC, new BaseColor(101, 67, 33)); Rectangle rect = new RectangleReadOnly(590, 460, 0); ///////////////////////////////////// Font font100 = new Font(unicode, 10, Font.ITALIC, BaseColor.BLUE); Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("Feeslipp(MONTHLY).pdf")); document.setPageSize(rect); document.open(); // PdfContentByte cb = writer.getDirectContent(); Font font111 = new Font(Font.FontFamily.COURIER, 16, Font.BOLD, BaseColor.ORANGE); com.itextpdf.text.Image image2 = com.itextpdf.text.Image .getInstance("C:\\smart kid\\src\\frames\\logo.jpg"); image2.scaleAbsolute(115f, 115f); image2.setAbsolutePosition(2, 350); document.add(image2); Paragraph p = new Paragraph(); p.add(new Chunk(" ")); //p.add(new Chunk("RECEIPT",font1005)); //document.add(p); document.add(new Chunk(" RECEIPT", font1003)); document.add(new Paragraph(" SMART KID CONVENT SCHOOL ", font1003)); // document.add(new Chunk(" SMART KID CONVENT SCHOOL ",font1003)); // document.add(new Chunk(" 413A/23,HEERA NAGAR GURGAON. ",font100)); document.add(new Paragraph( " 413A/23,HEERA NAGAR GURGAON. ", font100)); // document.add(new Chunk(" ph:9911752900,9891929835 ",font100)); document.add(new Paragraph( " ph:9911752900,9891929835 ", font100)); // document.add(new Chunk(" E-mail:info.smartkids@gmail.com",FontFactory.getFont(FontFactory.COURIER,9,Font.BOLDITALIC,BaseColor.DARK_GRAY))); document.add(new Paragraph(" E-mail:info.smartkids@gmail.com", FontFactory.getFont(FontFactory.COURIER, 9, Font.BOLDITALIC, BaseColor.DARK_GRAY))); document.add(new Paragraph(" ")); PdfPTable table1 = new PdfPTable(4); PdfPCell c = new PdfPCell(new Paragraph("STUDENT PARTICULARS")); c.setColspan(4); c.setBackgroundColor(BaseColor.GREEN); c.setHorizontalAlignment(Element.ALIGN_CENTER); table1.addCell(c); table1.addCell("Student Name:"); table1.addCell(new PdfPCell(new Paragraph(Dtf2.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN)))); table1.addCell("Class:"); table1.addCell(new Paragraph(Dtf5.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN))); table1.addCell("Section:"); table1.addCell(new Paragraph(Dtf21.getText() + " " + "Phone.:" + Dtf20.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN))); table1.addCell("Registration No:"); table1.addCell(new PdfPCell(new Paragraph(Dtf1.getText(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN)))); table1.addCell("Month:"); table1.addCell(new Paragraph((String) Djc1.getSelectedItem(), FontFactory.getFont(FontFactory.COURIER, 12, Font.BOLDITALIC, BaseColor.GREEN))); float[] ColumnWidths1 = new float[] { 12f, 19f, 10f, 24f }; table1.setWidths(ColumnWidths1); table1.setWidthPercentage(113); document.add(table1); document.add(new Paragraph(" ")); PdfPTable table = new PdfPTable(5); PdfPCell cc = new PdfPCell(new Paragraph("FEE INFORMATION")); cc.setBackgroundColor(BaseColor.GREEN); cc.setHorizontalAlignment(Element.ALIGN_CENTER); cc.setColspan(5); table.addCell(cc); PdfPCell cell99 = new PdfPCell(new Paragraph("Sl No", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell90 = new PdfPCell(new Paragraph("Particulars", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell91 = new PdfPCell(new Paragraph("Cash", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell92 = new PdfPCell(new Paragraph("Cheque", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); PdfPCell cell93 = new PdfPCell(new Paragraph("Total", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell99); table.addCell(cell90); table.addCell(cell91); table.addCell(cell92); table.addCell(cell93); table.addCell("1"); PdfPCell cell1 = new PdfPCell(new Paragraph("TUITION FEE", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell1); table.addCell(Dtf6.getText()); table.addCell(" "); table.addCell(" "); table.addCell("2"); PdfPCell cell2 = new PdfPCell(new Paragraph("COMPUTER FEE", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell2); table.addCell(Dtf7.getText()); table.addCell(" "); table.addCell(" "); table.addCell("3"); PdfPCell cell5 = new PdfPCell(new Paragraph("HOUSE EXAM FEE", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell5); table.addCell(Dtf8.getText()); table.addCell(" "); table.addCell(" "); table.addCell("4"); PdfPCell cell6 = new PdfPCell(new Paragraph("FINES", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell6); table.addCell(Dtf9.getText()); table.addCell(" "); table.addCell(" "); table.addCell("5"); PdfPCell cell7 = new PdfPCell(new Paragraph("OTHERS", FontFactory.getFont(FontFactory.COURIER, 9, Font.NORMAL, BaseColor.BLACK))); table.addCell(cell7); table.addCell(Dtf10.getText()); table.addCell(" "); table.addCell(""); PdfPCell cell9 = new PdfPCell(new Paragraph("6", FontFactory.getFont(FontFactory.COURIER, 9, Font.BOLD, BaseColor.BLACK))); PdfPCell cell8 = new PdfPCell(new Paragraph("Grand Total", FontFactory.getFont(FontFactory.COURIER, 9, Font.BOLD, BaseColor.BLACK))); table.addCell(cell7); table.addCell(cell8); table.addCell(String.valueOf((Integer.parseInt(Dtf6.getText())) + (Integer.parseInt(Dtf7.getText())) + (Integer.parseInt(Dtf8.getText())) + (Integer.parseInt(Dtf9.getText())) + (Integer.parseInt(Dtf10.getText())))); float[] ColumnWidths = new float[] { 8f, 25f, 11f, 10f, 10f }; table.setWidths(ColumnWidths); table.setWidthPercentage(113); table.completeRow(); document.add(table); document.add(new Chunk( "# Fee once paid is not refundable . For smart kid convent School ")); document.add(new Chunk( "# The monthly fee has to be deposited before 10th of every month Signature ")); JOptionPane.showMessageDialog(this, "receipt printed.."); Dtf21.setText(String.valueOf(Integer.parseInt(Dtf21.getText()) + 1)); document.close(); ; } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } // TODO add your handling code here: } private void jButton13ActionPerformed(java.awt.event.ActionEvent evt) { try { BaseFont unicode = BaseFont.createFont("c:/windows/fonts/ALGER.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); // Font font11113 = new Font(unicode, 16, Font.BOLD,BaseColor(2,2,2)); ///////////////////////////////////////////////dark brown////////////////////////////////////////////////////// Font font1003 = new Font(unicode, 16, Font.BOLD, new BaseColor(101, 67, 33)); Font font1008 = new Font(unicode, 20, Font.BOLD, new BaseColor(101, 67, 33)); ///////////////////////////////////// ///////////////////////////////////////////////dark red////////////////////////////////////////////////////// Font font1004 = new Font(unicode, 14, Font.BOLD, new BaseColor(139, 0, 0)); Font font1005 = new Font(unicode, 14, Font.BOLD, new BaseColor(255, 0, 0)); ///////////////////////////////////// Font font100 = new Font(unicode, 8, Font.ITALIC, BaseColor.BLUE); Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("SMART-TC.pdf")); document.open(); PdfContentByte cb = writer.getDirectContent(); Font font111 = new Font(Font.FontFamily.COURIER, 16, Font.BOLD, BaseColor.ORANGE); com.itextpdf.text.Image image2 = com.itextpdf.text.Image .getInstance("C:\\smart kid\\src\\frames\\logo.jpg"); image2.scaleAbsolute(125f, 125f); image2.setAbsolutePosition(31, 700); document.add(image2); com.itextpdf.text.Image ing = com.itextpdf.text.Image.getInstance("C:\\smart kid\\src\\frames\\BC.jpg"); ing.setAbsolutePosition(1, 200); document.add(ing); Font font1111 = new Font(unicode, 16, Font.BOLD, BaseColor.ORANGE); Font font11111 = new Font(unicode, 14, Font.BOLD, BaseColor.ORANGE); java.awt.Font awtPlainFont = new java.awt.Font("ALGERIAN", java.awt.Font.PLAIN, 10); document.add(new Paragraph(" SMART KIDS CONVENT SCHOOL", font1008)); document.add(new Paragraph( " HEERA NAGAR (GURGAON) ", font1003)); document.add( new Chunk(" SCHOLOR'S REGISTER AND TRANSFER CERTIFICATE", font1005)); document.add(new Paragraph(" ")); document.add(new Paragraph( "----------------------------------------------------------------------------------------------------------------------------------")); document.add(new Paragraph(" ", font111)); Font font41 = new Font(Font.FontFamily.HELVETICA, 9, Font.BOLD, new BaseColor(0, 0, 0)); Font font23 = new Font(Font.FontFamily.HELVETICA, 12, Font.BOLD, new BaseColor(92, 64, 51)); Font font1 = new Font(Font.FontFamily.HELVETICA, 10, Font.BOLD, new BaseColor(0, 0, 0)); Font font11 = new Font(Font.FontFamily.HELVETICA, 12, Font.ITALIC, new BaseColor(148, 0, 211)); Font font31 = new Font(Font.FontFamily.HELVETICA, 10, Font.BOLD, new BaseColor(990000)); Font font2 = new Font(Font.FontFamily.COURIER, 18, Font.ITALIC | Font.UNDERLINE); Font font3 = new Font(Font.FontFamily.HELVETICA, 10, Font.BOLD, new BaseColor(255, 255, 200)); document.add(new Paragraph( "Ref No: " + TC16.getText() + " " + new java.util.Date().toString(), FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); document.add(new Paragraph(" ")); String ho4 = TC1.getText(); Paragraph p1 = new Paragraph(); p1.add(new Chunk("NAME OF STUDENT :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p1.add(new Chunk(ho4, font11)); document.add(p1); String ho5 = TC2.getText(); Paragraph p2 = new Paragraph(); p2.add(new Chunk("FATHER'S NAME :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p2.add(new Chunk(ho5, font11)); document.add(p2); String ho6 = TC3.getText(); Paragraph p93 = new Paragraph(); p93.add(new Chunk("MOTHER'S NAME :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p93.add(new Chunk(ho6, font11)); document.add(p93); Font font15 = new Font(Font.FontFamily.HELVETICA, 10, Font.BOLD, new BaseColor(0, 0, 0)); String ho8 = TC1.getText(); String tt = TC4.getText(); Paragraph p4 = new Paragraph(); p4.add(new Chunk("RELIGION :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p4.add(new Chunk(tt, font11)); document.add(p4); // document.add(new Paragraph(" ",font1003)); String kk = TC5.getText(); Paragraph p5 = new Paragraph(); p5.add(new Chunk("CASTE OF SCHOLOR :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p5.add(new Chunk(kk, font11)); document.add(p5); String ho10 = TC10.getText(); Paragraph p6 = new Paragraph(); p6.add(new Chunk("ADDRESS :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p6.add(new Chunk(ho10, font11)); document.add(p6); Paragraph p8 = new Paragraph(); p8.add(new Chunk("DATE OF BIRTH :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p8.add(new Chunk(TC9.getText(), font11)); document.add(p8); Paragraph p9 = new Paragraph(); p9.add(new Chunk("SECTION :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p9.add(new Chunk(TC7.getText(), font11)); document.add(p9); Paragraph p10 = new Paragraph(); p10.add(new Chunk("REGISTRATION NO: :", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLACK))); p10.add(new Chunk(TC8.getText(), font11)); document.add(p10); document.add(new Paragraph(" ")); PdfPTable table = new PdfPTable(8); String vacume = ""; table.addCell("Class"); table.addCell("Date of Admission"); table.addCell("Date of Promotion"); table.addCell("Date of Removal"); table.addCell("Cause of Removal"); table.addCell("Year"); table.addCell("Conduct and Work"); table.addCell("Sign"); PdfPCell cell10 = new PdfPCell(new Paragraph("NURSERY", font100)); table.addCell(cell10); if (TC6.getSelectedIndex() == 0) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell111 = new PdfPCell(new Paragraph("LKG", font100)); table.addCell(cell111); if (TC6.getSelectedIndex() == 1) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell1 = new PdfPCell(new Paragraph("UKG", font100)); table.addCell(cell1); if (TC6.getSelectedIndex() == 2) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell2 = new PdfPCell(new Paragraph("STD-1", font100)); table.addCell(cell2); if (TC6.getSelectedIndex() == 3) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell3 = new PdfPCell(new Paragraph("STD-2", font100)); table.addCell(cell3); if (TC6.getSelectedIndex() == 4) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell4 = new PdfPCell(new Paragraph("STD-3", font100)); table.addCell(cell4); if (TC6.getSelectedIndex() == 5) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell5 = new PdfPCell(new Paragraph("STD-4", font100)); table.addCell(cell5); if (TC6.getSelectedIndex() == 6) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell6 = new PdfPCell(new Paragraph("STD-5", font100)); table.addCell(cell6); if (TC6.getSelectedIndex() == 7) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell8 = new PdfPCell(new Paragraph("STD-6", font100)); table.addCell(cell8); if (TC6.getSelectedIndex() == 8) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell9 = new PdfPCell(new Paragraph("STD-7", font100)); table.addCell(cell9); if (TC6.getSelectedIndex() == 9) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } PdfPCell cell18 = new PdfPCell(new Paragraph("STD-8", font100)); table.addCell(cell18); if (TC6.getSelectedIndex() == 2) { PdfPCell cell11 = new PdfPCell(new Paragraph(TC11.getText(), font100)); PdfPCell cell12 = new PdfPCell( new Paragraph(((JTextField) TC12.getDateEditor().getUiComponent()).getText(), font100)); PdfPCell cell13 = new PdfPCell( new Paragraph(((JTextField) TC13.getDateEditor().getUiComponent()).getText(), font100)); ; PdfPCell cell14 = new PdfPCell(new Paragraph(TC14.getText(), font100)); PdfPCell cell15 = new PdfPCell(new Paragraph((String) TC15.getSelectedItem(), font100)); PdfPCell cell16 = new PdfPCell(new Paragraph(TC17.getText(), font100)); table.addCell(cell11); table.addCell(cell12); table.addCell(cell13); table.addCell(cell14); table.addCell(cell15); table.addCell(cell16); table.addCell(""); } else { for (int i = 0; i < 7; i++) table.addCell(vacume); } float[] ColumnWidths = new float[] { 8f, 12f, 12f, 12f, 22f, 8f, 15f, 7f }; table.setWidths(ColumnWidths); table.setWidthPercentage(106); table.setHorizontalAlignment(Element.ALIGN_LEFT); document.add(table); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph( "1. I certified that the entries as regard details of the student have been duly checked from the 'Admission form' and that they are complete.", FontFactory.getFont(FontFactory.TIMES_ROMAN, 10, Font.NORMAL, BaseColor.BLACK))); // document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph( "2. Certified that the above Students register have been posted up-to date of students leaving as required by the departmental rules.", FontFactory.getFont(FontFactory.TIMES_ROMAN, 10, Font.NORMAL, BaseColor.BLACK))); document.add(new Paragraph(" ")); document.add(new Paragraph(" ")); document.add(new Paragraph( "Prepared by:-" + " " + "Date:-" + " " + new java.util.Date().toString() + " " + "Principal's Sign:-", FontFactory.getFont(FontFactory.TIMES_BOLD, 12, Font.NORMAL, BaseColor.BLACK))); document.add(new Paragraph(" ")); document.add(new Paragraph( "----------------------------------------------------------------------------------------------------------------------------------")); document.add(new Paragraph("An ISO 9001:2008 Certified School(Certificate Number:NOR/0712M/1505)", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLUE))); document.add(new Paragraph("(Run By:Smart Educational Society)Regd.No.(DR/GGN/285)", FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL, BaseColor.BLUE))); document.add(new Paragraph( "413A/23,Gali No:-2,Heera Nagar,Near Rajendra Hospital,Khandsa Road,Gurgaon(Haryana)", FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, BaseColor.BLUE))); cb.saveState(); cb.setColorStroke(BaseColor.BLACK); cb.rectangle(2, 2, 588, 828); cb.stroke(); cb.restoreState(); JOptionPane.showMessageDialog(this, "it is saved"); document.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } // TODO add your handling code here: } private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { try { String update = "update registration set student_nm='" + Rtf1.getText() + "',father_nm='" + Rtf2.getText() + "',mother_nm='" + Rtf3.getText() + "' ,corr_addr='" + Rtf4.getText() + "',perm_addr='" + Rtf5.getText() + "' ,prev_school='" + Rtf6.getText() + "',dob='" + ((JTextField) Rdt1.getDateEditor().getUiComponent()).getText() + "',doa='" + ((JTextField) Rdt1.getDateEditor().getUiComponent()).getText() + "' ,class='" + Rjc1.getSelectedItem() + "',reg_no='" + Rtf8.getText() + "',contact='" + Rtf9.getText() + "',section='" + Rjc2.getSelectedItem() + "',session='" + Rjc3.getSelectedItem() + "' ,reg_fee='" + Rtf10.getText() + "',admn_fee='" + Rtf11.getText() + "',billing_fund='" + Rtf12.getText() + "',annual_charge='" + Rtf13.getText() + "',security='" + Rtf14.getText() + "',tution_fee='" + Rtf15.getText() + "',total_pf='" + Rtf16.getText() + "',computer_fee='" + Rtf17.getText() + "',sports_fee='" + Rtf18.getText() + "',house_exmfee='" + Rtf19.getText() + "',conv_fee='" + Rtf20.getText() + "',fines='" + Rtf21.getText() + "',others='" + Rtf22.getText() + "',total='" + Rtf22.getText() + "' where admn_no='" + Rtf7.getText() + "'"; pst = conn.prepareStatement(update); pst.execute(); JOptionPane.showMessageDialog(this, "updated successfully..."); always(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } finally { try { pst.close(); } catch (Exception ee) { } } } private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) { imagelabel.setIcon(man); Rtf1.setText(""); Rtf2.setText(""); Rtf3.setText(""); Rtf4.setText(""); Rtf5.setText(""); Rtf6.setText(""); Rtf7.setText(""); Rtf8.setText(""); Rtf9.setText(""); Rtf10.setText(""); Rtf11.setText(""); Rtf12.setText(""); Rtf13.setText(""); Rtf14.setText(""); Rtf15.setText(""); Rtf16.setText(""); Rtf17.setText(""); Rtf18.setText(""); Rtf19.setText(""); Rtf20.setText(""); Rtf21.setText(""); Rtf22.setText(""); Rtf23.setText(""); Rtf24.setText(""); Rtf25.setText(""); } private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) { int p = JOptionPane.showConfirmDialog(null, "do u really want to delete data", "deletee", JOptionPane.YES_NO_CANCEL_OPTION); if (p == 0) { try { String sql = "delete from registration where admn_no='" + Rtf7.getText() + "'"; pst = conn.prepareStatement(sql); pst.execute(); JOptionPane.showMessageDialog(this, "delete"); always(); } catch (Exception e) { JOptionPane.showMessageDialog(this, e); } finally { try { pst.close(); } catch (Exception ee) { } } } } private void jButton16ActionPerformed(java.awt.event.ActionEvent evt) { JOptionPane.showMessageDialog(this, "YOUR WISES SENT !!!"); } { } private void jButton17ActionPerformed(java.awt.event.ActionEvent evt) { JOptionPane.showMessageDialog(this, "YOUR MESSAGE SENT !!!"); } private void jTextField21MouseClicked(java.awt.event.MouseEvent evt) { jTextField21.setText(""); } private void jTextField21KeyReleased(java.awt.event.KeyEvent evt) { try { // ++mrpno; //DTFrpno.setText(String.valueOf(mrpno)); String sql = "select * from registration where (admn_no='" + jTextField21.getText() + "')"; pst = conn.prepareStatement(sql); rs = pst.executeQuery(); if (rs.next()) { byte[] imagedata = rs.getBytes("image"); format = new ImageIcon(imagedata); imagelabel.setIcon(format); Rtf1.setText(rs.getString(1)); Rtf2.setText(rs.getString(2)); Rtf3.setText(rs.getString(3)); Rtf4.setText(rs.getString(4)); Rtf5.setText(rs.getString(5)); Rtf6.setText(rs.getString(6)); //Rdt1.setText(rs.getString(7)); Rtf7.setText(rs.getString(8)); // Rdt21.setText(rs.getString(9)); Rjc1.setSelectedItem(rs.getString(10)); Rtf8.setText(rs.getString(11)); Rtf9.setText(rs.getString(12)); Rjc2.setSelectedItem(13); Rjc2.setSelectedItem(rs.getString(14)); Rtf10.setText(rs.getString(15)); Rtf11.setText(rs.getString(16)); Rtf12.setText(rs.getString(17)); Rtf13.setText(rs.getString(18)); Rtf14.setText(rs.getString(19)); Rtf15.setText(rs.getString(20)); Rtf16.setText(rs.getString(21)); Rtf17.setText(rs.getString(22)); Rtf18.setText(rs.getString(23)); Rtf19.setText(rs.getString(24)); Rtf20.setText(rs.getString(25)); Rtf21.setText(rs.getString(26)); Rtf22.setText(rs.getString(27)); Rtf23.setText(rs.getString(28)); // Rtf24.setText(rs.getString(29)); // Rtf25.setText(rs.getString(30)); // Rtf26.setText(rs.getString(31)); } } catch (Exception ee) { //JOptionPane.showMessageDialog(this, ee); } finally { try { rs.close(); pst.close(); } catch (Exception ee) { JOptionPane.showMessageDialog(this, "inside search finally" + ee); } } } private void jButton15ActionPerformed(java.awt.event.ActionEvent evt) { Thread webcam = new Thread() { public void run() { CvCapture capture = opencv_highgui.cvCreateCameraCapture(0); opencv_highgui.cvSetCaptureProperty(capture, opencv_highgui.CV_CAP_PROP_FRAME_HEIGHT, 750); opencv_highgui.cvSetCaptureProperty(capture, opencv_highgui.CV_CAP_PROP_FRAME_WIDTH, 550); IplImage grabImage = opencv_highgui.cvQueryFrame(capture); CanvasFrame frame = new CanvasFrame("Webcam"); while (frame.isVisible() && (grabImage = opencv_highgui.cvQueryFrame(capture)) != null) { frame.showImage(grabImage); } } }; webcam.start(); } private void jButton18ActionPerformed(java.awt.event.ActionEvent evt) { IplImage image = cvLoadImage(""); final CanvasFrame canvas = new CanvasFrame("manikant"); canvas.showImage(image); canvas.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE); } private void jButton19ActionPerformed(java.awt.event.ActionEvent evt) { OpenCVFrameGrabber opcv = new OpenCVFrameGrabber(0); try { opcv.start(); IplImage img = opcv.grab(); if (img != null) { cvSaveImage("mine.jpg", img); } } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } private void jButton20ActionPerformed(java.awt.event.ActionEvent evt) { try { } catch (Exception ee) { } } private void jButton22ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: } private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) { dispose(); new login().setVisible(true); } private void jMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) { try { System.exit(0); } catch (Exception ee) { JOptionPane.showMessageDialog(this, ee); } } private byte[] getByteArrayFromFile(String filePath) { byte[] result = null; FileInputStream fileInStr = null; try { File imgFile = new File(filePath); fileInStr = new FileInputStream(imgFile); long imageSize = imgFile.length(); if (imageSize > Integer.MAX_VALUE) { return null; //image is too large } if (imageSize > 0) { result = new byte[(int) imageSize]; fileInStr.read(result); } } catch (Exception e) { e.printStackTrace(); } finally { try { fileInStr.close(); } catch (Exception e) { } } return result; } /** * @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; } */ UIManager.setLookAndFeel("com.jtattoo.plaf.bernstein.BernsteinLookAndFeel"); // UIManager.setLookAndFeel("com.jtattoo.plaf.aluminium.AluminiumLookAndFeel"); } } catch (ClassNotFoundException ex) { java.util.logging.Logger.getLogger(main.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (InstantiationException ex) { java.util.logging.Logger.getLogger(main.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { java.util.logging.Logger.getLogger(main.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(main.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 main().setVisible(true); } }); } static Image wi; private ImageIcon format = null; public ImageIcon man = null; String filename = null; int s = 0; byte[] ppp = null; File f; // Variables declaration - do not modify private javax.swing.JTable Atable; private javax.swing.JMenu DEVELOPER; private javax.swing.JLabel Depimage; private javax.swing.JComboBox Djc1; private javax.swing.JTable Dtable; private javax.swing.JTextField Dtf1; private javax.swing.JTextField Dtf10; private javax.swing.JTextField Dtf11; private javax.swing.JTextField Dtf12; private javax.swing.JTextField Dtf13; private javax.swing.JTextField Dtf14; private javax.swing.JTextField Dtf15; private javax.swing.JTextField Dtf16; private javax.swing.JTextField Dtf17; private javax.swing.JTextField Dtf18; private javax.swing.JTextField Dtf19; private javax.swing.JTextField Dtf2; private javax.swing.JTextField Dtf20; private javax.swing.JTextField Dtf21; private javax.swing.JTextField Dtf22; private javax.swing.JTextField Dtf3; private javax.swing.JTextField Dtf4; private javax.swing.JTextField Dtf5; private javax.swing.JTextField Dtf6; private javax.swing.JTextField Dtf7; private javax.swing.JTextField Dtf8; private javax.swing.JTextField Dtf9; private javax.swing.JComboBox PRINTMODE; private javax.swing.JTable RECEIPTTABALE; private javax.swing.JTextField RECEIPTtf; private com.toedter.calendar.JDateChooser Rdt1; private com.toedter.calendar.JDateChooser Rdt2; private javax.swing.JComboBox Rjc1; private javax.swing.JComboBox Rjc2; private javax.swing.JComboBox Rjc3; private javax.swing.JComboBox Rjc4; private javax.swing.JComboBox Rjc5; private javax.swing.JTextField Rtf1; private javax.swing.JTextField Rtf10; private javax.swing.JTextField Rtf11; private javax.swing.JTextField Rtf12; private javax.swing.JTextField Rtf13; private javax.swing.JTextField Rtf14; private javax.swing.JTextField Rtf15; private javax.swing.JTextField Rtf16; private javax.swing.JTextField Rtf17; private javax.swing.JTextField Rtf18; private javax.swing.JTextField Rtf19; private javax.swing.JTextField Rtf2; private javax.swing.JTextField Rtf20; private javax.swing.JTextField Rtf21; private javax.swing.JTextField Rtf22; private javax.swing.JTextField Rtf23; private javax.swing.JTextField Rtf24; private javax.swing.JTextField Rtf25; private javax.swing.JTextField Rtf26; private javax.swing.JTextField Rtf3; private javax.swing.JTextField Rtf4; private javax.swing.JTextField Rtf5; private javax.swing.JTextField Rtf6; private javax.swing.JTextField Rtf7; private javax.swing.JTextField Rtf8; private javax.swing.JTextField Rtf9; private javax.swing.JComboBox SJCRECEIPT; private javax.swing.JComboBox SJCSESSION; private javax.swing.JComboBox SJMONTH; private javax.swing.JTable SJTSESSION; private javax.swing.JComboBox SSESSIONMONTH; private javax.swing.JTable Stmonth; private javax.swing.JTextField TC1; private javax.swing.JTextField TC10; private javax.swing.JTextField TC11; private com.toedter.calendar.JDateChooser TC12; private com.toedter.calendar.JDateChooser TC13; private javax.swing.JTextField TC14; private javax.swing.JComboBox TC15; private javax.swing.JTextField TC16; private javax.swing.JTextField TC17; private javax.swing.JTextField TC2; private javax.swing.JTextField TC3; private javax.swing.JTextField TC4; private javax.swing.JTextField TC5; private javax.swing.JComboBox TC6; private javax.swing.JTextField TC7; private javax.swing.JTextField TC8; private javax.swing.JTextField TC9; private javax.swing.JTextField TCsearch; private javax.swing.JComboBox a; private javax.swing.JComboBox b; private javax.swing.JTable c; private javax.swing.JMenu dttt; private javax.swing.JButton imagebutton; private javax.swing.JLabel imagelabel; private javax.swing.JButton jButton1; private javax.swing.JButton jButton10; private javax.swing.JButton jButton11; private javax.swing.JButton jButton12; private javax.swing.JButton jButton13; private javax.swing.JButton jButton14; private javax.swing.JButton jButton15; private javax.swing.JButton jButton16; private javax.swing.JButton jButton17; private javax.swing.JButton jButton18; private javax.swing.JButton jButton19; private javax.swing.JButton jButton2; private javax.swing.JButton jButton20; private javax.swing.JButton jButton21; private javax.swing.JButton jButton22; private javax.swing.JButton jButton23; private javax.swing.JButton jButton24; private javax.swing.JButton jButton25; private javax.swing.JButton jButton26; private javax.swing.JButton jButton27; private javax.swing.JButton jButton3; private javax.swing.JButton jButton4; private javax.swing.JButton jButton5; private javax.swing.JButton jButton6; private javax.swing.JButton jButton7; private javax.swing.JButton jButton8; private javax.swing.JButton jButton9; private javax.swing.JCheckBox jCheckBox1; private javax.swing.JCheckBox jCheckBox10; private javax.swing.JCheckBox jCheckBox2; private javax.swing.JCheckBox jCheckBox6; private javax.swing.JCheckBox jCheckBox7; private javax.swing.JCheckBox jCheckBox8; private javax.swing.JCheckBox jCheckBox9; private javax.swing.JComboBox jComboBox1; private javax.swing.JComboBox jComboBox2; private javax.swing.JComboBox jComboBox3; private javax.swing.JComboBox jComboBox4; private com.toedter.calendar.JDateChooser jDateChooser1; private javax.swing.JDesktopPane jDesktopPane1; private javax.swing.JDesktopPane jDesktopPane2; private javax.swing.JDesktopPane jDesktopPane3; private javax.swing.JDesktopPane jDesktopPane4; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel10; private javax.swing.JLabel jLabel100; private javax.swing.JLabel jLabel101; private javax.swing.JLabel jLabel102; private javax.swing.JLabel jLabel103; private javax.swing.JLabel jLabel104; private javax.swing.JLabel jLabel105; private javax.swing.JLabel jLabel106; private javax.swing.JLabel jLabel107; private javax.swing.JLabel jLabel108; private javax.swing.JLabel jLabel109; private javax.swing.JLabel jLabel11; private javax.swing.JLabel jLabel110; private javax.swing.JLabel jLabel111; private javax.swing.JLabel jLabel112; private javax.swing.JLabel jLabel113; private javax.swing.JLabel jLabel12; private javax.swing.JLabel jLabel13; private javax.swing.JLabel jLabel14; private javax.swing.JLabel jLabel15; private javax.swing.JLabel jLabel16; private javax.swing.JLabel jLabel17; private javax.swing.JLabel jLabel18; private javax.swing.JLabel jLabel19; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel20; private javax.swing.JLabel jLabel21; private javax.swing.JLabel jLabel22; private javax.swing.JLabel jLabel23; private javax.swing.JLabel jLabel24; private javax.swing.JLabel jLabel25; private javax.swing.JLabel jLabel26; private javax.swing.JLabel jLabel27; private javax.swing.JLabel jLabel28; private javax.swing.JLabel jLabel29; private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel30; private javax.swing.JLabel jLabel31; private javax.swing.JLabel jLabel32; private javax.swing.JLabel jLabel33; private javax.swing.JLabel jLabel34; private javax.swing.JLabel jLabel35; private javax.swing.JLabel jLabel36; private javax.swing.JLabel jLabel37; private javax.swing.JLabel jLabel38; private javax.swing.JLabel jLabel39; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel40; private javax.swing.JLabel jLabel41; private javax.swing.JLabel jLabel42; private javax.swing.JLabel jLabel43; private javax.swing.JLabel jLabel44; private javax.swing.JLabel jLabel45; private javax.swing.JLabel jLabel46; private javax.swing.JLabel jLabel47; private javax.swing.JLabel jLabel48; private javax.swing.JLabel jLabel49; private javax.swing.JLabel jLabel5; private javax.swing.JLabel jLabel50; private javax.swing.JLabel jLabel51; private javax.swing.JLabel jLabel52; private javax.swing.JLabel jLabel53; private javax.swing.JLabel jLabel54; private javax.swing.JLabel jLabel55; private javax.swing.JLabel jLabel56; private javax.swing.JLabel jLabel57; private javax.swing.JLabel jLabel58; private javax.swing.JLabel jLabel59; private javax.swing.JLabel jLabel6; private javax.swing.JLabel jLabel60; private javax.swing.JLabel jLabel61; private javax.swing.JLabel jLabel62; private javax.swing.JLabel jLabel63; private javax.swing.JLabel jLabel64; private javax.swing.JLabel jLabel65; private javax.swing.JLabel jLabel66; private javax.swing.JLabel jLabel67; private javax.swing.JLabel jLabel68; private javax.swing.JLabel jLabel69; private javax.swing.JLabel jLabel7; private javax.swing.JLabel jLabel70; private javax.swing.JLabel jLabel71; private javax.swing.JLabel jLabel72; private javax.swing.JLabel jLabel73; private javax.swing.JLabel jLabel74; private javax.swing.JLabel jLabel75; private javax.swing.JLabel jLabel76; private javax.swing.JLabel jLabel77; private javax.swing.JLabel jLabel78; private javax.swing.JLabel jLabel79; private javax.swing.JLabel jLabel8; private javax.swing.JLabel jLabel80; private javax.swing.JLabel jLabel81; private javax.swing.JLabel jLabel82; private javax.swing.JLabel jLabel83; private javax.swing.JLabel jLabel84; private javax.swing.JLabel jLabel85; private javax.swing.JLabel jLabel86; private javax.swing.JLabel jLabel87; private javax.swing.JLabel jLabel88; private javax.swing.JLabel jLabel89; private javax.swing.JLabel jLabel9; private javax.swing.JLabel jLabel90; private javax.swing.JLabel jLabel91; private javax.swing.JLabel jLabel92; private javax.swing.JLabel jLabel93; private javax.swing.JLabel jLabel94; private javax.swing.JLabel jLabel95; private javax.swing.JLabel jLabel96; private javax.swing.JLabel jLabel97; private javax.swing.JLabel jLabel98; private javax.swing.JLabel jLabel99; private javax.swing.JLayeredPane jLayeredPane1; private javax.swing.JMenu jMenu1; private javax.swing.JMenuBar jMenuBar1; private javax.swing.JMenuItem jMenuItem1; private javax.swing.JMenuItem jMenuItem2; private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel10; private javax.swing.JPanel jPanel11; private javax.swing.JPanel jPanel12; private javax.swing.JPanel jPanel13; private javax.swing.JPanel jPanel14; private javax.swing.JPanel jPanel15; private javax.swing.JPanel jPanel16; private javax.swing.JPanel jPanel17; private javax.swing.JPanel jPanel18; private javax.swing.JPanel jPanel19; private javax.swing.JPanel jPanel2; private javax.swing.JPanel jPanel20; private javax.swing.JPanel jPanel21; private javax.swing.JPanel jPanel22; private javax.swing.JPanel jPanel23; private javax.swing.JPanel jPanel24; private javax.swing.JPanel jPanel25; private javax.swing.JPanel jPanel26; private javax.swing.JPanel jPanel27; private javax.swing.JPanel jPanel28; private javax.swing.JPanel jPanel29; private javax.swing.JPanel jPanel3; private javax.swing.JPanel jPanel30; private javax.swing.JPanel jPanel4; private javax.swing.JPanel jPanel5; private javax.swing.JPanel jPanel6; private javax.swing.JPanel jPanel7; private javax.swing.JPanel jPanel8; private javax.swing.JPanel jPanel9; private javax.swing.JPasswordField jPasswordField1; private javax.swing.JProgressBar jProgressBar1; private javax.swing.JScrollPane jScrollPane1; private javax.swing.JScrollPane jScrollPane10; private javax.swing.JScrollPane jScrollPane11; private javax.swing.JScrollPane jScrollPane2; private javax.swing.JScrollPane jScrollPane3; private javax.swing.JScrollPane jScrollPane4; private javax.swing.JScrollPane jScrollPane5; private javax.swing.JScrollPane jScrollPane6; private javax.swing.JScrollPane jScrollPane7; private javax.swing.JScrollPane jScrollPane8; private javax.swing.JScrollPane jScrollPane9; private javax.swing.JTabbedPane jTabbedPane1; private javax.swing.JTabbedPane jTabbedPane2; private javax.swing.JTabbedPane jTabbedPane3; private javax.swing.JTabbedPane jTabbedPane4; private javax.swing.JTable jTable1; private javax.swing.JTable jTable2; private javax.swing.JTable jTable3; private javax.swing.JTextArea jTextArea1; private javax.swing.JTextArea jTextArea2; private javax.swing.JTextField jTextField1; private javax.swing.JTextField jTextField10; private javax.swing.JTextField jTextField11; private javax.swing.JTextField jTextField12; private javax.swing.JTextField jTextField13; private javax.swing.JTextField jTextField14; private javax.swing.JTextField jTextField16; private javax.swing.JTextField jTextField2; private javax.swing.JTextField jTextField21; private javax.swing.JTextField jTextField3; private javax.swing.JTextField jTextField4; private javax.swing.JTextField jTextField5; private javax.swing.JTextField jTextField6; private javax.swing.JTextField jTextField7; private javax.swing.JTextField jTextField8; private javax.swing.JTextField jTextField9; private javax.swing.JTextField prim; private javax.swing.JMenu tm; // End of variables declaration }