├── Resume Builder ├── Something.txt ├── bin │ ├── Login.class │ ├── Login$1.class │ ├── Login$2.class │ ├── Login$3.class │ ├── ResumeUI.class │ ├── SignUp$1.class │ ├── SignUp$2.class │ ├── SignUp.class │ ├── SignUpDb.class │ ├── LoginPage.class │ ├── ResumeUI$1.class │ ├── ResumeUI$2.class │ ├── ResumeUI$3.class │ ├── FileBrowser$1.class │ ├── FileBrowser.class │ ├── LoginPage$1.class │ ├── LoginPage$2.class │ ├── NotSignedUp.class │ ├── FileWriterInput.class │ └── placeholder-200x200.png ├── src │ ├── index.jpeg │ ├── placeholder-200x200.png │ ├── NotSignedUp.java │ ├── SignUpDb.java │ ├── FileBrowser.java │ ├── FileWriterInput.java │ ├── Login.java │ ├── LoginPage.java │ ├── SignUp.java │ └── ResumeUI.java ├── .classpath ├── .project ├── resume.txt ├── .settings │ └── org.eclipse.jdt.core.prefs ├── bhanu.txt ├── bhanu.txt~ └── Resume Builder Uml.ucls ├── res.jar ├── UML-OOPS.png ├── README.md └── resumebuilder.uml /Resume Builder/Something.txt: -------------------------------------------------------------------------------- 1 | The first lineThe second line -------------------------------------------------------------------------------- /res.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/res.jar -------------------------------------------------------------------------------- /UML-OOPS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/UML-OOPS.png -------------------------------------------------------------------------------- /Resume Builder/bin/Login.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/Login.class -------------------------------------------------------------------------------- /Resume Builder/src/index.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/src/index.jpeg -------------------------------------------------------------------------------- /Resume Builder/bin/Login$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/Login$1.class -------------------------------------------------------------------------------- /Resume Builder/bin/Login$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/Login$2.class -------------------------------------------------------------------------------- /Resume Builder/bin/Login$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/Login$3.class -------------------------------------------------------------------------------- /Resume Builder/bin/ResumeUI.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/ResumeUI.class -------------------------------------------------------------------------------- /Resume Builder/bin/SignUp$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/SignUp$1.class -------------------------------------------------------------------------------- /Resume Builder/bin/SignUp$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/SignUp$2.class -------------------------------------------------------------------------------- /Resume Builder/bin/SignUp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/SignUp.class -------------------------------------------------------------------------------- /Resume Builder/bin/SignUpDb.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/SignUpDb.class -------------------------------------------------------------------------------- /Resume Builder/bin/LoginPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/LoginPage.class -------------------------------------------------------------------------------- /Resume Builder/bin/ResumeUI$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/ResumeUI$1.class -------------------------------------------------------------------------------- /Resume Builder/bin/ResumeUI$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/ResumeUI$2.class -------------------------------------------------------------------------------- /Resume Builder/bin/ResumeUI$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/ResumeUI$3.class -------------------------------------------------------------------------------- /Resume Builder/bin/FileBrowser$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/FileBrowser$1.class -------------------------------------------------------------------------------- /Resume Builder/bin/FileBrowser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/FileBrowser.class -------------------------------------------------------------------------------- /Resume Builder/bin/LoginPage$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/LoginPage$1.class -------------------------------------------------------------------------------- /Resume Builder/bin/LoginPage$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/LoginPage$2.class -------------------------------------------------------------------------------- /Resume Builder/bin/NotSignedUp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/NotSignedUp.class -------------------------------------------------------------------------------- /Resume Builder/bin/FileWriterInput.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/FileWriterInput.class -------------------------------------------------------------------------------- /Resume Builder/bin/placeholder-200x200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/bin/placeholder-200x200.png -------------------------------------------------------------------------------- /Resume Builder/src/placeholder-200x200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhanuPrakashNani/Resume-Builder-Java/HEAD/Resume Builder/src/placeholder-200x200.png -------------------------------------------------------------------------------- /Resume Builder/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Resume Builder/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resume Builder 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Resume Builder/resume.txt: -------------------------------------------------------------------------------- 1 | ********** Personal Information ********** 2 | Fullname: 2435465786879pi 3 | Surname: 4 | Address: 5 | 6 | 7 | Pincode: 8 | Nationality: 9 | DOB: 10 | Phone No.: 11 | Email: 12 | ********** Skills ********** 13 | Category: 123456789 14 | Description1233456789oi 15 | Category: 16 | Description 17 | Category: 18 | Description: 19 | ********** Qualifications ********** 20 | College/University: 21 | School: 22 | Other: 23 | ********** Work Experience ********** 24 | Company: 25 | Designation: 26 | Company: 27 | Designation: 28 | -------------------------------------------------------------------------------- /Resume Builder/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=1.8 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 11 | org.eclipse.jdt.core.compiler.source=1.8 12 | -------------------------------------------------------------------------------- /Resume Builder/bhanu.txt: -------------------------------------------------------------------------------- 1 | ********** Personal Information ********** 2 | Fullname: Bhanu Prakash 3 | SurnamePoluparthi 4 | Address: Flat NO 501, Sri Krishna Residency 5 | Akkarampalle, Tirupati 6 | 7 | Pincode: 517507 8 | Nationality: Indian 9 | DOB: 07/04/1999 10 | Phone No.: 9985389370 11 | Email: p.bhanuprakash12345@gmail.com 12 | ********** Skills ********** Category: 13 | Description 14 | Category: 15 | Description 16 | Category: 17 | Description: 18 | ********** Qualifications ********** College/Univrsity: 19 | School: 20 | Other: 21 | ********** Work Experience ********** Company: 22 | Designation: 23 | Company: 24 | Designation: 25 | -------------------------------------------------------------------------------- /Resume Builder/bhanu.txt~: -------------------------------------------------------------------------------- 1 | ********** Personal Information ********** 2 | Fullname: Bhanu Prakash 3 | SurnamePoluparthi 4 | Address: Flat NO 501, Sri Krishna Residency 5 | Akkarampalle, Tirupati 6 | 7 | Pincode: 517507 8 | Nationality: Indian 9 | DOB: 07/04/1999 10 | Phone No.: 9985389370 11 | Email: p.bhanuprakash12345@gmail.com 12 | ********** Skills ********** Category: 13 | Description 14 | Category: 15 | Description 16 | Category: 17 | Description: 18 | ********** Qualifications ********** College/Univrsity: 19 | School: 20 | Other: 21 | ********** Work Experience ********** Company: 22 | Designation: 23 | Company: 24 | Designation: 25 | -------------------------------------------------------------------------------- /Resume Builder/src/NotSignedUp.java: -------------------------------------------------------------------------------- 1 | import java.sql.Connection; 2 | import java.sql.DriverManager; 3 | import java.sql.ResultSet; 4 | import java.sql.SQLException; 5 | import java.sql.Statement; 6 | 7 | public class NotSignedUp { 8 | public boolean database(String username,String password) { 9 | try { 10 | // Step 1: Allocate a database 'Connection' object 11 | Connection conn = DriverManager.getConnection( 12 | "jdbc:mysql://localhost:3306/resume", "root", "bhanu"); 13 | // MySQL: "jdbc:mysql://hostname:port/databaseName", "username", "password" 14 | 15 | // Step 2: Allocate a 'Statement' object in the Connection 16 | Statement stmt = conn.createStatement(); 17 | String strSelect = "select * from signup where username = '"+username+"'AND password ='"+password+"'"; 18 | ResultSet r = stmt.executeQuery(strSelect); 19 | 20 | if(r.next()) { 21 | return true; 22 | } 23 | } 24 | 25 | catch (SQLException e){ 26 | e.printStackTrace(); 27 | } 28 | return false; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /Resume Builder/src/SignUpDb.java: -------------------------------------------------------------------------------- 1 | import java.sql.Connection; 2 | import java.sql.DriverManager; 3 | import java.sql.SQLException; 4 | import java.sql.Statement; 5 | 6 | public class SignUpDb { 7 | 8 | public void database(String fname,String username,String email,String phonenum,String password) { 9 | try { 10 | // Step 1: Allocate a database 'Connection' object 11 | Connection conn = DriverManager.getConnection( 12 | "jdbc:mysql://localhost:3306/resume", "root", "bhanu"); 13 | //example password - bhanu 14 | // MySQL: "jdbc:mysql://hostname:port/databaseName", "username", "password" 15 | 16 | // Step 2: Allocate a 'Statement' object in the Connection 17 | Statement stmt = conn.createStatement(); 18 | long phonenumber=Long.parseLong(phonenum); 19 | String insert = "INSERT INTO signup(fullname, username, email, phone, password) values('"+fname+"','"+username+"','"+email+"','"+phonenumber+"','"+password+"')"; 20 | int count=stmt.executeUpdate(insert); 21 | System.out.println(count); 22 | } 23 | 24 | catch (SQLException e){ 25 | e.printStackTrace(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Resume Builder/src/FileBrowser.java: -------------------------------------------------------------------------------- 1 | import java.awt.BorderLayout; 2 | import java.awt.EventQueue; 3 | 4 | import javax.swing.JFrame; 5 | import javax.swing.JPanel; 6 | import javax.swing.border.EmptyBorder; 7 | import javax.swing.filechooser.FileSystemView; 8 | import javax.swing.JFileChooser; 9 | 10 | public class FileBrowser extends JFrame { 11 | 12 | private JPanel contentPane; 13 | private String s; 14 | /** 15 | * Launch the application. 16 | */ 17 | public static void main(String[] args) { 18 | EventQueue.invokeLater(new Runnable() { 19 | public void run() { 20 | try { 21 | FileBrowser frame = new FileBrowser(); 22 | frame.setVisible(true); 23 | } catch (Exception e) { 24 | e.printStackTrace(); 25 | } 26 | } 27 | }); 28 | } 29 | 30 | /** 31 | * Create the frame. 32 | */ 33 | public FileBrowser() { 34 | setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 35 | setBounds(100, 100, 650, 600); 36 | contentPane = new JPanel(); 37 | contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); 38 | contentPane.setLayout(null); 39 | setContentPane(contentPane); 40 | 41 | JFileChooser fileChooser = new JFileChooser(FileSystemView.getFileSystemView().getHomeDirectory()); 42 | fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); 43 | int r = fileChooser.showOpenDialog(null); 44 | if(r == JFileChooser.APPROVE_OPTION) { 45 | s = fileChooser.getSelectedFile().getAbsolutePath(); 46 | dispose(); 47 | } 48 | else 49 | { 50 | fileChooser.setVisible(false); 51 | dispose(); 52 | } 53 | fileChooser.setBounds(12, 0, 548, 326); 54 | contentPane.add(fileChooser); 55 | 56 | } 57 | public String getS() { 58 | return s; 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /Resume Builder/src/FileWriterInput.java: -------------------------------------------------------------------------------- 1 | import java.io.BufferedWriter; 2 | import java.io.File; 3 | import java.io.FileOutputStream; 4 | import java.io.FileWriter; 5 | import java.io.IOException; 6 | import java.io.OutputStream; 7 | import java.io.OutputStreamWriter; 8 | import java.io.PrintWriter; 9 | import java.io.Writer; 10 | import java.nio.file.Files; 11 | import java.nio.file.Paths; 12 | 13 | public class FileWriterInput { 14 | 15 | public void add(String s, String s1, String s2, String s3, String s4, String s5, String s6, String s7, String s8, String s9, String s10, String s11, String s12, String s13, String s14, String s15, String s16, String s17, String s18, String s19, String s20, String s21){ 16 | 17 | try { 18 | String name = s+s1; 19 | File file = new File(name+".txt"); 20 | file.createNewFile(); 21 | FileWriter fr = null; 22 | fr = new FileWriter(file); 23 | 24 | 25 | fr.write(" ********** Personal Information ********** \n"); 26 | fr.write("Firstname: " + s + "\n"); 27 | fr.write("Surname: " + s1 + "\n"); 28 | fr.write("Address: " + s2 + "\n"); 29 | fr.write(s3 + "\n"); 30 | fr.write("\n Pincode: " + s4 + "\n"); 31 | fr.write("Nationality: " + s5 + "\n"); 32 | fr.write("DOB: " + s6 + "\n"); 33 | fr.write("Phone No.: " + s7 + "\n"); 34 | fr.write("Email: " + s8 + "\n"); 35 | 36 | 37 | fr.write(" ********** Skills ********** \n"); 38 | fr.write("Category: " + s10 + "\n"); 39 | fr.write("Description" + s9 + "\n"); 40 | fr.write("Category: " + s11 + "\n"); 41 | fr.write("Description" + s13 + "\n"); 42 | fr.write("Category: " + s12 + "\n"); 43 | fr.write("Description: " + s14 + "\n"); 44 | 45 | 46 | fr.write(" ********** Qualifications ********** \n"); 47 | fr.write("College/University: " + s19 + "\n"); 48 | fr.write("School: " + s20 + "\n"); 49 | fr.write("Other: " + s21 + "\n"); 50 | 51 | fr.write(" ********** Work Experience ********** \n"); 52 | fr.write("Company: " + s15 + "\n"); 53 | fr.write("Designation: " + s16 + "\n"); 54 | fr.write("Company: " + s18 + "\n"); 55 | fr.write("Designation: " + s17 + "\n"); 56 | fr.close(); 57 | 58 | } 59 | catch(IOException e) { 60 | e.getMessage(); 61 | } 62 | 63 | } 64 | 65 | } 66 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://GitHub.com/Naereen/) [![Open Source Love png2](https://badges.frapsoft.com/os/v2/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/) [![GitHub version](https://badge.fury.io/gh/Naereen%2FStrapDown.js.svg)](https://github.com/Naereen/StrapDown.js) 2 | 3 | 4 | # Resume Builder 5 | A project made in java which helps you create your resume without writing code. Fill the details in the application and get your resume ready. 6 | 7 | ## Getting Started 8 | These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. 9 | This project has been done in Ecilipse IDE. It uses Windows Builder and Swing for UX/UI in the application. Java Database Connectivity(JDBC) is used for connecting the MySQL database. 10 | 11 | ## Prerequisites 12 | * **Java** - 13 | Java version 10 and above is required. 14 | [Installing Java in Linux](https://linuxize.com/post/install-java-on-ubuntu-18-04/) 15 | 16 | * **MySQL** - 17 | [Installing MySQL in Linux](https://phoenixnap.com/kb/how-to-install-mysql-on-ubuntu-18-04) 18 | 19 | * **Eclipse** - 20 | If you want to run the project in Eclipse, import the project. Or if you want to run it without Eclipse use the .jar file of the project. 21 | [Installing Eclipse](https://linux4one.com/how-to-install-eclipse-ide-on-ubuntu-18-04/) 22 | 23 | ## Scope of Functionalities and Examples of use 24 | Resume creation without the hassle of writing code for it. Will be a good resume builder for beginners and people who are not familiar with LateX. 25 | 26 | ## Project status 27 | Returns a resume file with all the data entered in a formatted manner. The file name of the resume returned is **Resume.txt**. 28 | 29 | ## Future Scope/Plan of the Project 30 | 31 | 1. **Formatting Options** 32 | 33 | The present project returns a fixed formatted text file of the resume. The next step is to provide various formatting options for the user while giving the information. 34 | Formatting options like - 35 | 36 | * headings 37 | * subheadings 38 | * lists 39 | * normal text 40 | * quotes 41 | * hyperlinks 42 | * alignment 43 | and all other necessary options. 44 | 45 | 2. **Templates** 46 | * Default Templates 47 | Having more number of default templates to chose from. 48 | * Custom Templates 49 | Allow the user to customize the template as required. 50 | 51 | 3. **File Formats** 52 | * Support for various file formats necessary have to be given for the project. 53 | * .pdf 54 | 55 | # UML Diagram 56 | UML Diagram for the project. 57 | ![UML Diagram](https://github.com/BhanuPrakashNani/OOPS-Java-Project/blob/master/UML-OOPS.png) 58 | 59 | -------------------------------------------------------------------------------- /Resume Builder/src/Login.java: -------------------------------------------------------------------------------- 1 | import java.awt.BorderLayout; 2 | import java.awt.EventQueue; 3 | 4 | import javax.swing.JFrame; 5 | import javax.swing.JPanel; 6 | import javax.swing.border.EmptyBorder; 7 | import javax.swing.GroupLayout; 8 | import javax.swing.GroupLayout.Alignment; 9 | import javax.swing.JLabel; 10 | import java.awt.Font; 11 | import javax.swing.JButton; 12 | import javax.swing.LayoutStyle.ComponentPlacement; 13 | import java.awt.event.ActionListener; 14 | import java.awt.event.ActionEvent; 15 | import javax.swing.ImageIcon; 16 | 17 | public class Login extends JFrame { 18 | 19 | private JPanel contentPane; 20 | 21 | /** 22 | * Launch the application. 23 | */ 24 | public static void main(String[] args) { 25 | EventQueue.invokeLater(new Runnable() { 26 | public void run() { 27 | try { 28 | Login frame = new Login(); 29 | frame.setVisible(true); 30 | } catch (Exception e) { 31 | e.printStackTrace(); 32 | } 33 | } 34 | }); 35 | } 36 | 37 | /** 38 | * Create the frame. 39 | */ 40 | public Login() { 41 | setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 42 | setBounds(100, 100, 450, 300); 43 | contentPane = new JPanel(); 44 | contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); 45 | setContentPane(contentPane); 46 | 47 | JLabel lblResumeBuilder = new JLabel("Resume Builder"); 48 | lblResumeBuilder.setFont(new Font("Dialog", Font.BOLD, 16)); 49 | 50 | JButton btnLogin = new JButton("Login"); 51 | btnLogin.addActionListener(new ActionListener() { 52 | public void actionPerformed(ActionEvent e) { 53 | LoginPage lp = new LoginPage(); 54 | lp.setVisible(true); 55 | } 56 | }); 57 | 58 | JButton btnSignUp = new JButton("Sign Up"); 59 | btnSignUp.addActionListener(new ActionListener() { 60 | public void actionPerformed(ActionEvent arg0) { 61 | SignUp sp = new SignUp(); 62 | sp.setVisible(true); 63 | } 64 | }); 65 | 66 | JLabel lblNewLabel = new JLabel(""); 67 | lblNewLabel.setIcon(new ImageIcon("/home/bhanuprakash/Downloads/index.jpeg")); 68 | GroupLayout gl_contentPane = new GroupLayout(contentPane); 69 | gl_contentPane.setHorizontalGroup( 70 | gl_contentPane.createParallelGroup(Alignment.LEADING) 71 | .addGroup(gl_contentPane.createSequentialGroup() 72 | .addGap(86) 73 | .addComponent(btnLogin) 74 | .addPreferredGap(ComponentPlacement.RELATED, 127, Short.MAX_VALUE) 75 | .addComponent(btnSignUp) 76 | .addGap(66)) 77 | .addGroup(gl_contentPane.createSequentialGroup() 78 | .addGap(142) 79 | .addComponent(lblResumeBuilder) 80 | .addContainerGap(160, Short.MAX_VALUE)) 81 | .addGroup(gl_contentPane.createSequentialGroup() 82 | .addGap(130) 83 | .addComponent(lblNewLabel, GroupLayout.PREFERRED_SIZE, 159, Short.MAX_VALUE) 84 | .addGap(151)) 85 | ); 86 | gl_contentPane.setVerticalGroup( 87 | gl_contentPane.createParallelGroup(Alignment.LEADING) 88 | .addGroup(gl_contentPane.createSequentialGroup() 89 | .addContainerGap() 90 | .addComponent(lblResumeBuilder) 91 | .addPreferredGap(ComponentPlacement.UNRELATED) 92 | .addComponent(lblNewLabel, GroupLayout.PREFERRED_SIZE, 118, Short.MAX_VALUE) 93 | .addGap(28) 94 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 95 | .addComponent(btnSignUp) 96 | .addComponent(btnLogin)) 97 | .addGap(39)) 98 | ); 99 | contentPane.setLayout(gl_contentPane); 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /resumebuilder.uml: -------------------------------------------------------------------------------- 1 | @startuml 2 | ResumeUI*-- FileBrowser 3 | class FileBrowser{ 4 | -contentPane: JPanel 5 | -String s 6 | 7 | {static}main(String args[]):void 8 | FileBrowser() 9 | getS(): String 10 | } 11 | 12 | 13 | class SignUpDb{ 14 | database(String, String, String, String, String):void 15 | } 16 | 17 | class FileWriterInput{ 18 | add(String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,StringString,String,String,String,String) 19 | } 20 | LoginPage*-- Login 21 | SignUp*-- Login 22 | class Login{ 23 | -contentPane: JPanel 24 | 25 | {static} main(String args[]):void 26 | } 27 | 28 | NotSignedUp*-- LoginPage 29 | ResumeUI*-- LoginPage 30 | class LoginPage{ 31 | -contentPane: Jpanel 32 | -lblLoginPage: JLabel 33 | -lblUsername: Jlabel 34 | -textField: JTextField 35 | -textField_1: JTextField 36 | -btnLogin: JButton 37 | 38 | {static}main(String args[]):void 39 | } 40 | 41 | ResumeUI*-- JFrame 42 | SignUp*-- JFrame 43 | Login*-- JFrame 44 | LoginPage*-- JFrame 45 | FileBrowser*-- JFrame 46 | class JFrame{ 47 | } 48 | class NotSignedUp{ 49 | database(String,String):boolean 50 | } 51 | SignUpDb*-- SignUp 52 | ResumeUI*-- SignUp 53 | class SignUp{ 54 | -contentPane: JPanel 55 | -textField: JTextField 56 | -textField_1: JTextField 57 | -textField_2: JTextField 58 | -textField_3: JTextField 59 | -textField_4: JTextField 60 | -textField_5: JTextField 61 | 62 | {static}main(String args[]):void 63 | 64 | getTextField(): JTextField 65 | setTextField(JTextField): void 66 | 67 | 68 | 69 | getTextField_1(): JTextField 70 | setTextField_1(JTextField): void 71 | 72 | 73 | 74 | getTextField_2(): JTextField 75 | setTextField_2(JTextField): void 76 | 77 | 78 | 79 | getTextField_3(): JTextField 80 | setTextField_3(JTextField): void 81 | 82 | 83 | 84 | getTextField_4(): JTextField 85 | setTextField_4(JTextField): void 86 | 87 | 88 | 89 | getTextField_5(): JTextField 90 | setTextField_5(JTextField): void 91 | } 92 | 93 | FileWriterInput*-- ResumeUI 94 | class ResumeUI{ 95 | -contentPane: Jpanel 96 | -textField: JTextField 97 | -textField_1: JTextField 98 | -textField_2: JTextField 99 | -textField_3: JTextField 100 | -textField_4: JTextField 101 | -textField_5: JTextField 102 | -textField_6: JTextField 103 | -textField_7: JTextField 104 | -textField_8: JTextField 105 | -textField_9: JTextField 106 | -textField_10: JTextField 107 | -textField_11: JTextField 108 | -textField_12: JTextField 109 | -textField_13: JTextField 110 | -textField_14: JTextField 111 | -textField_15: JTextField 112 | -textField_16: JTextField 113 | -textField_17: JTextField 114 | -textField_18: JTextField 115 | -textField_19: JTextField 116 | -textField_20: JTextField 117 | -textField_21: JTextField 118 | -lblWorkExperience: JLabel 119 | -lblCompanyName: JLabel 120 | -label: JLabel 121 | -lblDesignation: JLabel 122 | -lblDesignation_1: JLabel 123 | -lblQualifications: JLabel 124 | -lblCollegeUniversity: JLabel 125 | -lblSchool: JLabel 126 | -lblOtherQualifications: JLabel 127 | 128 | {static}main(String args[]): void 129 | getTextField(): JTextField 130 | getTextField_1(): JTextField 131 | getTextField_2(): JTextField 132 | getTextField_3(): JTextField 133 | getTextField_4(): JTextField 134 | getTextField_5(): JTextField 135 | getTextField_6(): JTextField 136 | getTextField_7(): JTextField 137 | getTextField_8(): JTextField 138 | getTextField_9(): JTextField 139 | getTextField_10(): JTextField 140 | getTextField_11(): JTextField 141 | getTextField_12(): JTextField 142 | getTextField_13(): JTextField 143 | getTextField_14(): JTextField 144 | getTextField_15(): JTextField 145 | getTextField_16(): JTextField 146 | getTextField_17(): JTextField 147 | getTextField_18(): JTextField 148 | getTextField_19(): JTextField 149 | getTextField_20(): JTextField 150 | getTextField_21(): JTextField 151 | } 152 | @enduml 153 | -------------------------------------------------------------------------------- /Resume Builder/src/LoginPage.java: -------------------------------------------------------------------------------- 1 | import java.awt.BorderLayout; 2 | import java.awt.EventQueue; 3 | 4 | import javax.swing.JFrame; 5 | import javax.swing.JPanel; 6 | import javax.swing.border.EmptyBorder; 7 | import javax.swing.JLabel; 8 | import javax.swing.JOptionPane; 9 | import javax.swing.JTextField; 10 | import javax.swing.GroupLayout; 11 | import javax.swing.GroupLayout.Alignment; 12 | import java.awt.Font; 13 | import javax.swing.JButton; 14 | import java.awt.event.ActionListener; 15 | import java.awt.event.ActionEvent; 16 | import javax.swing.LayoutStyle.ComponentPlacement; 17 | 18 | public class LoginPage extends JFrame { 19 | 20 | private JPanel contentPane; 21 | private JLabel lblLoginPage; 22 | private JLabel lblUsername; 23 | private static JTextField textField; 24 | public static JTextField getTextField() { 25 | return textField; 26 | } 27 | 28 | public static JTextField getTextField_1() { 29 | return textField_1; 30 | } 31 | 32 | private static JTextField textField_1; 33 | private JButton btnLogin; 34 | 35 | /** 36 | * Launch the application. 37 | */ 38 | public static void main(String[] args) { 39 | EventQueue.invokeLater(new Runnable() { 40 | public void run() { 41 | try { 42 | LoginPage frame = new LoginPage(); 43 | frame.setVisible(true); 44 | } catch (Exception e) { 45 | e.printStackTrace(); 46 | } 47 | } 48 | }); 49 | } 50 | 51 | /** 52 | * Create the frame. 53 | */ 54 | public LoginPage() { 55 | setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 56 | setBounds(100, 100, 450, 300); 57 | contentPane = new JPanel(); 58 | contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); 59 | setContentPane(contentPane); 60 | 61 | lblLoginPage = new JLabel("Login Page"); 62 | lblLoginPage.setFont(new Font("Dialog", Font.BOLD, 16)); 63 | 64 | lblUsername = new JLabel("Username:"); 65 | 66 | textField = new JTextField(); 67 | textField.setColumns(10); 68 | 69 | JLabel lblPassword = new JLabel("Password:"); 70 | 71 | textField_1 = new JTextField(); 72 | textField_1.setColumns(10); 73 | 74 | btnLogin = new JButton("Login"); 75 | btnLogin.addActionListener(new ActionListener() { 76 | public void actionPerformed(ActionEvent e) { 77 | NotSignedUp np=new NotSignedUp(); 78 | if(np.database(textField.getText().toString(),textField_1.getText().toString())) { 79 | ResumeUI rui = new ResumeUI(); 80 | rui.setVisible(true); 81 | } 82 | else { 83 | JOptionPane.showMessageDialog(contentPane, "Not able to Login", "Cannot Login", JOptionPane.INFORMATION_MESSAGE); 84 | } 85 | } 86 | }); 87 | GroupLayout gl_contentPane = new GroupLayout(contentPane); 88 | gl_contentPane.setHorizontalGroup( 89 | gl_contentPane.createParallelGroup(Alignment.LEADING) 90 | .addGroup(gl_contentPane.createSequentialGroup() 91 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 92 | .addGroup(gl_contentPane.createSequentialGroup() 93 | .addGap(70) 94 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 95 | .addComponent(lblPassword, Alignment.TRAILING) 96 | .addComponent(lblUsername, Alignment.TRAILING)) 97 | .addGap(56) 98 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 99 | .addComponent(textField_1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) 100 | .addComponent(textField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))) 101 | .addGroup(gl_contentPane.createSequentialGroup() 102 | .addGap(159) 103 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 104 | .addComponent(btnLogin) 105 | .addComponent(lblLoginPage)))) 106 | .addContainerGap(113, Short.MAX_VALUE)) 107 | ); 108 | gl_contentPane.setVerticalGroup( 109 | gl_contentPane.createParallelGroup(Alignment.LEADING) 110 | .addGroup(gl_contentPane.createSequentialGroup() 111 | .addContainerGap(33, Short.MAX_VALUE) 112 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING, false) 113 | .addGroup(gl_contentPane.createSequentialGroup() 114 | .addComponent(lblLoginPage) 115 | .addGap(95)) 116 | .addGroup(gl_contentPane.createSequentialGroup() 117 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 118 | .addComponent(lblUsername) 119 | .addComponent(textField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 120 | .addGap(42))) 121 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 122 | .addComponent(lblPassword) 123 | .addComponent(textField_1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 124 | .addGap(31) 125 | .addComponent(btnLogin) 126 | .addContainerGap(38, Short.MAX_VALUE)) 127 | ); 128 | contentPane.setLayout(gl_contentPane); 129 | } 130 | } 131 | -------------------------------------------------------------------------------- /Resume Builder/Resume Builder Uml.ucls: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 51 | 52 | 54 | 55 | 56 | 57 | 58 | 60 | 61 | 63 | 64 | 65 | 66 | 67 | 69 | 70 | 72 | 73 | 74 | 75 | 76 | 78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /Resume Builder/src/SignUp.java: -------------------------------------------------------------------------------- 1 | import java.awt.BorderLayout; 2 | import java.awt.EventQueue; 3 | 4 | import javax.swing.JFrame; 5 | import javax.swing.JPanel; 6 | import javax.swing.border.EmptyBorder; 7 | import javax.swing.GroupLayout; 8 | import javax.swing.GroupLayout.Alignment; 9 | import javax.swing.JLabel; 10 | import javax.swing.JTextField; 11 | import javax.swing.LayoutStyle.ComponentPlacement; 12 | import javax.swing.JButton; 13 | import java.awt.event.ActionListener; 14 | import java.awt.event.ActionEvent; 15 | 16 | public class SignUp extends JFrame { 17 | 18 | private JPanel contentPane; 19 | private JTextField textField; 20 | private JTextField textField_1; 21 | private JTextField textField_2; 22 | private JTextField textField_3; 23 | private JTextField textField_4; 24 | private JTextField textField_5; 25 | 26 | /** 27 | * Launch the application. 28 | */ 29 | public static void main(String[] args) { 30 | EventQueue.invokeLater(new Runnable() { 31 | public void run() { 32 | try { 33 | SignUp frame = new SignUp(); 34 | frame.setVisible(true); 35 | } catch (Exception e) { 36 | e.printStackTrace(); 37 | } 38 | } 39 | }); 40 | } 41 | 42 | /** 43 | * Create the frame. 44 | */ 45 | public SignUp() { 46 | setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 47 | setBounds(100, 100, 450, 300); 48 | contentPane = new JPanel(); 49 | contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); 50 | setContentPane(contentPane); 51 | 52 | JLabel lblFullName = new JLabel("Full Name:"); 53 | 54 | textField = new JTextField(); 55 | textField.setColumns(10); 56 | 57 | JLabel lblUsername = new JLabel("Username:"); 58 | 59 | textField_1 = new JTextField(); 60 | textField_1.setColumns(10); 61 | 62 | JLabel lblEmailId = new JLabel("Email Id: "); 63 | 64 | textField_2 = new JTextField(); 65 | textField_2.setColumns(10); 66 | 67 | JLabel lblPhoneNo = new JLabel("Phone No.:"); 68 | 69 | textField_3 = new JTextField(); 70 | textField_3.setColumns(10); 71 | 72 | JLabel lblPassword = new JLabel("Password:"); 73 | 74 | textField_4 = new JTextField(); 75 | textField_4.setColumns(10); 76 | 77 | JLabel lblRetypePassword = new JLabel("Retype password:"); 78 | 79 | textField_5 = new JTextField(); 80 | textField_5.setColumns(10); 81 | 82 | JButton btnRegister = new JButton("Register"); 83 | btnRegister.addActionListener(new ActionListener() { 84 | public void actionPerformed(ActionEvent arg0) { 85 | SignUpDb s = new SignUpDb(); 86 | s.database(textField.getText().toString(),textField_1.getText().toString(),textField_2.getText().toString(),textField_3.getText().toString(),textField_4.getText().toString()); 87 | ResumeUI rui = new ResumeUI(); 88 | rui.setVisible(true); 89 | } 90 | }); 91 | GroupLayout gl_contentPane = new GroupLayout(contentPane); 92 | gl_contentPane.setHorizontalGroup( 93 | gl_contentPane.createParallelGroup(Alignment.LEADING) 94 | .addGroup(gl_contentPane.createSequentialGroup() 95 | .addContainerGap() 96 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 97 | .addComponent(lblFullName) 98 | .addComponent(lblUsername) 99 | .addComponent(lblEmailId) 100 | .addComponent(lblPhoneNo) 101 | .addComponent(lblPassword) 102 | .addComponent(lblRetypePassword)) 103 | .addGap(5) 104 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 105 | .addGroup(gl_contentPane.createSequentialGroup() 106 | .addGap(12) 107 | .addComponent(btnRegister)) 108 | .addComponent(textField_5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) 109 | .addComponent(textField_4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) 110 | .addComponent(textField_3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) 111 | .addComponent(textField_2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) 112 | .addComponent(textField_1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) 113 | .addComponent(textField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 114 | .addContainerGap(170, Short.MAX_VALUE)) 115 | ); 116 | gl_contentPane.setVerticalGroup( 117 | gl_contentPane.createParallelGroup(Alignment.LEADING) 118 | .addGroup(gl_contentPane.createSequentialGroup() 119 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 120 | .addComponent(lblFullName) 121 | .addComponent(textField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 122 | .addGap(18) 123 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 124 | .addComponent(lblUsername) 125 | .addComponent(textField_1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 126 | .addGap(18) 127 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 128 | .addComponent(lblEmailId) 129 | .addComponent(textField_2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 130 | .addGap(18) 131 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 132 | .addComponent(lblPhoneNo) 133 | .addComponent(textField_3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 134 | .addPreferredGap(ComponentPlacement.UNRELATED) 135 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 136 | .addComponent(lblPassword) 137 | .addComponent(textField_4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 138 | .addGap(22) 139 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 140 | .addComponent(lblRetypePassword) 141 | .addComponent(textField_5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 142 | .addPreferredGap(ComponentPlacement.UNRELATED) 143 | .addComponent(btnRegister) 144 | .addContainerGap(21, Short.MAX_VALUE)) 145 | ); 146 | contentPane.setLayout(gl_contentPane); 147 | } 148 | 149 | 150 | public JTextField getTextField() { 151 | return textField; 152 | } 153 | 154 | public void setTextField(JTextField textField) { 155 | this.textField = textField; 156 | } 157 | 158 | public JTextField getTextField_1() { 159 | return textField_1; 160 | } 161 | 162 | public void setTextField_1(JTextField textField_1) { 163 | this.textField_1 = textField_1; 164 | } 165 | 166 | public JTextField getTextField_2() { 167 | return textField_2; 168 | } 169 | 170 | public void setTextField_2(JTextField textField_2) { 171 | this.textField_2 = textField_2; 172 | } 173 | 174 | public JTextField getTextField_3() { 175 | return textField_3; 176 | } 177 | 178 | public void setTextField_3(JTextField textField_3) { 179 | this.textField_3 = textField_3; 180 | } 181 | 182 | public JTextField getTextField_4() { 183 | return textField_4; 184 | } 185 | 186 | public void setTextField_4(JTextField textField_4) { 187 | this.textField_4 = textField_4; 188 | } 189 | 190 | public JTextField getTextField_5() { 191 | return textField_5; 192 | } 193 | 194 | public void setTextField_5(JTextField textField_5) { 195 | this.textField_5 = textField_5; 196 | } 197 | 198 | } 199 | -------------------------------------------------------------------------------- /Resume Builder/src/ResumeUI.java: -------------------------------------------------------------------------------- 1 | import java.awt.BorderLayout; 2 | import java.awt.EventQueue; 3 | 4 | import javax.swing.JFrame; 5 | import javax.swing.JPanel; 6 | import javax.swing.border.EmptyBorder; 7 | import javax.swing.GroupLayout; 8 | import javax.swing.GroupLayout.Alignment; 9 | import javax.swing.JLabel; 10 | import java.awt.Font; 11 | import javax.swing.JTextField; 12 | import javax.swing.LayoutStyle.ComponentPlacement; 13 | import javax.swing.JTextPane; 14 | import javax.swing.JButton; 15 | import javax.swing.ImageIcon; 16 | import java.awt.event.ActionListener; 17 | import java.io.File; 18 | import java.io.IOException; 19 | import java.net.MalformedURLException; 20 | import java.net.URI; 21 | import java.net.URL; 22 | import java.awt.event.ActionEvent; 23 | 24 | public class ResumeUI extends JFrame { 25 | 26 | private JPanel contentPane; 27 | private JTextField textField; 28 | private JTextField textField_1; 29 | private JTextField textField_2; 30 | private JTextField textField_3; 31 | private JTextField textField_4; 32 | private JTextField textField_5; 33 | private JTextField textField_6; 34 | private JTextField textField_7; 35 | private JTextField textField_8; 36 | private JTextField textField_9; 37 | private JTextField textField_11; 38 | private JTextField textField_12; 39 | private JTextField textField_13; 40 | private JTextField textField_10; 41 | private JTextField textField_14; 42 | private JLabel lblWorkExperience; 43 | private JTextField textField_15; 44 | private JLabel lblCompanyName; 45 | private JLabel label; 46 | private JLabel lblDesignation; 47 | private JLabel lblDesignation_1; 48 | private JTextField textField_16; 49 | private JTextField textField_17; 50 | private JTextField textField_18; 51 | private JLabel lblQualifications; 52 | private JLabel lblCollegeuniversity; 53 | private JTextField textField_19; 54 | private JTextField textField_20; 55 | private JLabel lblSchool; 56 | private JLabel lblOtherQualifications; 57 | private JTextField textField_21; 58 | 59 | /** 60 | * Launch the application. 61 | */ 62 | public static void main(String[] args) { 63 | EventQueue.invokeLater(new Runnable() { 64 | public void run() { 65 | try { 66 | ResumeUI frame = new ResumeUI(); 67 | frame.setVisible(true); 68 | } catch (Exception e) { 69 | e.printStackTrace(); 70 | } 71 | } 72 | }); 73 | } 74 | 75 | /** 76 | * Create the frame. 77 | */ 78 | public ResumeUI() { 79 | setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 80 | setBounds(100, 100, 1500, 1000); 81 | contentPane = new JPanel(); 82 | contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); 83 | setContentPane(contentPane); 84 | 85 | JLabel lblResume = new JLabel("Resume"); 86 | lblResume.setFont(new Font("Dialog", Font.BOLD, 30)); 87 | 88 | JLabel lblPersonalInformation = new JLabel("Personal Information"); 89 | lblPersonalInformation.setFont(new Font("Dialog", Font.BOLD, 24)); 90 | 91 | JLabel lblFirstName = new JLabel("First Name:"); 92 | lblFirstName.setFont(new Font("Dialog", Font.BOLD, 16)); 93 | 94 | textField = new JTextField(); 95 | textField.setFont(new Font("Dialog", Font.PLAIN, 16)); 96 | textField.setColumns(10); 97 | 98 | JLabel lblSurname = new JLabel("Surname:"); 99 | lblSurname.setFont(new Font("Dialog", Font.BOLD, 16)); 100 | 101 | JLabel lblAddress = new JLabel("Address:"); 102 | lblAddress.setFont(new Font("Dialog", Font.BOLD, 16)); 103 | 104 | JLabel lblAddress_1 = new JLabel("Address:"); 105 | lblAddress_1.setFont(new Font("Dialog", Font.BOLD, 16)); 106 | 107 | JLabel lblPincode = new JLabel("Pincode:"); 108 | lblPincode.setFont(new Font("Dialog", Font.BOLD, 16)); 109 | 110 | JLabel lblNationality = new JLabel("Nationality"); 111 | lblNationality.setFont(new Font("Dialog", Font.BOLD, 16)); 112 | 113 | JLabel lblDateOfBirth = new JLabel("DOB:"); 114 | lblDateOfBirth.setFont(new Font("Dialog", Font.BOLD, 16)); 115 | 116 | JLabel lblPhoneNo = new JLabel("Phone No.:"); 117 | lblPhoneNo.setFont(new Font("Dialog", Font.BOLD, 16)); 118 | 119 | JLabel lblEmail = new JLabel("Email"); 120 | lblEmail.setFont(new Font("Dialog", Font.BOLD, 16)); 121 | 122 | textField_1 = new JTextField(); 123 | textField_1.setFont(new Font("Dialog", Font.PLAIN, 16)); 124 | textField_1.setColumns(10); 125 | 126 | textField_2 = new JTextField(); 127 | textField_2.setFont(new Font("Dialog", Font.PLAIN, 16)); 128 | textField_2.setColumns(10); 129 | 130 | textField_3 = new JTextField(); 131 | textField_3.setFont(new Font("Dialog", Font.PLAIN, 16)); 132 | textField_3.setColumns(10); 133 | 134 | textField_4 = new JTextField(); 135 | textField_4.setFont(new Font("Dialog", Font.PLAIN, 16)); 136 | textField_4.setColumns(10); 137 | 138 | textField_5 = new JTextField(); 139 | textField_5.setFont(new Font("Dialog", Font.PLAIN, 16)); 140 | textField_5.setColumns(10); 141 | 142 | textField_6 = new JTextField(); 143 | textField_6.setFont(new Font("Dialog", Font.PLAIN, 16)); 144 | textField_6.setColumns(10); 145 | 146 | textField_7 = new JTextField(); 147 | textField_7.setFont(new Font("Dialog", Font.PLAIN, 16)); 148 | textField_7.setColumns(10); 149 | 150 | textField_8 = new JTextField(); 151 | textField_8.setFont(new Font("Dialog", Font.PLAIN, 16)); 152 | textField_8.setColumns(10); 153 | 154 | JLabel lblSkills = new JLabel("Skills"); 155 | lblSkills.setFont(new Font("Dialog", Font.BOLD, 24)); 156 | 157 | textField_9 = new JTextField(); 158 | textField_9.setFont(new Font("Dialog", Font.PLAIN, 22)); 159 | textField_9.setColumns(10); 160 | 161 | textField_11 = new JTextField(); 162 | textField_11.setColumns(10); 163 | 164 | textField_12 = new JTextField(); 165 | textField_12.setColumns(10); 166 | 167 | textField_13 = new JTextField(); 168 | textField_13.setFont(new Font("Dialog", Font.PLAIN, 22)); 169 | textField_13.setColumns(10); 170 | 171 | textField_10 = new JTextField(); 172 | textField_10.setColumns(10); 173 | 174 | textField_14 = new JTextField(); 175 | textField_14.setFont(new Font("Dialog", Font.PLAIN, 22)); 176 | textField_14.setColumns(10); 177 | 178 | lblWorkExperience = new JLabel("Work Experience"); 179 | lblWorkExperience.setFont(new Font("Dialog", Font.BOLD, 24)); 180 | 181 | textField_15 = new JTextField(); 182 | textField_15.setFont(new Font("Dialog", Font.PLAIN, 16)); 183 | textField_15.setColumns(10); 184 | 185 | lblCompanyName = new JLabel("Company Name:"); 186 | lblCompanyName.setFont(new Font("Dialog", Font.BOLD, 16)); 187 | 188 | label = new JLabel("Company Name:"); 189 | label.setFont(new Font("Dialog", Font.BOLD, 16)); 190 | 191 | lblDesignation = new JLabel("Designation:"); 192 | lblDesignation.setFont(new Font("Dialog", Font.BOLD, 16)); 193 | 194 | lblDesignation_1 = new JLabel("Designation:"); 195 | lblDesignation_1.setFont(new Font("Dialog", Font.BOLD, 16)); 196 | 197 | textField_16 = new JTextField(); 198 | textField_16.setColumns(10); 199 | 200 | textField_17 = new JTextField(); 201 | textField_17.setColumns(10); 202 | 203 | textField_18 = new JTextField(); 204 | textField_18.setFont(new Font("Dialog", Font.PLAIN, 16)); 205 | textField_18.setColumns(10); 206 | 207 | lblQualifications = new JLabel("Qualifications"); 208 | lblQualifications.setFont(new Font("Dialog", Font.BOLD, 24)); 209 | 210 | lblCollegeuniversity = new JLabel("College/University:"); 211 | lblCollegeuniversity.setFont(new Font("Dialog", Font.BOLD, 16)); 212 | 213 | textField_19 = new JTextField(); 214 | textField_19.setFont(new Font("Dialog", Font.PLAIN, 16)); 215 | textField_19.setColumns(10); 216 | 217 | textField_20 = new JTextField(); 218 | textField_20.setFont(new Font("Dialog", Font.PLAIN, 16)); 219 | textField_20.setColumns(10); 220 | 221 | lblSchool = new JLabel("School:"); 222 | lblSchool.setFont(new Font("Dialog", Font.BOLD, 16)); 223 | 224 | lblOtherQualifications = new JLabel("Other Qualifications:"); 225 | lblOtherQualifications.setFont(new Font("Dialog", Font.BOLD, 16)); 226 | 227 | textField_21 = new JTextField(); 228 | textField_21.setFont(new Font("Dialog", Font.PLAIN, 16)); 229 | textField_21.setColumns(10); 230 | 231 | JButton btnSave = new JButton("Save "); 232 | 233 | JButton btnCreate = new JButton("Create"); 234 | btnCreate.addActionListener(new ActionListener() { 235 | public void actionPerformed(ActionEvent e) { 236 | FileWriterInput fwi = new FileWriterInput(); 237 | String s = getTextField().getText().toString(); 238 | String s1 = getTextField_1().getText().toString(); 239 | String s2 = getTextField_2().getText().toString(); 240 | String s3 = getTextField_3().getText().toString(); 241 | String s4 = getTextField_4().getText().toString(); 242 | String s5 = getTextField_5().getText().toString(); 243 | String s6 = getTextField_6().getText().toString(); 244 | String s7 = getTextField_7().getText().toString(); 245 | String s8 = getTextField_8().getText().toString(); 246 | String s9 = getTextField_9().getText().toString(); 247 | String s10 = getTextField_10().getText().toString(); 248 | String s11 = getTextField_11().getText().toString(); 249 | String s12 = getTextField_12().getText().toString(); 250 | String s13 = getTextField_13().getText().toString(); 251 | String s14 = getTextField_14().getText().toString(); 252 | String s15 = getTextField_15().getText().toString(); 253 | String s16 = getTextField_16().getText().toString(); 254 | String s17 = getTextField_17().getText().toString(); 255 | String s18 = getTextField_18().getText().toString(); 256 | String s19 = getTextField_19().getText().toString(); 257 | String s20 = getTextField_20().getText().toString(); 258 | String s21 = getTextField_21().getText().toString(); 259 | System.out.println(s1); 260 | fwi.add(s,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18,s19,s20,s21); 261 | 262 | } 263 | }); 264 | 265 | JButton btnDelete = new JButton("Delete"); 266 | 267 | JLabel lblNewLabel = new JLabel(""); 268 | lblNewLabel.setIcon(new ImageIcon("/home/bhanuprakash/Downloads/placeholder-200x200.png")); 269 | 270 | JButton btnBrowse = new JButton("Browse"); 271 | btnBrowse.addActionListener(new ActionListener() { 272 | public void actionPerformed(ActionEvent arg0) { 273 | FileBrowser fb = new FileBrowser(); 274 | fb.setVisible(true); 275 | fb.dispose(); 276 | if(fb.getS()!=null) { 277 | lblNewLabel.setIcon(new ImageIcon(fb.getS())); 278 | } 279 | else { 280 | lblNewLabel.setIcon(new ImageIcon("/home/bhanuprakash/Downloads/placeholder-200x200.png")); 281 | } 282 | } 283 | }); 284 | GroupLayout gl_contentPane = new GroupLayout(contentPane); 285 | gl_contentPane.setHorizontalGroup( 286 | gl_contentPane.createParallelGroup(Alignment.LEADING) 287 | .addGroup(gl_contentPane.createSequentialGroup() 288 | .addGap(55) 289 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 290 | .addGroup(gl_contentPane.createSequentialGroup() 291 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING, false) 292 | .addGroup(gl_contentPane.createSequentialGroup() 293 | .addComponent(lblEmail, GroupLayout.PREFERRED_SIZE, 102, GroupLayout.PREFERRED_SIZE) 294 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 295 | .addComponent(textField_8, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)) 296 | .addGroup(gl_contentPane.createSequentialGroup() 297 | .addComponent(lblPhoneNo, GroupLayout.PREFERRED_SIZE, 102, GroupLayout.PREFERRED_SIZE) 298 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 299 | .addComponent(textField_7, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)) 300 | .addGroup(gl_contentPane.createSequentialGroup() 301 | .addComponent(lblDateOfBirth, GroupLayout.PREFERRED_SIZE, 102, GroupLayout.PREFERRED_SIZE) 302 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 303 | .addComponent(textField_6, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)) 304 | .addGroup(gl_contentPane.createSequentialGroup() 305 | .addComponent(lblNationality, GroupLayout.PREFERRED_SIZE, 102, GroupLayout.PREFERRED_SIZE) 306 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 307 | .addComponent(textField_5, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)) 308 | .addGroup(gl_contentPane.createSequentialGroup() 309 | .addComponent(lblPincode, GroupLayout.PREFERRED_SIZE, 102, GroupLayout.PREFERRED_SIZE) 310 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 311 | .addComponent(textField_4, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)) 312 | .addGroup(gl_contentPane.createSequentialGroup() 313 | .addComponent(lblAddress_1, GroupLayout.PREFERRED_SIZE, 102, GroupLayout.PREFERRED_SIZE) 314 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 315 | .addComponent(textField_3, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)) 316 | .addGroup(gl_contentPane.createSequentialGroup() 317 | .addComponent(lblAddress, GroupLayout.PREFERRED_SIZE, 102, GroupLayout.PREFERRED_SIZE) 318 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 319 | .addComponent(textField_2, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)) 320 | .addComponent(lblPersonalInformation) 321 | .addGroup(gl_contentPane.createSequentialGroup() 322 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 323 | .addComponent(lblFirstName) 324 | .addComponent(lblSurname)) 325 | .addPreferredGap(ComponentPlacement.RELATED, 26, Short.MAX_VALUE) 326 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 327 | .addComponent(textField, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE) 328 | .addComponent(textField_1, GroupLayout.PREFERRED_SIZE, 296, GroupLayout.PREFERRED_SIZE)))) 329 | .addPreferredGap(ComponentPlacement.RELATED, 199, Short.MAX_VALUE) 330 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 331 | .addGroup(gl_contentPane.createSequentialGroup() 332 | .addComponent(lblSkills) 333 | .addGap(306)) 334 | .addGroup(gl_contentPane.createSequentialGroup() 335 | .addComponent(lblResume) 336 | .addGap(679)) 337 | .addGroup(gl_contentPane.createSequentialGroup() 338 | .addComponent(lblWorkExperience) 339 | .addGap(346)) 340 | .addGroup(gl_contentPane.createSequentialGroup() 341 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 342 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 343 | .addComponent(textField_10, GroupLayout.PREFERRED_SIZE, 167, GroupLayout.PREFERRED_SIZE) 344 | .addComponent(textField_12, GroupLayout.PREFERRED_SIZE, 167, GroupLayout.PREFERRED_SIZE) 345 | .addComponent(textField_11, GroupLayout.PREFERRED_SIZE, 167, GroupLayout.PREFERRED_SIZE)) 346 | .addComponent(lblCompanyName, GroupLayout.PREFERRED_SIZE, 155, GroupLayout.PREFERRED_SIZE) 347 | .addComponent(label, GroupLayout.PREFERRED_SIZE, 155, GroupLayout.PREFERRED_SIZE) 348 | .addComponent(lblDesignation, GroupLayout.PREFERRED_SIZE, 155, GroupLayout.PREFERRED_SIZE) 349 | .addComponent(lblDesignation_1, GroupLayout.PREFERRED_SIZE, 155, GroupLayout.PREFERRED_SIZE)) 350 | .addGap(43) 351 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 352 | .addComponent(textField_18, GroupLayout.PREFERRED_SIZE, 436, GroupLayout.PREFERRED_SIZE) 353 | .addComponent(textField_17, GroupLayout.PREFERRED_SIZE, 167, GroupLayout.PREFERRED_SIZE) 354 | .addComponent(textField_16, GroupLayout.PREFERRED_SIZE, 167, GroupLayout.PREFERRED_SIZE) 355 | .addComponent(textField_15, GroupLayout.PREFERRED_SIZE, 436, GroupLayout.PREFERRED_SIZE) 356 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 357 | .addComponent(textField_13, Alignment.TRAILING, GroupLayout.PREFERRED_SIZE, 595, GroupLayout.PREFERRED_SIZE) 358 | .addComponent(textField_9, Alignment.TRAILING, GroupLayout.PREFERRED_SIZE, 595, GroupLayout.PREFERRED_SIZE) 359 | .addComponent(textField_14, Alignment.TRAILING, GroupLayout.PREFERRED_SIZE, 595, GroupLayout.PREFERRED_SIZE)))))) 360 | .addGroup(gl_contentPane.createSequentialGroup() 361 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 362 | .addGroup(gl_contentPane.createSequentialGroup() 363 | .addComponent(lblSchool, GroupLayout.PREFERRED_SIZE, 217, GroupLayout.PREFERRED_SIZE) 364 | .addPreferredGap(ComponentPlacement.RELATED) 365 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 366 | .addComponent(textField_19, GroupLayout.PREFERRED_SIZE, 436, GroupLayout.PREFERRED_SIZE) 367 | .addComponent(textField_20, GroupLayout.PREFERRED_SIZE, 436, GroupLayout.PREFERRED_SIZE))) 368 | .addGroup(gl_contentPane.createSequentialGroup() 369 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 370 | .addComponent(lblCollegeuniversity, GroupLayout.PREFERRED_SIZE, 217, GroupLayout.PREFERRED_SIZE) 371 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 372 | .addComponent(lblOtherQualifications, GroupLayout.PREFERRED_SIZE, 217, GroupLayout.PREFERRED_SIZE) 373 | .addComponent(lblQualifications, GroupLayout.PREFERRED_SIZE, 225, GroupLayout.PREFERRED_SIZE))) 374 | .addPreferredGap(ComponentPlacement.RELATED) 375 | .addComponent(textField_21, GroupLayout.PREFERRED_SIZE, 436, GroupLayout.PREFERRED_SIZE))) 376 | .addGap(128) 377 | .addComponent(lblNewLabel, GroupLayout.PREFERRED_SIZE, 201, GroupLayout.PREFERRED_SIZE) 378 | .addPreferredGap(ComponentPlacement.RELATED, 225, Short.MAX_VALUE) 379 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 380 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING, false) 381 | .addComponent(btnCreate, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 382 | .addComponent(btnDelete, GroupLayout.DEFAULT_SIZE, 129, Short.MAX_VALUE) 383 | .addComponent(btnSave, GroupLayout.DEFAULT_SIZE, 129, Short.MAX_VALUE)) 384 | .addComponent(btnBrowse, GroupLayout.PREFERRED_SIZE, 129, GroupLayout.PREFERRED_SIZE)) 385 | .addGap(64)))) 386 | ); 387 | gl_contentPane.setVerticalGroup( 388 | gl_contentPane.createParallelGroup(Alignment.LEADING) 389 | .addGroup(gl_contentPane.createSequentialGroup() 390 | .addContainerGap() 391 | .addComponent(lblResume) 392 | .addGap(35) 393 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 394 | .addComponent(lblPersonalInformation) 395 | .addComponent(lblSkills)) 396 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 397 | .addGroup(gl_contentPane.createSequentialGroup() 398 | .addGap(43) 399 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 400 | .addComponent(lblFirstName) 401 | .addComponent(textField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) 402 | .addGap(34) 403 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 404 | .addComponent(lblSurname) 405 | .addComponent(textField_1, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE)) 406 | .addGap(29) 407 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 408 | .addComponent(lblAddress, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 409 | .addComponent(textField_2, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE))) 410 | .addGroup(gl_contentPane.createSequentialGroup() 411 | .addGap(66) 412 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 413 | .addComponent(textField_9, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE) 414 | .addComponent(textField_10, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE)) 415 | .addGap(39) 416 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 417 | .addComponent(textField_13, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE) 418 | .addComponent(textField_11, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE)))) 419 | .addGap(35) 420 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 421 | .addComponent(lblAddress_1, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 422 | .addComponent(textField_3, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE) 423 | .addComponent(textField_12, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE) 424 | .addComponent(textField_14, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE)) 425 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 426 | .addGroup(gl_contentPane.createSequentialGroup() 427 | .addGap(35) 428 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 429 | .addComponent(lblPincode, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 430 | .addComponent(textField_4, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE)) 431 | .addGap(30) 432 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 433 | .addComponent(lblNationality, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 434 | .addComponent(textField_5, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE)) 435 | .addGap(33) 436 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 437 | .addComponent(lblDateOfBirth, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 438 | .addComponent(textField_6, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE)) 439 | .addGap(33) 440 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 441 | .addComponent(lblPhoneNo, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 442 | .addComponent(textField_7, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE))) 443 | .addGroup(gl_contentPane.createSequentialGroup() 444 | .addGap(52) 445 | .addComponent(lblWorkExperience) 446 | .addGap(30) 447 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 448 | .addComponent(textField_15, GroupLayout.PREFERRED_SIZE, 27, GroupLayout.PREFERRED_SIZE) 449 | .addComponent(lblCompanyName, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)) 450 | .addGap(39) 451 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 452 | .addComponent(lblDesignation, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 453 | .addComponent(textField_16, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE)))) 454 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING, false) 455 | .addGroup(gl_contentPane.createSequentialGroup() 456 | .addGap(28) 457 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 458 | .addComponent(lblEmail, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 459 | .addComponent(textField_8, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE) 460 | .addComponent(label, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)) 461 | .addGap(44) 462 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 463 | .addComponent(lblDesignation_1, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 464 | .addComponent(lblQualifications, GroupLayout.PREFERRED_SIZE, 29, GroupLayout.PREFERRED_SIZE))) 465 | .addGroup(gl_contentPane.createSequentialGroup() 466 | .addGap(18) 467 | .addComponent(textField_18, GroupLayout.PREFERRED_SIZE, 27, GroupLayout.PREFERRED_SIZE) 468 | .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 469 | .addComponent(textField_17, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE))) 470 | .addGap(18) 471 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 472 | .addGroup(gl_contentPane.createSequentialGroup() 473 | .addGroup(gl_contentPane.createParallelGroup(Alignment.LEADING) 474 | .addGroup(gl_contentPane.createSequentialGroup() 475 | .addGap(51) 476 | .addComponent(btnSave, GroupLayout.PREFERRED_SIZE, 34, GroupLayout.PREFERRED_SIZE)) 477 | .addGroup(gl_contentPane.createSequentialGroup() 478 | .addGap(61) 479 | .addComponent(lblCollegeuniversity, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)) 480 | .addGroup(gl_contentPane.createSequentialGroup() 481 | .addGap(45) 482 | .addComponent(textField_19, GroupLayout.PREFERRED_SIZE, 27, GroupLayout.PREFERRED_SIZE))) 483 | .addGap(25) 484 | .addGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING) 485 | .addGroup(gl_contentPane.createSequentialGroup() 486 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 487 | .addComponent(lblSchool, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 488 | .addComponent(textField_20, GroupLayout.PREFERRED_SIZE, 27, GroupLayout.PREFERRED_SIZE)) 489 | .addGap(32) 490 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 491 | .addComponent(lblOtherQualifications, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE) 492 | .addComponent(textField_21, GroupLayout.PREFERRED_SIZE, 27, GroupLayout.PREFERRED_SIZE)) 493 | .addGap(45)) 494 | .addGroup(gl_contentPane.createSequentialGroup() 495 | .addComponent(btnBrowse, GroupLayout.PREFERRED_SIZE, 34, GroupLayout.PREFERRED_SIZE) 496 | .addGap(18) 497 | .addComponent(btnDelete, GroupLayout.PREFERRED_SIZE, 34, GroupLayout.PREFERRED_SIZE) 498 | .addGap(23)))) 499 | .addGroup(gl_contentPane.createParallelGroup(Alignment.BASELINE) 500 | .addComponent(lblNewLabel, GroupLayout.PREFERRED_SIZE, 222, GroupLayout.PREFERRED_SIZE) 501 | .addComponent(btnCreate, GroupLayout.PREFERRED_SIZE, 34, GroupLayout.PREFERRED_SIZE))) 502 | .addContainerGap()) 503 | ); 504 | contentPane.setLayout(gl_contentPane); 505 | } 506 | public JTextField getTextField() { 507 | return textField; 508 | } 509 | 510 | public JTextField getTextField_1() { 511 | return textField_1; 512 | } 513 | 514 | public JTextField getTextField_2() { 515 | return textField_2; 516 | } 517 | 518 | public JTextField getTextField_3() { 519 | return textField_3; 520 | } 521 | 522 | public JTextField getTextField_4() { 523 | return textField_4; 524 | } 525 | 526 | public JTextField getTextField_5() { 527 | return textField_5; 528 | } 529 | 530 | public JTextField getTextField_6() { 531 | return textField_6; 532 | } 533 | 534 | public JTextField getTextField_7() { 535 | return textField_7; 536 | } 537 | 538 | public JTextField getTextField_8() { 539 | return textField_8; 540 | } 541 | 542 | public JTextField getTextField_9() { 543 | return textField_9; 544 | } 545 | 546 | public JTextField getTextField_11() { 547 | return textField_11; 548 | } 549 | 550 | public JTextField getTextField_12() { 551 | return textField_12; 552 | } 553 | 554 | public JTextField getTextField_13() { 555 | return textField_13; 556 | } 557 | 558 | public JTextField getTextField_10() { 559 | return textField_10; 560 | } 561 | 562 | public JTextField getTextField_14() { 563 | return textField_14; 564 | } 565 | 566 | public JTextField getTextField_15() { 567 | return textField_15; 568 | } 569 | 570 | public JTextField getTextField_16() { 571 | return textField_16; 572 | } 573 | 574 | public JTextField getTextField_17() { 575 | return textField_17; 576 | } 577 | 578 | public JTextField getTextField_18() { 579 | return textField_18; 580 | } 581 | 582 | public JTextField getTextField_19() { 583 | return textField_19; 584 | } 585 | 586 | public JTextField getTextField_20() { 587 | return textField_20; 588 | } 589 | 590 | public JTextField getTextField_21() { 591 | return textField_21; 592 | } 593 | 594 | 595 | } 596 | --------------------------------------------------------------------------------