You are on page 1of 13

import java.sql.

Connection;
import java.sql.DriverManager;
import java.sql.Statement;

/*
* 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.
*/

/**
*
* @author Mayank
*/
public class Education extends javax.swing.JFrame {

/**
* Creates new form Education
*/
int cnt = 0;
private Connection conn;
private Statement stmt;
int userid;
public Education() {
initComponents();
}
public Education(int id) {
initComponents();
this.userid=id;
}

/**
* 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">//GEN-
BEGIN:initComponents
private void initComponents() {

Menu = new javax.swing.JPanel();


jLabel2 = new javax.swing.JLabel();
jSeparator2 = new javax.swing.JSeparator();
jSeparator3 = new javax.swing.JSeparator();
jButton1 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jButton4 = new javax.swing.JButton();
jButton5 = new javax.swing.JButton();
jButton6 = new javax.swing.JButton();
jLabel1 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
x3 = new javax.swing.JLabel();
x5 = new javax.swing.JLabel();
jButton7 = new javax.swing.JButton();
jLabel12 = new javax.swing.JLabel();
jTextField5 = new javax.swing.JTextField();
jLabel13 = new javax.swing.JLabel();
jTextField6 = new javax.swing.JTextField();
jTextField4 = new javax.swing.JTextField();
jLabel11 = new javax.swing.JLabel();
jLabel14 = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jButton8 = new javax.swing.JButton();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jLabel2.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N

jButton1.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N


jButton1.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/images/report.png"))); //
NOI18N
jButton1.setText(" Summary
");
jButton1.setBorderPainted(false);
jButton1.setCursor(new
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jButton1.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});

jButton3.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N


jButton3.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/images/portfolio.png")));
// NOI18N
jButton3.setText(" Experience
");
jButton3.setBorderPainted(false);
jButton3.setCursor(new
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jButton3.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
jButton4.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N
jButton4.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/images/scholarship.png")))
; // NOI18N
jButton4.setText(" Education
");
jButton4.setBorderPainted(false);
jButton4.setCursor(new
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jButton4.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
jButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton4ActionPerformed(evt);
}
});

jButton5.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N


jButton5.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/images/user (3).png")));
// NOI18N
jButton5.setText(" Personal Info ");
jButton5.setBorderPainted(false);
jButton5.setCursor(new
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jButton5.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
jButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton5ActionPerformed(evt);
}
});

jButton6.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N


jButton6.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/images/settings.png")));
// NOI18N
jButton6.setText(" Skills
");
jButton6.setBorderPainted(false);
jButton6.setCursor(new
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jButton6.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
jButton6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton6ActionPerformed(evt);
}
});

jLabel1.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N

jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel1.setText("FILL IN YOUR DOCUMENT ");
jLabel1.setBorder(javax.swing.BorderFactory.createLineBorder(new
java.awt.Color(0, 0, 0), 2));
javax.swing.GroupLayout MenuLayout = new
javax.swing.GroupLayout(Menu);
Menu.setLayout(MenuLayout);
MenuLayout.setHorizontalGroup(

MenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jSeparator2)
.addGroup(MenuLayout.createSequentialGroup()
.addContainerGap()

.addGroup(MenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignmen
t.LEADING)
.addComponent(jButton1,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton3,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton4,
javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton5,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
MenuLayout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jLabel2)
.addGap(348, 348, 348))
.addComponent(jButton6,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel1,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))

.addGroup(MenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignmen
t.LEADING)
.addComponent(jSeparator3,
javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, 358, Short.MAX_VALUE))
);
MenuLayout.setVerticalGroup(

MenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(MenuLayout.createSequentialGroup()
.addGap(68, 68, 68)
.addComponent(jLabel1)
.addGap(18, 18, 18)
.addComponent(jSeparator2,
javax.swing.GroupLayout.PREFERRED_SIZE, 10,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(88, 88, 88)
.addComponent(jLabel2)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton5)
.addGap(18, 18, 18)
.addComponent(jButton1)
.addGap(18, 18, 18)
.addComponent(jButton3)
.addGap(18, 18, 18)
.addComponent(jButton4)
.addGap(18, 18, 18)
.addComponent(jButton6)
.addContainerGap(550, Short.MAX_VALUE))

.addGroup(MenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignmen
t.LEADING)
.addGroup(MenuLayout.createSequentialGroup()
.addGap(130, 130, 130)
.addComponent(jSeparator3,
javax.swing.GroupLayout.PREFERRED_SIZE, 10,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(1059, Short.MAX_VALUE)))
);

jPanel2.setBorder(javax.swing.BorderFactory.createLineBorder(new
java.awt.Color(153, 153, 153), 2));

x3.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N


x3.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/images/lightbulb.png")));
// NOI18N
x3.setText(" Add different schools, colleges, and universities
that you attended. Describe ");

x5.setFont(new java.awt.Font("Calibri", 0, 24)); // NOI18N


x5.setText("them by adding information about your majors or
extracurricular activities.");

javax.swing.GroupLayout jPanel2Layout = new


javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(

jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG)
.addGroup(jPanel2Layout.createSequentialGroup()
.addComponent(x3, javax.swing.GroupLayout.DEFAULT_SIZE,
818, Short.MAX_VALUE)
.addContainerGap())
.addGroup(jPanel2Layout.createSequentialGroup()
.addGap(39, 39, 39)
.addComponent(x5)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
);
jPanel2Layout.setVerticalGroup(

jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG)
.addGroup(jPanel2Layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
.addComponent(x3)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(x5)
.addContainerGap())
);

jButton7.setFont(new java.awt.Font("Calibri", 0, 28)); // NOI18N


jButton7.setText("Next");
jButton7.setBorderPainted(false);
jButton7.setCursor(new
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jButton7.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseEntered(java.awt.event.MouseEvent evt) {
jButton7MouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
jButton7MouseExited(evt);
}
});
jButton7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton7ActionPerformed(evt);
}
});

jLabel12.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N


jLabel12.setText("School Name");

jTextField5.setFont(new java.awt.Font("Calibri", 0, 28)); //


NOI18N

jLabel13.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N


jLabel13.setText("Date From (year)");

jTextField6.setFont(new java.awt.Font("Calibri", 0, 28)); //


NOI18N

jTextField4.setFont(new java.awt.Font("Calibri", 0, 28)); //


NOI18N

jLabel11.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N


jLabel11.setText("Date To (year)");
jLabel14.setFont(new java.awt.Font("Calibri", 0, 18)); // NOI18N
jLabel14.setText("Discription");

jTextArea1.setColumns(20);
jTextArea1.setFont(new java.awt.Font("Calibri", 0, 24)); //
NOI18N
jTextArea1.setRows(8);
jTextArea1.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
jTextArea1KeyTyped(evt);
}
});
jScrollPane1.setViewportView(jTextArea1);

jButton8.setFont(new java.awt.Font("Calibri", 0, 32)); // NOI18N


jButton8.setText("Add School");

jButton8.setBorder(javax.swing.BorderFactory.createCompoundBorder(null,
javax.swing.BorderFactory.createCompoundBorder()));
jButton8.setCursor(new
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jButton8.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton8ActionPerformed(evt);
}
});

jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel3.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/images/school.png"))); //
NOI18N

jLabel4.setFont(new java.awt.Font("Calibri", 0, 36)); // NOI18N

jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel4.setText("School");

javax.swing.GroupLayout layout = new


javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(

layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(Menu,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(125, 125, 125)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING, false)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING)
.addComponent(jLabel13)
.addComponent(jTextField6,
javax.swing.GroupLayout.PREFERRED_SIZE, 250,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(65, 65, 65)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING)
.addComponent(jTextField4,
javax.swing.GroupLayout.PREFERRED_SIZE, 250,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel11)))
.addComponent(jLabel14)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TR
AILING)
.addComponent(jButton7)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING, false)
.addComponent(jPanel2,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel12)
.addComponent(jTextField5)))
.addComponent(jScrollPane1)
.addComponent(jButton8,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 192,
Short.MAX_VALUE)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING, false)
.addComponent(jLabel3,
javax.swing.GroupLayout.DEFAULT_SIZE, 277, Short.MAX_VALUE)
.addComponent(jLabel4,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(0, 109, Short.MAX_VALUE))
);
layout.setVerticalGroup(

layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(Menu, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addContainerGap())
.addGroup(layout.createSequentialGroup()
.addGap(71, 71, 71)
.addComponent(jPanel2,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(90, 90, 90)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel12)
.addGap(18, 18, 18)
.addComponent(jTextField5,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BA
SELINE)
.addComponent(jLabel11)
.addComponent(jLabel13))
.addGap(18, 18, 18)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BA
SELINE)
.addComponent(jTextField4,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jTextField6,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(52, 52, 52)
.addComponent(jLabel14))
.addComponent(jLabel3))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING)
.addGroup(layout.createSequentialGroup()
.addGap(23, 23, 23)
.addComponent(jScrollPane1,
javax.swing.GroupLayout.PREFERRED_SIZE, 176,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addGap(36, 36, 36)
.addComponent(jLabel4)))
.addGap(76, 76, 76)
.addComponent(jButton8)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton7)
.addGap(135, 135, 135))
);

pack();
}// </editor-fold>//GEN-END:initComponents

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt)


{//GEN-FIRST:event_jButton1ActionPerformed
// TODO add your handling code here:
Summary s=new Summary();
this.setVisible(false);
s.setVisible(true);
}//GEN-LAST:event_jButton1ActionPerformed

private void jButton3ActionPerformed(java.awt.event.ActionEvent evt)


{//GEN-FIRST:event_jButton3ActionPerformed
// TODO add your handling code here:
Experience ex1=new Experience();
this.setVisible(false);
ex1.setVisible(true);
}//GEN-LAST:event_jButton3ActionPerformed

private void jButton4ActionPerformed(java.awt.event.ActionEvent evt)


{//GEN-FIRST:event_jButton4ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton4ActionPerformed

private void jButton5ActionPerformed(java.awt.event.ActionEvent evt)


{//GEN-FIRST:event_jButton5ActionPerformed
// TODO add your handling code here:
Personal_Information p1=new Personal_Information();
this.setVisible(false);
p1.setVisible(true);
}//GEN-LAST:event_jButton5ActionPerformed

private void jButton6ActionPerformed(java.awt.event.ActionEvent evt)


{//GEN-FIRST:event_jButton6ActionPerformed
// TODO add your handling code here:
Skills s1=new Skills();
this.setVisible(false);
s1.setVisible(true);
}//GEN-LAST:event_jButton6ActionPerformed

private void jButton7MouseEntered(java.awt.event.MouseEvent evt)


{//GEN-FIRST:event_jButton7MouseEntered
// TODO add your handling code here:
//jButton2.setBackground(Color.BLACK);
//jButton2.setForeground(Color.WHITE);
}//GEN-LAST:event_jButton7MouseEntered

private void jButton7MouseExited(java.awt.event.MouseEvent evt)


{//GEN-FIRST:event_jButton7MouseExited
// TODO add your handling code here:
//jButton2.setBackground(Color.WHITE);
//jButton2.setForeground(Color.BLACK);
}//GEN-LAST:event_jButton7MouseExited

private void jButton7ActionPerformed(java.awt.event.ActionEvent evt)


{//GEN-FIRST:event_jButton7ActionPerformed
// TODO add your handling code here:
//Menu.setVisible(true);
try{
Class.forName("com.mysql.jdbc.Driver");

conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/cv_resume_builde
r", "root", "mayank");

stmt = conn.createStatement();

stmt.executeUpdate("INSERT INTO `education`(`UserId`,


`SchoolName`, `sDateFrom`, `sDateTo`, `sDescription`) VALUES
('"+userid+"','"+jTextField5.getText()+"','"+Integer.parseInt(jTextField6
.getText())+"','"+Integer.parseInt(jTextField4.getText())+"','"+jTextArea
1.getText()+"');");
}
catch(Exception e)
{
System.out.println(e.getMessage());
}
Skills s7=new Skills(userid);
this.setVisible(false);
s7.setVisible(true);
}//GEN-LAST:event_jButton7ActionPerformed

private void jButton8ActionPerformed(java.awt.event.ActionEvent evt)


{//GEN-FIRST:event_jButton8ActionPerformed
// TODO add your handling code here:
try{
Class.forName("com.mysql.jdbc.Driver");

conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/cv_resume_builde
r", "root", "mayank");

stmt = conn.createStatement();

stmt.executeUpdate("INSERT INTO `education`(`UserId`,


`SchoolName`, `sDateFrom`, `sDateTo`, `sDescription`) VALUES
('"+userid+"','"+jTextField5.getText()+"','"+Integer.parseInt(jTextField6
.getText())+"','"+Integer.parseInt(jTextField4.getText())+"','"+jTextArea
1.getText()+"');");
}
catch(Exception e)
{
System.out.println(e.getMessage());
}
Education e=new Education(userid);
e.setVisible(true);
this.setVisible(false);
}//GEN-LAST:event_jButton8ActionPerformed

private void jTextArea1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-


FIRST:event_jTextArea1KeyTyped
// TODO add your handling code here:
if(cnt == 60)
{
jTextArea1.append("\n");
cnt=0;
}
if(evt.getKeyChar() == 8)
{
cnt--;
}
else
{
cnt++;
}
}//GEN-LAST:event_jTextArea1KeyTyped

/**
* @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 ("Windows".equals(info.getName())) {

javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {

java.util.logging.Logger.getLogger(Education.class.getName()).log(java.ut
il.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {

java.util.logging.Logger.getLogger(Education.class.getName()).log(java.ut
il.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Education.class.getName()).log(java.ut
il.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {

java.util.logging.Logger.getLogger(Education.class.getName()).log(java.ut
il.logging.Level.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the form */


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

// Variables declaration - do not modify//GEN-BEGIN:variables


private javax.swing.JPanel Menu;
private javax.swing.JButton jButton1;
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.JLabel jLabel1;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel14;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JPanel jPanel2;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JSeparator jSeparator2;
private javax.swing.JSeparator jSeparator3;
private javax.swing.JTextArea jTextArea1;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
private javax.swing.JLabel x3;
private javax.swing.JLabel x5;
// End of variables declaration//GEN-END:variables
}

You might also like