├── derby.log ├── manifest.mf ├── src └── fees_management │ ├── imges │ ├── dy.jpg │ ├── about.png │ ├── add2.png │ ├── admin.png │ ├── back1.png │ ├── delete.png │ ├── edit.png │ ├── edit2.png │ ├── exit.png │ ├── home.png │ ├── list.png │ ├── list_1.png │ ├── login.png │ ├── logout.png │ ├── plus.png │ ├── signup.png │ ├── update.png │ ├── new-user.png │ ├── printer-.png │ ├── search2.png │ ├── back-button.png │ ├── backimage.jpg │ ├── copyright.png │ ├── left-arrow.png │ ├── view report.png │ ├── search-document.png │ ├── view all record.png │ └── text-book-opened-from-top-view.png │ ├── Fees_management.java │ ├── dbconnection.java │ ├── dbconnection.form │ ├── home.java │ ├── home.form │ ├── login.java │ ├── login.form │ ├── feeslogin.java │ └── Sign_Up_Page.java ├── nbproject ├── genfiles.properties ├── project.xml ├── project.properties └── build-impl.xml ├── README.md └── LICENSE /derby.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /src/fees_management/imges/dy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/dy.jpg -------------------------------------------------------------------------------- /src/fees_management/imges/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/about.png -------------------------------------------------------------------------------- /src/fees_management/imges/add2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/add2.png -------------------------------------------------------------------------------- /src/fees_management/imges/admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/admin.png -------------------------------------------------------------------------------- /src/fees_management/imges/back1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/back1.png -------------------------------------------------------------------------------- /src/fees_management/imges/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/delete.png -------------------------------------------------------------------------------- /src/fees_management/imges/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/edit.png -------------------------------------------------------------------------------- /src/fees_management/imges/edit2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/edit2.png -------------------------------------------------------------------------------- /src/fees_management/imges/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/exit.png -------------------------------------------------------------------------------- /src/fees_management/imges/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/home.png -------------------------------------------------------------------------------- /src/fees_management/imges/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/list.png -------------------------------------------------------------------------------- /src/fees_management/imges/list_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/list_1.png -------------------------------------------------------------------------------- /src/fees_management/imges/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/login.png -------------------------------------------------------------------------------- /src/fees_management/imges/logout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/logout.png -------------------------------------------------------------------------------- /src/fees_management/imges/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/plus.png -------------------------------------------------------------------------------- /src/fees_management/imges/signup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/signup.png -------------------------------------------------------------------------------- /src/fees_management/imges/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/update.png -------------------------------------------------------------------------------- /src/fees_management/imges/new-user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/new-user.png -------------------------------------------------------------------------------- /src/fees_management/imges/printer-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/printer-.png -------------------------------------------------------------------------------- /src/fees_management/imges/search2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/search2.png -------------------------------------------------------------------------------- /src/fees_management/imges/back-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/back-button.png -------------------------------------------------------------------------------- /src/fees_management/imges/backimage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/backimage.jpg -------------------------------------------------------------------------------- /src/fees_management/imges/copyright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/copyright.png -------------------------------------------------------------------------------- /src/fees_management/imges/left-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/left-arrow.png -------------------------------------------------------------------------------- /src/fees_management/imges/view report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/view report.png -------------------------------------------------------------------------------- /src/fees_management/imges/search-document.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/search-document.png -------------------------------------------------------------------------------- /src/fees_management/imges/view all record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/view all record.png -------------------------------------------------------------------------------- /src/fees_management/imges/text-book-opened-from-top-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustAbhishek/Fees-Management-System/HEAD/src/fees_management/imges/text-book-opened-from-top-view.png -------------------------------------------------------------------------------- /nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=1cb2c6e3 2 | build.xml.script.CRC32=15b156da 3 | build.xml.stylesheet.CRC32=8064a381@1.79.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=1cb2c6e3 7 | nbproject/build-impl.xml.script.CRC32=4022b71e 8 | nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48 9 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | fees_management 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/fees_management/Fees_management.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package fees_management; 7 | 8 | /** 9 | * 10 | * @author Abhishek Prasad 11 | */ 12 | public class Fees_management { 13 | 14 | /** 15 | * @param args the command line arguments 16 | */ 17 | public static void main(String[] args) { 18 | // TODO code application logic here 19 | } 20 | 21 | void show() { 22 | throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Fees-Management-System 2 | Student Fees Management System is capable of managing each and every data regarding student, payments etc. Student Management System helps us in managing in an extremely efficient way. This Student Fees Management System works in an efficient manner. 3 | 4 | ## Technology used are : 5 | Front End : Java, JavaSwing, JavaFX. 6 | Back End : Database(Derby). 7 | IDE used : Netbeans. 8 | 9 | ## Below are the screenshot of the application. 10 | ![Screenshot (83)](https://user-images.githubusercontent.com/58525668/82139883-f133ea00-9848-11ea-9e88-7e10b2b71dfa.png) 11 | 12 | ![Screenshot (84)](https://user-images.githubusercontent.com/58525668/82139914-43750b00-9849-11ea-8468-478be568e87a.png) 13 | 14 | ![Screenshot (85)](https://user-images.githubusercontent.com/58525668/82139921-5982cb80-9849-11ea-82ac-840965c3e05d.png) 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/fees_management/dbconnection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package fees_management; 7 | 8 | import java.sql.Connection; 9 | import java.sql.DriverManager; 10 | import javax.swing.JOptionPane; 11 | 12 | /** 13 | * 14 | * @author Abhishek Prasad 15 | */ 16 | public class dbconnection { 17 | public static Connection con(){ 18 | Connection con = null; 19 | try{ 20 | Class.forName("com.mysql.jdbc.Driver"); 21 | con = DriverManager.getConnection("jdbc:mysql://localhost:3306/fee_management","root",""); 22 | }catch(Exception e){ 23 | JOptionPane.showMessageDialog(null, e); 24 | } 25 | return con; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Abhishek Prasad 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/fees_management/dbconnection.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
36 | -------------------------------------------------------------------------------- /nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/fees_management.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | file.reference.DateChooser.jar=D:\\Downloads\\1398197092_jdatechooser\\DateChooser.jar 31 | file.reference.jcalendar-1.4.jar=D:\\javaproject\\jcalendar-1.4.jar 32 | file.reference.mysql-connector-java-5.1.23-bin.jar=E:\\Program Files\\NetBeans 8.1\\ide\\modules\\ext\\mysql-connector-java-5.1.23-bin.jar 33 | includes=** 34 | jar.compress=false 35 | javac.classpath=\ 36 | ${libs.absolutelayout.classpath}:\ 37 | ${file.reference.DateChooser.jar}:\ 38 | ${file.reference.jcalendar-1.4.jar}:\ 39 | ${file.reference.mysql-connector-java-5.1.23-bin.jar}:\ 40 | ${libs.JAVADB_DRIVER_LABEL.classpath} 41 | # Space-separated list of extra javac options 42 | javac.compilerargs= 43 | javac.deprecation=false 44 | javac.external.vm=true 45 | javac.processorpath=\ 46 | ${javac.classpath} 47 | javac.source=1.8 48 | javac.target=1.8 49 | javac.test.classpath=\ 50 | ${javac.classpath}:\ 51 | ${build.classes.dir} 52 | javac.test.processorpath=\ 53 | ${javac.test.classpath} 54 | javadoc.additionalparam= 55 | javadoc.author=false 56 | javadoc.encoding=${source.encoding} 57 | javadoc.noindex=false 58 | javadoc.nonavbar=false 59 | javadoc.notree=false 60 | javadoc.private=false 61 | javadoc.splitindex=true 62 | javadoc.use=true 63 | javadoc.version=false 64 | javadoc.windowtitle= 65 | main.class=fees_management.Fees_management 66 | manifest.file=manifest.mf 67 | meta.inf.dir=${src.dir}/META-INF 68 | mkdist.disabled=false 69 | platform.active=default_platform 70 | run.classpath=\ 71 | ${javac.classpath}:\ 72 | ${build.classes.dir} 73 | # Space-separated list of JVM arguments used when running the project. 74 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 75 | # To set system properties for unit tests define test-sys-prop.name=value: 76 | run.jvmargs= 77 | run.test.classpath=\ 78 | ${javac.test.classpath}:\ 79 | ${build.test.classes.dir} 80 | source.encoding=UTF-8 81 | src.dir=src 82 | test.src.dir=test 83 | -------------------------------------------------------------------------------- /src/fees_management/home.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package fees_management; 7 | 8 | import java.awt.Color; 9 | import static javafx.scene.paint.Color.color; 10 | import static javafx.scene.paint.Color.color; 11 | import static javafx.scene.paint.Color.color; 12 | import static javafx.scene.paint.Color.color; 13 | 14 | /** 15 | * 16 | * @author Abhishek Prasad 17 | */ 18 | public class home extends javax.swing.JFrame { 19 | 20 | /** 21 | * Creates new form home 22 | */ 23 | public home() { 24 | initComponents(); 25 | } 26 | 27 | /** 28 | * This method is called from within the constructor to initialize the form. 29 | * WARNING: Do NOT modify this code. The content of this method is always 30 | * regenerated by the Form Editor. 31 | */ 32 | @SuppressWarnings("unchecked") 33 | // //GEN-BEGIN:initComponents 34 | private void initComponents() { 35 | 36 | jPanel1 = new javax.swing.JPanel(); 37 | jPanel3 = new javax.swing.JPanel(); 38 | jLabel1 = new javax.swing.JLabel(); 39 | jPanel2 = new javax.swing.JPanel(); 40 | 41 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 42 | getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 43 | 44 | jPanel1.setBackground(new java.awt.Color(0, 153, 153)); 45 | jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 46 | 47 | jPanel3.setBackground(new java.awt.Color(0, 102, 102)); 48 | jPanel3.setBorder(javax.swing.BorderFactory.createBevelBorder(0, null, java.awt.Color.white, null, null)); 49 | 50 | jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 20)); // NOI18N 51 | jLabel1.setForeground(new java.awt.Color(255, 255, 255)); 52 | jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fees_management/imges/plus.png"))); // NOI18N 53 | jLabel1.setText(" Add Fees"); 54 | jLabel1.addMouseListener(new java.awt.event.MouseAdapter() { 55 | public void mouseEntered(java.awt.event.MouseEvent evt) { 56 | jLabel1MouseEntered(evt); 57 | } 58 | public void mouseExited(java.awt.event.MouseEvent evt) { 59 | jLabel1MouseExited(evt); 60 | } 61 | }); 62 | 63 | javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); 64 | jPanel3.setLayout(jPanel3Layout); 65 | jPanel3Layout.setHorizontalGroup( 66 | jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 67 | .addGroup(jPanel3Layout.createSequentialGroup() 68 | .addGap(33, 33, 33) 69 | .addComponent(jLabel1) 70 | .addContainerGap(33, Short.MAX_VALUE)) 71 | ); 72 | jPanel3Layout.setVerticalGroup( 73 | jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 74 | .addGroup(jPanel3Layout.createSequentialGroup() 75 | .addGap(23, 23, 23) 76 | .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 196, javax.swing.GroupLayout.PREFERRED_SIZE) 77 | .addContainerGap(27, Short.MAX_VALUE)) 78 | ); 79 | 80 | jPanel1.add(jPanel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 50, 300, 250)); 81 | 82 | getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 150, 1620, 810)); 83 | 84 | jPanel2.setBackground(new java.awt.Color(0, 102, 102)); 85 | jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 86 | getContentPane().add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 1620, 150)); 87 | 88 | setBounds(0, 0, 1635, 1003); 89 | }// //GEN-END:initComponents 90 | 91 | private void jLabel1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseEntered 92 | // TODO add your handling code here: 93 | Color clr =new Color(0,51,51); 94 | jPanel3.setBackground(clr); 95 | }//GEN-LAST:event_jLabel1MouseEntered 96 | 97 | private void jLabel1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseExited 98 | // TODO add your handling code here: 99 | Color clr = new Color(0,153,153); 100 | jPanel3.setBackground(clr); 101 | }//GEN-LAST:event_jLabel1MouseExited 102 | 103 | /** 104 | * @param args the command line arguments 105 | */ 106 | public static void main(String args[]) { 107 | /* Set the Nimbus look and feel */ 108 | // 109 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 110 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 111 | */ 112 | try { 113 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 114 | if ("Nimbus".equals(info.getName())) { 115 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 116 | break; 117 | } 118 | } 119 | } catch (ClassNotFoundException ex) { 120 | java.util.logging.Logger.getLogger(home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 121 | } catch (InstantiationException ex) { 122 | java.util.logging.Logger.getLogger(home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 123 | } catch (IllegalAccessException ex) { 124 | java.util.logging.Logger.getLogger(home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 125 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 126 | java.util.logging.Logger.getLogger(home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 127 | } 128 | // 129 | 130 | /* Create and display the form */ 131 | java.awt.EventQueue.invokeLater(new Runnable() { 132 | public void run() { 133 | new home().setVisible(true); 134 | } 135 | }); 136 | } 137 | 138 | // Variables declaration - do not modify//GEN-BEGIN:variables 139 | private javax.swing.JLabel jLabel1; 140 | private javax.swing.JPanel jPanel1; 141 | private javax.swing.JPanel jPanel2; 142 | private javax.swing.JPanel jPanel3; 143 | // End of variables declaration//GEN-END:variables 144 | } 145 | -------------------------------------------------------------------------------- /src/fees_management/home.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /src/fees_management/login.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package fees_management; 7 | 8 | import java.sql.Connection; 9 | import java.sql.DriverManager; 10 | import java.sql.PreparedStatement; 11 | import java.sql.ResultSet; 12 | import javax.swing.JOptionPane; 13 | 14 | /** 15 | * 16 | * @author Abhishek Prasad 17 | */ 18 | public class login extends javax.swing.JFrame { 19 | 20 | /** 21 | * Creates new form login 22 | */ 23 | public login() { 24 | initComponents(); 25 | } 26 | 27 | void userVerification(String Username, String Password) 28 | { 29 | try 30 | { 31 | Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); 32 | Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/Fees_management","root","root"); 33 | String sql = "select * from signup where Username = ? and Password = ?"; 34 | PreparedStatement pst = con.prepareStatement(sql); 35 | pst.setString(1, Username); 36 | pst.setString(2, Password); 37 | ResultSet rs = pst.executeQuery(); 38 | if (rs.next()) 39 | { 40 | feeslogin fees = new feeslogin(); 41 | fees.show(); 42 | this.dispose(); 43 | } 44 | else 45 | { 46 | JOptionPane.showMessageDialog(this, "Wrong Username or Password"); 47 | } 48 | 49 | } 50 | catch (Exception e) 51 | { 52 | 53 | } 54 | } 55 | 56 | /** 57 | * This method is called from within the constructor to initialize the form. 58 | * WARNING: Do NOT modify this code. The content of this method is always 59 | * regenerated by the Form Editor. 60 | */ 61 | @SuppressWarnings("unchecked") 62 | // //GEN-BEGIN:initComponents 63 | private void initComponents() { 64 | 65 | jPanel1 = new javax.swing.JPanel(); 66 | jLabel3 = new javax.swing.JLabel(); 67 | jLabel4 = new javax.swing.JLabel(); 68 | txt_username = new javax.swing.JTextField(); 69 | txt_pass = new javax.swing.JPasswordField(); 70 | btn_signup = new javax.swing.JButton(); 71 | btn_exit = new javax.swing.JButton(); 72 | btn_login = new javax.swing.JButton(); 73 | txt_error = new javax.swing.JLabel(); 74 | jPanel2 = new javax.swing.JPanel(); 75 | jLabel1 = new javax.swing.JLabel(); 76 | jLabel2 = new javax.swing.JLabel(); 77 | 78 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 79 | getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 80 | 81 | jPanel1.setBackground(new java.awt.Color(0, 153, 153)); 82 | jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 83 | 84 | jLabel3.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 85 | jLabel3.setForeground(new java.awt.Color(255, 255, 255)); 86 | jLabel3.setText("Enter Password :"); 87 | jPanel1.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 170, 220, 50)); 88 | 89 | jLabel4.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 90 | jLabel4.setForeground(new java.awt.Color(255, 255, 255)); 91 | jLabel4.setText("Enter Username :"); 92 | jPanel1.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 80, 220, 50)); 93 | 94 | txt_username.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N 95 | jPanel1.add(txt_username, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 90, 310, 40)); 96 | 97 | txt_pass.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 98 | jPanel1.add(txt_pass, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 180, 250, 40)); 99 | 100 | btn_signup.setBackground(new java.awt.Color(0, 51, 51)); 101 | btn_signup.setFont(new java.awt.Font("Times New Roman", 1, 21)); // NOI18N 102 | btn_signup.setForeground(new java.awt.Color(255, 255, 255)); 103 | btn_signup.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fees_management/imges/signup.png"))); // NOI18N 104 | btn_signup.setText("Signup"); 105 | btn_signup.addActionListener(new java.awt.event.ActionListener() { 106 | public void actionPerformed(java.awt.event.ActionEvent evt) { 107 | btn_signupActionPerformed(evt); 108 | } 109 | }); 110 | jPanel1.add(btn_signup, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 330, 150, 60)); 111 | 112 | btn_exit.setBackground(new java.awt.Color(0, 51, 51)); 113 | btn_exit.setFont(new java.awt.Font("Times New Roman", 1, 21)); // NOI18N 114 | btn_exit.setForeground(new java.awt.Color(255, 255, 255)); 115 | btn_exit.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fees_management/imges/exit.png"))); // NOI18N 116 | btn_exit.setText("Exit"); 117 | btn_exit.addActionListener(new java.awt.event.ActionListener() { 118 | public void actionPerformed(java.awt.event.ActionEvent evt) { 119 | btn_exitActionPerformed(evt); 120 | } 121 | }); 122 | jPanel1.add(btn_exit, new org.netbeans.lib.awtextra.AbsoluteConstraints(530, 330, 150, 60)); 123 | 124 | btn_login.setBackground(new java.awt.Color(0, 51, 51)); 125 | btn_login.setFont(new java.awt.Font("Times New Roman", 1, 21)); // NOI18N 126 | btn_login.setForeground(new java.awt.Color(255, 255, 255)); 127 | btn_login.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fees_management/imges/login.png"))); // NOI18N 128 | btn_login.setText("Login"); 129 | btn_login.addActionListener(new java.awt.event.ActionListener() { 130 | public void actionPerformed(java.awt.event.ActionEvent evt) { 131 | btn_loginActionPerformed(evt); 132 | } 133 | }); 134 | jPanel1.add(btn_login, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 330, 150, 60)); 135 | 136 | txt_error.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 137 | txt_error.setForeground(new java.awt.Color(255, 51, 51)); 138 | jPanel1.add(txt_error, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 280, 460, 30)); 139 | 140 | getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 120, 720, 440)); 141 | 142 | jPanel2.setBackground(new java.awt.Color(0, 51, 51)); 143 | jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 144 | 145 | jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 48)); // NOI18N 146 | jLabel1.setForeground(new java.awt.Color(255, 255, 255)); 147 | jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fees_management/imges/admin.png"))); // NOI18N 148 | jPanel2.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 20, 70, 80)); 149 | 150 | jLabel2.setFont(new java.awt.Font("Times New Roman", 1, 48)); // NOI18N 151 | jLabel2.setForeground(new java.awt.Color(255, 255, 255)); 152 | jLabel2.setText("Login"); 153 | jPanel2.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 30, 130, 60)); 154 | 155 | getContentPane().add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 720, 120)); 156 | 157 | setSize(new java.awt.Dimension(740, 602)); 158 | setLocationRelativeTo(null); 159 | }// //GEN-END:initComponents 160 | 161 | private void btn_loginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_loginActionPerformed 162 | String Username = txt_username.getText(); 163 | String Password = txt_pass.getText(); 164 | 165 | if (Username.trim().equals("")||Password.trim().equals("")) 166 | { 167 | txt_error.setText("Please Enter Username and Password"); 168 | 169 | } 170 | else 171 | { 172 | userVerification(Username, Password); 173 | } 174 | }//GEN-LAST:event_btn_loginActionPerformed 175 | 176 | private void btn_signupActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_signupActionPerformed 177 | // TODO add your handling code here: 178 | Sign_Up_Page signup = new Sign_Up_Page(); 179 | signup.show(); 180 | this.dispose(); 181 | }//GEN-LAST:event_btn_signupActionPerformed 182 | 183 | private void btn_exitActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_exitActionPerformed 184 | // TODO add your handling code here: 185 | System.exit(0); 186 | }//GEN-LAST:event_btn_exitActionPerformed 187 | 188 | /** 189 | * @param args the command line arguments 190 | */ 191 | public static void main(String args[]) { 192 | /* Set the Nimbus look and feel */ 193 | // 194 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 195 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 196 | */ 197 | try { 198 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 199 | if ("Nimbus".equals(info.getName())) { 200 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 201 | break; 202 | } 203 | } 204 | } catch (ClassNotFoundException ex) { 205 | java.util.logging.Logger.getLogger(login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 206 | } catch (InstantiationException ex) { 207 | java.util.logging.Logger.getLogger(login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 208 | } catch (IllegalAccessException ex) { 209 | java.util.logging.Logger.getLogger(login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 210 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 211 | java.util.logging.Logger.getLogger(login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 212 | } 213 | // 214 | 215 | /* Create and display the form */ 216 | java.awt.EventQueue.invokeLater(new Runnable() { 217 | public void run() { 218 | new login().setVisible(true); 219 | } 220 | }); 221 | } 222 | 223 | // Variables declaration - do not modify//GEN-BEGIN:variables 224 | private javax.swing.JButton btn_exit; 225 | private javax.swing.JButton btn_login; 226 | private javax.swing.JButton btn_signup; 227 | private javax.swing.JLabel jLabel1; 228 | private javax.swing.JLabel jLabel2; 229 | private javax.swing.JLabel jLabel3; 230 | private javax.swing.JLabel jLabel4; 231 | private javax.swing.JPanel jPanel1; 232 | private javax.swing.JPanel jPanel2; 233 | private javax.swing.JLabel txt_error; 234 | private javax.swing.JPasswordField txt_pass; 235 | private javax.swing.JTextField txt_username; 236 | // End of variables declaration//GEN-END:variables 237 | 238 | } 239 | -------------------------------------------------------------------------------- /src/fees_management/login.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | -------------------------------------------------------------------------------- /src/fees_management/feeslogin.java: -------------------------------------------------------------------------------- 1 | package fees_management; 2 | 3 | 4 | import java.util.Date; 5 | import javax.swing.JOptionPane; 6 | import java.sql.*; 7 | import static jdk.nashorn.internal.runtime.Debug.id; 8 | /* 9 | * To change this license header, choose License Headers in Project Properties. 10 | * To change this template file, choose Tools | Templates 11 | * and open the template in the editor. 12 | */ 13 | 14 | /** 15 | * 16 | * @author Abhishek Prasad 17 | */ 18 | public class feeslogin extends javax.swing.JFrame { 19 | Connection con=null; 20 | PreparedStatement stat; 21 | 22 | 23 | public feeslogin() { 24 | 25 | initComponents(); 26 | 27 | 28 | } 29 | 30 | /** 31 | * This method is called from within the constructor to initialize the form. 32 | * WARNING: Do NOT modify this code. The content of this method is always 33 | * regenerated by the Form Editor. 34 | */ 35 | @SuppressWarnings("unchecked") 36 | // 37 | private void initComponents() { 38 | 39 | jLabel1 = new javax.swing.JLabel(); 40 | jLabel2 = new javax.swing.JLabel(); 41 | jLabel3 = new javax.swing.JLabel(); 42 | jLabel4 = new javax.swing.JLabel(); 43 | jLabel5 = new javax.swing.JLabel(); 44 | jLabel6 = new javax.swing.JLabel(); 45 | jLabel7 = new javax.swing.JLabel(); 46 | jButton1 = new javax.swing.JButton(); 47 | save = new javax.swing.JButton(); 48 | name = new javax.swing.JTextField(); 49 | address = new javax.swing.JTextField(); 50 | year = new javax.swing.JTextField(); 51 | fee = new javax.swing.JTextField(); 52 | paid = new javax.swing.JTextField(); 53 | balance = new javax.swing.JTextField(); 54 | jScrollPane1 = new javax.swing.JScrollPane(); 55 | area = new javax.swing.JTextArea(); 56 | roll = new javax.swing.JLabel(); 57 | rollno = new javax.swing.JTextField(); 58 | reset = new javax.swing.JButton(); 59 | print = new javax.swing.JButton(); 60 | 61 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 62 | 63 | jLabel1.setFont(new java.awt.Font("Times New Roman", 0, 48)); // NOI18N 64 | jLabel1.setText("Fees Receipt System"); 65 | 66 | jLabel2.setFont(new java.awt.Font("Times New Roman", 0, 22)); // NOI18N 67 | jLabel2.setText("Enter Student Name:"); 68 | 69 | jLabel3.setFont(new java.awt.Font("Times New Roman", 0, 22)); // NOI18N 70 | jLabel3.setText("Enter Student Address:"); 71 | 72 | jLabel4.setFont(new java.awt.Font("Times New Roman", 0, 22)); // NOI18N 73 | jLabel4.setText("Enter Student Year :"); 74 | 75 | jLabel5.setFont(new java.awt.Font("Times New Roman", 0, 22)); // NOI18N 76 | jLabel5.setText("Enter Fee Amount :"); 77 | 78 | jLabel6.setFont(new java.awt.Font("Times New Roman", 0, 22)); // NOI18N 79 | jLabel6.setText("Enter Paid Amount :"); 80 | 81 | jLabel7.setFont(new java.awt.Font("Times New Roman", 0, 22)); // NOI18N 82 | jLabel7.setText("Enter Balance Amount :"); 83 | 84 | jButton1.setText("Generate Receipt"); 85 | jButton1.addActionListener(new java.awt.event.ActionListener() { 86 | public void actionPerformed(java.awt.event.ActionEvent evt) { 87 | jButton1ActionPerformed(evt); 88 | } 89 | }); 90 | 91 | save.setText("Save Details"); 92 | save.addActionListener(new java.awt.event.ActionListener() { 93 | public void actionPerformed(java.awt.event.ActionEvent evt) { 94 | saveActionPerformed(evt); 95 | } 96 | }); 97 | 98 | area.setColumns(20); 99 | area.setFont(new java.awt.Font("Monospaced", 0, 12)); // NOI18N 100 | area.setRows(5); 101 | jScrollPane1.setViewportView(area); 102 | 103 | roll.setFont(new java.awt.Font("Times New Roman", 0, 22)); // NOI18N 104 | roll.setText("Roll no:"); 105 | 106 | rollno.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N 107 | rollno.addActionListener(new java.awt.event.ActionListener() { 108 | public void actionPerformed(java.awt.event.ActionEvent evt) { 109 | rollnoActionPerformed(evt); 110 | } 111 | }); 112 | 113 | reset.setText("Reset"); 114 | reset.addActionListener(new java.awt.event.ActionListener() { 115 | public void actionPerformed(java.awt.event.ActionEvent evt) { 116 | resetActionPerformed(evt); 117 | } 118 | }); 119 | 120 | print.setText("Print"); 121 | print.addActionListener(new java.awt.event.ActionListener() { 122 | public void actionPerformed(java.awt.event.ActionEvent evt) { 123 | printActionPerformed(evt); 124 | } 125 | }); 126 | 127 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 128 | getContentPane().setLayout(layout); 129 | layout.setHorizontalGroup( 130 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 131 | .addGroup(layout.createSequentialGroup() 132 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 133 | .addGroup(layout.createSequentialGroup() 134 | .addGap(41, 41, 41) 135 | .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE) 136 | .addGap(101, 101, 101) 137 | .addComponent(save, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE) 138 | .addGap(100, 100, 100) 139 | .addComponent(reset, javax.swing.GroupLayout.PREFERRED_SIZE, 165, javax.swing.GroupLayout.PREFERRED_SIZE) 140 | .addGap(96, 96, 96) 141 | .addComponent(print, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE)) 142 | .addGroup(layout.createSequentialGroup() 143 | .addGap(31, 31, 31) 144 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 145 | .addGroup(layout.createSequentialGroup() 146 | .addComponent(roll) 147 | .addGap(18, 18, 18) 148 | .addComponent(rollno, javax.swing.GroupLayout.PREFERRED_SIZE, 232, javax.swing.GroupLayout.PREFERRED_SIZE) 149 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 120, Short.MAX_VALUE) 150 | .addComponent(jLabel1) 151 | .addGap(414, 414, 414)) 152 | .addGroup(layout.createSequentialGroup() 153 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) 154 | .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 211, Short.MAX_VALUE) 155 | .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 156 | .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 157 | .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 158 | .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 159 | .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 160 | .addGap(18, 18, 18) 161 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 162 | .addComponent(name) 163 | .addComponent(address) 164 | .addComponent(year) 165 | .addComponent(fee) 166 | .addComponent(balance, javax.swing.GroupLayout.DEFAULT_SIZE, 571, Short.MAX_VALUE) 167 | .addComponent(paid)) 168 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 169 | .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 443, javax.swing.GroupLayout.PREFERRED_SIZE))))) 170 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 171 | ); 172 | layout.setVerticalGroup( 173 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 174 | .addGroup(layout.createSequentialGroup() 175 | .addContainerGap() 176 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 177 | .addGroup(layout.createSequentialGroup() 178 | .addComponent(roll, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 179 | .addGap(5, 5, 5)) 180 | .addGroup(layout.createSequentialGroup() 181 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 182 | .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE) 183 | .addComponent(rollno, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)) 184 | .addGap(0, 21, Short.MAX_VALUE))) 185 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 186 | .addGroup(layout.createSequentialGroup() 187 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 188 | .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE) 189 | .addGroup(layout.createSequentialGroup() 190 | .addComponent(name) 191 | .addGap(3, 3, 3))) 192 | .addGap(32, 32, 32) 193 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 194 | .addComponent(address) 195 | .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 33, Short.MAX_VALUE)) 196 | .addGap(36, 36, 36) 197 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 198 | .addComponent(year) 199 | .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, 33, Short.MAX_VALUE)) 200 | .addGap(35, 35, 35) 201 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 202 | .addComponent(fee) 203 | .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, 31, Short.MAX_VALUE)) 204 | .addGap(31, 31, 31) 205 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 206 | .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, 33, Short.MAX_VALUE) 207 | .addComponent(paid)) 208 | .addGap(31, 31, 31) 209 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 210 | .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 33, Short.MAX_VALUE) 211 | .addComponent(balance))) 212 | .addComponent(jScrollPane1)) 213 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) 214 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 215 | .addGroup(layout.createSequentialGroup() 216 | .addGap(5, 5, 5) 217 | .addComponent(print, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 218 | .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, 37, Short.MAX_VALUE) 219 | .addComponent(save, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 220 | .addComponent(reset, javax.swing.GroupLayout.DEFAULT_SIZE, 37, Short.MAX_VALUE)) 221 | .addContainerGap()) 222 | ); 223 | 224 | pack(); 225 | }// 226 | 227 | private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { 228 | // TODO add your handling code here: 229 | 230 | area.setText("****************************************\n"); 231 | area.setText(area.getText()+" Fees Receipt \n"); 232 | area.setText(area.getText()+"***************************************\n"); 233 | 234 | 235 | Date obj= new Date(); 236 | String date= obj.toString(); 237 | area.setText(area.getText()+"\n"+date+"\n\n"); 238 | area.setText(area.getText()+"Roll No: "+rollno.getText()+"\n\n"); 239 | area.setText(area.getText()+"Student Name: "+name.getText()+"\n\n"); 240 | area.setText(area.getText()+"Student Address:"+address.getText()+"\n\n"); 241 | area.setText(area.getText()+"Student Year:"+year.getText()+"\n\n"); 242 | area.setText(area.getText()+"Fee Amount:"+fee.getText()+"\n\n"); 243 | area.setText(area.getText()+"Paid Amount:"+paid.getText()+"\n\n"); 244 | area.setText(area.getText()+"Balance Amount:"+balance.getText()+"\n"); 245 | area.setText(area.getText()+"\n Signature"); 246 | 247 | } 248 | 249 | private void saveActionPerformed(java.awt.event.ActionEvent evt) { 250 | // TODO add your handling code here: 251 | Date d=new Date(); 252 | java.sql.Date d1=new java.sql.Date(d.getTime()); 253 | try{ 254 | Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); 255 | con = DriverManager.getConnection("jdbc:derby://localhost:1527/Fees_receipt","root","root"); 256 | stat =con.prepareStatement("Insert into Reciept (ROLLNO, NAME ,ADDRESS, CURRENTYEAR , FEES, PAID, BALANCE )values(?,?,?,?,?,?,?)"); 257 | stat.setString(1, rollno.getText()); 258 | stat.setString(2, name.getText()); 259 | stat.setString(3, address.getText()); 260 | stat.setString(4, year.getText()); 261 | stat.setString(5, fee.getText()); 262 | stat.setString(6, paid.getText()); 263 | stat.setString(7, balance.getText()); 264 | 265 | 266 | stat.execute(); 267 | JOptionPane.showMessageDialog(null, "Saved"); 268 | } 269 | catch(Exception e) 270 | { 271 | JOptionPane.showMessageDialog(null, e); 272 | } 273 | } 274 | 275 | private void resetActionPerformed(java.awt.event.ActionEvent evt) { 276 | // TODO add your handling code here: 277 | rollno.setText(""); 278 | area.setText(""); 279 | name.setText(""); 280 | address.setText(""); 281 | year.setText(""); 282 | fee.setText(""); 283 | paid.setText(""); 284 | balance.setText(""); 285 | 286 | } 287 | 288 | private void printActionPerformed(java.awt.event.ActionEvent evt) { 289 | // TODO add your handling code here: 290 | try{ 291 | area.print(); 292 | } 293 | catch(Exception e){ 294 | 295 | } 296 | } 297 | 298 | private void rollnoActionPerformed(java.awt.event.ActionEvent evt) { 299 | // TODO add your handling code here: 300 | } 301 | 302 | 303 | public static void main(String args[]) { 304 | /* Set the Nimbus look and feel */ 305 | // 306 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 307 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 308 | */ 309 | try { 310 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 311 | if ("Nimbus".equals(info.getName())) { 312 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 313 | break; 314 | } 315 | } 316 | } catch (ClassNotFoundException ex) { 317 | java.util.logging.Logger.getLogger(feeslogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 318 | } catch (InstantiationException ex) { 319 | java.util.logging.Logger.getLogger(feeslogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 320 | } catch (IllegalAccessException ex) { 321 | java.util.logging.Logger.getLogger(feeslogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 322 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 323 | java.util.logging.Logger.getLogger(feeslogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 324 | } 325 | // 326 | 327 | /* Create and display the form */ 328 | java.awt.EventQueue.invokeLater(new Runnable() { 329 | public void run() { 330 | new feeslogin().setVisible(true); 331 | } 332 | }); 333 | } 334 | 335 | // Variables declaration - do not modify 336 | private javax.swing.JTextField address; 337 | private javax.swing.JTextArea area; 338 | private javax.swing.JTextField balance; 339 | private javax.swing.JTextField fee; 340 | private javax.swing.JButton jButton1; 341 | private javax.swing.JLabel jLabel1; 342 | private javax.swing.JLabel jLabel2; 343 | private javax.swing.JLabel jLabel3; 344 | private javax.swing.JLabel jLabel4; 345 | private javax.swing.JLabel jLabel5; 346 | private javax.swing.JLabel jLabel6; 347 | private javax.swing.JLabel jLabel7; 348 | private javax.swing.JScrollPane jScrollPane1; 349 | private javax.swing.JTextField name; 350 | private javax.swing.JTextField paid; 351 | private javax.swing.JButton print; 352 | private javax.swing.JButton reset; 353 | private javax.swing.JLabel roll; 354 | private javax.swing.JTextField rollno; 355 | private javax.swing.JButton save; 356 | private javax.swing.JTextField year; 357 | // End of variables declaration 358 | } 359 | 360 | -------------------------------------------------------------------------------- /src/fees_management/Sign_Up_Page.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package fees_management; 7 | 8 | import java.sql.Connection; 9 | import java.sql.DriverManager; 10 | import java.sql.PreparedStatement; 11 | import java.sql.ResultSet; 12 | import java.sql.Statement; 13 | import java.text.SimpleDateFormat; 14 | import java.util.Date; 15 | import javax.swing.JOptionPane; 16 | 17 | /** 18 | * 19 | * @author Abhishek Prasad 20 | */ 21 | public class Sign_Up_Page extends javax.swing.JFrame { 22 | 23 | /** 24 | * Creates new form Sign_Up_Page 25 | */ 26 | String fname,lname,uname,pass,conf_pass,cont_no; 27 | Date dob; 28 | int id = 0; 29 | public Sign_Up_Page() { 30 | initComponents(); 31 | } 32 | 33 | public int getId() 34 | {ResultSet rs = null; 35 | try { 36 | Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); 37 | Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/Fees_management","root","root"); 38 | String sql = "select max(id) from signup"; 39 | Statement st = con.createStatement(); 40 | rs = st.executeQuery(sql); 41 | while (rs.next()) 42 | { 43 | id = rs.getInt(1); 44 | id++; 45 | } 46 | 47 | }catch (Exception e) 48 | { 49 | e.printStackTrace(); 50 | } 51 | return id; 52 | 53 | } 54 | 55 | boolean validation() 56 | { 57 | 58 | fname = txt_firstname.getText(); 59 | lname = txt_lastname.getText(); 60 | uname = txt_username.getText(); 61 | pass = txt_pass.getText(); 62 | conf_pass = txt_confpass.getText(); 63 | cont_no = txt_contact.getText(); 64 | dob = date_chooser.getDate(); 65 | 66 | if(fname.equals("")) 67 | { 68 | JOptionPane.showMessageDialog(this, "Please Enter FirstName."); 69 | return false; 70 | } 71 | 72 | if(lname.equals("")) 73 | { 74 | JOptionPane.showMessageDialog(this, "Please Enter LastName."); 75 | return false; 76 | } 77 | 78 | 79 | if(uname.equals("")) 80 | { 81 | JOptionPane.showMessageDialog(this, "Please Enter UserName."); 82 | return false; 83 | } 84 | 85 | if(pass.equals("")) 86 | { 87 | JOptionPane.showMessageDialog(this, "Please Enter Password."); 88 | return false; 89 | } 90 | 91 | if(conf_pass.equals("")) 92 | { 93 | JOptionPane.showMessageDialog(this, "Please Enter Confirm Password."); 94 | return false; 95 | } 96 | 97 | if(cont_no.equals("")) 98 | { 99 | JOptionPane.showMessageDialog(this, "Please Enter Contact Number."); 100 | return false; 101 | } 102 | 103 | 104 | if(dob.equals(null)) 105 | { 106 | JOptionPane.showMessageDialog(this, "Please Enter Date Of Birth."); 107 | return false; 108 | } 109 | 110 | if(pass.length()<8) 111 | { 112 | pass_error.setText("Password Should be of 8 digits."); 113 | return false; 114 | } 115 | 116 | if(!pass.equals(conf_pass)) 117 | { 118 | JOptionPane.showMessageDialog(this, "Password Not Matched."); 119 | return false; 120 | 121 | } 122 | return true; 123 | 124 | } 125 | 126 | public void checkPassword() 127 | { 128 | pass = txt_pass.getText(); 129 | if (pass.length()<8) { 130 | 131 | pass_error.setText("Password should be of 8 digits."); 132 | } 133 | else 134 | { 135 | pass_error.setText(""); 136 | } 137 | } 138 | 139 | 140 | 141 | public void checkContactNo() 142 | { 143 | cont_no = txt_contact.getText(); 144 | if (cont_no.length()==10) 145 | { 146 | cont_error.setText(""); 147 | } 148 | else 149 | { 150 | cont_error.setText("Contact No should be of 10 digits."); 151 | } 152 | } 153 | 154 | void insertDetails() 155 | { 156 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); 157 | String myDob = format.format(dob); 158 | try{ 159 | Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); 160 | Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/Fees_management","root","root"); 161 | String sql = "insert into signup values(?,?,?,?,?,?,?)"; 162 | PreparedStatement stmt = con.prepareStatement(sql); 163 | stmt.setInt(1,getId() ); 164 | stmt.setString(2, fname); 165 | stmt.setString(3, lname); 166 | stmt.setString(4, uname); 167 | stmt.setString(5, pass); 168 | stmt.setString(6, myDob); 169 | stmt.setString(7, cont_no); 170 | 171 | int i =stmt.executeUpdate(); 172 | if (i > 0) 173 | { 174 | JOptionPane.showMessageDialog(this, "Record Inserted"); 175 | } 176 | else 177 | { 178 | JOptionPane.showMessageDialog(this, "Record Not Inserted"); 179 | } 180 | } catch (Exception e) 181 | { 182 | e.printStackTrace(); 183 | } 184 | } 185 | 186 | /** 187 | * This method is called from within the constructor to initialize the form. 188 | * WARNING: Do NOT modify this code. The content of this method is always 189 | * regenerated by the Form Editor. 190 | */ 191 | @SuppressWarnings("unchecked") 192 | // //GEN-BEGIN:initComponents 193 | private void initComponents() { 194 | 195 | jPanel1 = new javax.swing.JPanel(); 196 | jLabel1 = new javax.swing.JLabel(); 197 | jPanel2 = new javax.swing.JPanel(); 198 | jLabel2 = new javax.swing.JLabel(); 199 | jLabel3 = new javax.swing.JLabel(); 200 | jLabel4 = new javax.swing.JLabel(); 201 | jLabel5 = new javax.swing.JLabel(); 202 | jLabel6 = new javax.swing.JLabel(); 203 | jLabel7 = new javax.swing.JLabel(); 204 | jLabel8 = new javax.swing.JLabel(); 205 | txt_lastname = new javax.swing.JTextField(); 206 | txt_username = new javax.swing.JTextField(); 207 | txt_contact = new javax.swing.JTextField(); 208 | txt_firstname = new javax.swing.JTextField(); 209 | txt_confpass = new javax.swing.JPasswordField(); 210 | txt_pass = new javax.swing.JPasswordField(); 211 | txt_login = new javax.swing.JButton(); 212 | txt_signup = new javax.swing.JButton(); 213 | date_chooser = new com.toedter.calendar.JDateChooser(); 214 | pass_error = new javax.swing.JLabel(); 215 | cont_error = new javax.swing.JLabel(); 216 | 217 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 218 | getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 219 | 220 | jPanel1.setBackground(new java.awt.Color(139, 0, 21)); 221 | 222 | jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 36)); // NOI18N 223 | jLabel1.setForeground(new java.awt.Color(255, 255, 255)); 224 | jLabel1.setText("Sign Up"); 225 | 226 | javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); 227 | jPanel1.setLayout(jPanel1Layout); 228 | jPanel1Layout.setHorizontalGroup( 229 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 230 | .addGroup(jPanel1Layout.createSequentialGroup() 231 | .addGap(30, 30, 30) 232 | .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE) 233 | .addContainerGap(757, Short.MAX_VALUE)) 234 | ); 235 | jPanel1Layout.setVerticalGroup( 236 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 237 | .addGroup(jPanel1Layout.createSequentialGroup() 238 | .addGap(31, 31, 31) 239 | .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE) 240 | .addContainerGap(34, Short.MAX_VALUE)) 241 | ); 242 | 243 | getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 920, 110)); 244 | 245 | jPanel2.setBackground(new java.awt.Color(186, 4, 4)); 246 | 247 | jLabel2.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 248 | jLabel2.setForeground(new java.awt.Color(255, 255, 255)); 249 | jLabel2.setText("First Name:"); 250 | 251 | jLabel3.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 252 | jLabel3.setForeground(new java.awt.Color(255, 255, 255)); 253 | jLabel3.setText("Last Name:"); 254 | 255 | jLabel4.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 256 | jLabel4.setForeground(new java.awt.Color(255, 255, 255)); 257 | jLabel4.setText("UserName:"); 258 | 259 | jLabel5.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 260 | jLabel5.setForeground(new java.awt.Color(255, 255, 255)); 261 | jLabel5.setText("Confirm Password:"); 262 | 263 | jLabel6.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 264 | jLabel6.setForeground(new java.awt.Color(255, 255, 255)); 265 | jLabel6.setText("Password:"); 266 | 267 | jLabel7.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 268 | jLabel7.setForeground(new java.awt.Color(255, 255, 255)); 269 | jLabel7.setText("D.O.B:"); 270 | 271 | jLabel8.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 272 | jLabel8.setForeground(new java.awt.Color(255, 255, 255)); 273 | jLabel8.setText("Contact no:"); 274 | 275 | txt_lastname.addActionListener(new java.awt.event.ActionListener() { 276 | public void actionPerformed(java.awt.event.ActionEvent evt) { 277 | txt_lastnameActionPerformed(evt); 278 | } 279 | }); 280 | 281 | txt_username.addActionListener(new java.awt.event.ActionListener() { 282 | public void actionPerformed(java.awt.event.ActionEvent evt) { 283 | txt_usernameActionPerformed(evt); 284 | } 285 | }); 286 | 287 | txt_contact.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 288 | txt_contact.addActionListener(new java.awt.event.ActionListener() { 289 | public void actionPerformed(java.awt.event.ActionEvent evt) { 290 | txt_contactActionPerformed(evt); 291 | } 292 | }); 293 | txt_contact.addKeyListener(new java.awt.event.KeyAdapter() { 294 | public void keyPressed(java.awt.event.KeyEvent evt) { 295 | txt_contactKeyPressed(evt); 296 | } 297 | public void keyReleased(java.awt.event.KeyEvent evt) { 298 | txt_contactKeyReleased(evt); 299 | } 300 | }); 301 | 302 | txt_firstname.addActionListener(new java.awt.event.ActionListener() { 303 | public void actionPerformed(java.awt.event.ActionEvent evt) { 304 | txt_firstnameActionPerformed(evt); 305 | } 306 | }); 307 | 308 | txt_confpass.addActionListener(new java.awt.event.ActionListener() { 309 | public void actionPerformed(java.awt.event.ActionEvent evt) { 310 | txt_confpassActionPerformed(evt); 311 | } 312 | }); 313 | txt_confpass.addKeyListener(new java.awt.event.KeyAdapter() { 314 | public void keyPressed(java.awt.event.KeyEvent evt) { 315 | txt_confpassKeyPressed(evt); 316 | } 317 | }); 318 | 319 | txt_pass.addActionListener(new java.awt.event.ActionListener() { 320 | public void actionPerformed(java.awt.event.ActionEvent evt) { 321 | txt_passActionPerformed(evt); 322 | } 323 | }); 324 | txt_pass.addKeyListener(new java.awt.event.KeyAdapter() { 325 | public void keyPressed(java.awt.event.KeyEvent evt) { 326 | txt_passKeyPressed(evt); 327 | } 328 | public void keyReleased(java.awt.event.KeyEvent evt) { 329 | txt_passKeyReleased(evt); 330 | } 331 | }); 332 | 333 | txt_login.setBackground(new java.awt.Color(120, 0, 0)); 334 | txt_login.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 335 | txt_login.setForeground(new java.awt.Color(255, 255, 255)); 336 | txt_login.setText("Log In"); 337 | txt_login.addActionListener(new java.awt.event.ActionListener() { 338 | public void actionPerformed(java.awt.event.ActionEvent evt) { 339 | txt_loginActionPerformed(evt); 340 | } 341 | }); 342 | 343 | txt_signup.setBackground(new java.awt.Color(120, 0, 0)); 344 | txt_signup.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N 345 | txt_signup.setForeground(new java.awt.Color(255, 255, 255)); 346 | txt_signup.setText("SignUp"); 347 | txt_signup.addActionListener(new java.awt.event.ActionListener() { 348 | public void actionPerformed(java.awt.event.ActionEvent evt) { 349 | txt_signupActionPerformed(evt); 350 | } 351 | }); 352 | 353 | date_chooser.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N 354 | 355 | pass_error.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N 356 | pass_error.setForeground(new java.awt.Color(255, 255, 255)); 357 | 358 | cont_error.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N 359 | cont_error.setForeground(new java.awt.Color(255, 255, 255)); 360 | 361 | javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); 362 | jPanel2.setLayout(jPanel2Layout); 363 | jPanel2Layout.setHorizontalGroup( 364 | jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 365 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() 366 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 367 | .addGroup(jPanel2Layout.createSequentialGroup() 368 | .addGap(37, 37, 37) 369 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 370 | .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 371 | .addComponent(jLabel8) 372 | .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 373 | .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 374 | .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 375 | .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 376 | .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) 377 | .addGroup(jPanel2Layout.createSequentialGroup() 378 | .addGap(46, 46, 46) 379 | .addComponent(txt_signup, javax.swing.GroupLayout.PREFERRED_SIZE, 106, javax.swing.GroupLayout.PREFERRED_SIZE))) 380 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 381 | .addGroup(jPanel2Layout.createSequentialGroup() 382 | .addGap(223, 223, 223) 383 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 384 | .addGroup(jPanel2Layout.createSequentialGroup() 385 | .addComponent(txt_pass, javax.swing.GroupLayout.PREFERRED_SIZE, 209, javax.swing.GroupLayout.PREFERRED_SIZE) 386 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 387 | .addComponent(pass_error, javax.swing.GroupLayout.PREFERRED_SIZE, 227, javax.swing.GroupLayout.PREFERRED_SIZE) 388 | .addGap(16, 16, 16)) 389 | .addGroup(jPanel2Layout.createSequentialGroup() 390 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 391 | .addComponent(txt_lastname, javax.swing.GroupLayout.PREFERRED_SIZE, 267, javax.swing.GroupLayout.PREFERRED_SIZE) 392 | .addComponent(txt_firstname, javax.swing.GroupLayout.PREFERRED_SIZE, 267, javax.swing.GroupLayout.PREFERRED_SIZE) 393 | .addComponent(txt_username, javax.swing.GroupLayout.PREFERRED_SIZE, 267, javax.swing.GroupLayout.PREFERRED_SIZE) 394 | .addComponent(txt_confpass, javax.swing.GroupLayout.PREFERRED_SIZE, 209, javax.swing.GroupLayout.PREFERRED_SIZE) 395 | .addComponent(date_chooser, javax.swing.GroupLayout.PREFERRED_SIZE, 148, javax.swing.GroupLayout.PREFERRED_SIZE)) 396 | .addGap(0, 0, Short.MAX_VALUE)) 397 | .addGroup(jPanel2Layout.createSequentialGroup() 398 | .addComponent(txt_contact, javax.swing.GroupLayout.PREFERRED_SIZE, 182, javax.swing.GroupLayout.PREFERRED_SIZE) 399 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 37, Short.MAX_VALUE) 400 | .addComponent(cont_error, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))) 401 | .addContainerGap()) 402 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() 403 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 404 | .addComponent(txt_login, javax.swing.GroupLayout.PREFERRED_SIZE, 106, javax.swing.GroupLayout.PREFERRED_SIZE) 405 | .addGap(235, 235, 235)))) 406 | ); 407 | jPanel2Layout.setVerticalGroup( 408 | jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 409 | .addGroup(jPanel2Layout.createSequentialGroup() 410 | .addGap(32, 32, 32) 411 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 412 | .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) 413 | .addComponent(txt_firstname, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)) 414 | .addGap(31, 31, 31) 415 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) 416 | .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) 417 | .addComponent(txt_lastname, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)) 418 | .addGap(40, 40, 40) 419 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 420 | .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) 421 | .addComponent(txt_username, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)) 422 | .addGap(35, 35, 35) 423 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 424 | .addComponent(pass_error, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE) 425 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 426 | .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) 427 | .addComponent(txt_pass, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))) 428 | .addGap(35, 35, 35) 429 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 430 | .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) 431 | .addComponent(txt_confpass, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)) 432 | .addGap(42, 42, 42) 433 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 434 | .addComponent(jLabel7) 435 | .addComponent(date_chooser, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)) 436 | .addGap(46, 46, 46) 437 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 438 | .addComponent(cont_error, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) 439 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 440 | .addComponent(jLabel8) 441 | .addComponent(txt_contact, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))) 442 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 83, Short.MAX_VALUE) 443 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 444 | .addComponent(txt_login, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE) 445 | .addComponent(txt_signup, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)) 446 | .addContainerGap()) 447 | ); 448 | 449 | getContentPane().add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 110, 920, 640)); 450 | 451 | pack(); 452 | }// //GEN-END:initComponents 453 | 454 | private void txt_lastnameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_lastnameActionPerformed 455 | // TODO add your handling code here: 456 | }//GEN-LAST:event_txt_lastnameActionPerformed 457 | 458 | private void txt_usernameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_usernameActionPerformed 459 | // TODO add your handling code here: 460 | }//GEN-LAST:event_txt_usernameActionPerformed 461 | 462 | private void txt_contactActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_contactActionPerformed 463 | // TODO add your handling code here: 464 | }//GEN-LAST:event_txt_contactActionPerformed 465 | 466 | private void txt_firstnameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_firstnameActionPerformed 467 | // TODO add your handling code here: 468 | }//GEN-LAST:event_txt_firstnameActionPerformed 469 | 470 | private void txt_loginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_loginActionPerformed 471 | // TODO add your handling code here: 472 | login login = new login(); 473 | login.show(); 474 | this.dispose(); 475 | }//GEN-LAST:event_txt_loginActionPerformed 476 | 477 | private void txt_signupActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_signupActionPerformed 478 | if( validation()) 479 | { 480 | insertDetails(); 481 | } 482 | // TODO add your handling code here: 483 | }//GEN-LAST:event_txt_signupActionPerformed 484 | 485 | private void txt_passActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_passActionPerformed 486 | // TODO add your handling code here: 487 | }//GEN-LAST:event_txt_passActionPerformed 488 | 489 | private void txt_confpassActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txt_confpassActionPerformed 490 | // TODO add your handling code here: 491 | }//GEN-LAST:event_txt_confpassActionPerformed 492 | 493 | private void txt_passKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_passKeyPressed 494 | checkPassword(); // TODO add your handling code here: 495 | }//GEN-LAST:event_txt_passKeyPressed 496 | 497 | private void txt_confpassKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_confpassKeyPressed 498 | checkPassword(); // TODO add your handling code here: 499 | }//GEN-LAST:event_txt_confpassKeyPressed 500 | 501 | private void txt_passKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_passKeyReleased 502 | checkPassword(); // TODO add your handling code here: 503 | }//GEN-LAST:event_txt_passKeyReleased 504 | 505 | private void txt_contactKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_contactKeyReleased 506 | checkContactNo(); // TODO add your handling code here: 507 | }//GEN-LAST:event_txt_contactKeyReleased 508 | 509 | private void txt_contactKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_contactKeyPressed 510 | checkContactNo(); // TODO add your handling code here: 511 | }//GEN-LAST:event_txt_contactKeyPressed 512 | 513 | /** 514 | * @param args the command line arguments 515 | */ 516 | public static void main(String args[]) { 517 | /* Set the Nimbus look and feel */ 518 | // 519 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 520 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 521 | */ 522 | try { 523 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 524 | if ("Nimbus".equals(info.getName())) { 525 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 526 | break; 527 | } 528 | } 529 | } catch (ClassNotFoundException ex) { 530 | java.util.logging.Logger.getLogger(Sign_Up_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 531 | } catch (InstantiationException ex) { 532 | java.util.logging.Logger.getLogger(Sign_Up_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 533 | } catch (IllegalAccessException ex) { 534 | java.util.logging.Logger.getLogger(Sign_Up_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 535 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 536 | java.util.logging.Logger.getLogger(Sign_Up_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 537 | } 538 | // 539 | 540 | /* Create and display the form */ 541 | java.awt.EventQueue.invokeLater(new Runnable() { 542 | public void run() { 543 | new Sign_Up_Page().setVisible(true); 544 | } 545 | }); 546 | } 547 | 548 | // Variables declaration - do not modify//GEN-BEGIN:variables 549 | private javax.swing.JLabel cont_error; 550 | private com.toedter.calendar.JDateChooser date_chooser; 551 | private javax.swing.JLabel jLabel1; 552 | private javax.swing.JLabel jLabel2; 553 | private javax.swing.JLabel jLabel3; 554 | private javax.swing.JLabel jLabel4; 555 | private javax.swing.JLabel jLabel5; 556 | private javax.swing.JLabel jLabel6; 557 | private javax.swing.JLabel jLabel7; 558 | private javax.swing.JLabel jLabel8; 559 | private javax.swing.JPanel jPanel1; 560 | private javax.swing.JPanel jPanel2; 561 | private javax.swing.JLabel pass_error; 562 | private javax.swing.JPasswordField txt_confpass; 563 | private javax.swing.JTextField txt_contact; 564 | private javax.swing.JTextField txt_firstname; 565 | private javax.swing.JTextField txt_lastname; 566 | private javax.swing.JButton txt_login; 567 | private javax.swing.JPasswordField txt_pass; 568 | private javax.swing.JButton txt_signup; 569 | private javax.swing.JTextField txt_username; 570 | // End of variables declaration//GEN-END:variables 571 | 572 | } 573 | -------------------------------------------------------------------------------- /nbproject/build-impl.xml: -------------------------------------------------------------------------------- 1 | 2 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | Must set src.dir 233 | Must set test.src.dir 234 | Must set build.dir 235 | Must set dist.dir 236 | Must set build.classes.dir 237 | Must set dist.javadoc.dir 238 | Must set build.test.classes.dir 239 | Must set build.test.results.dir 240 | Must set build.classes.excludes 241 | Must set dist.jar 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | Must set javac.includes 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | No tests executed. 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | Must set JVM to use for profiling in profiler.info.jvm 722 | Must set profiler agent JVM arguments in profiler.info.jvmargs.agent 723 | 724 | 727 | 728 | 729 | 730 | 731 | 732 | 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 764 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 | 788 | 789 | 790 | 791 | 792 | 793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | 849 | 850 | 851 | 852 | 853 | 854 | 855 | 856 | 857 | 858 | 859 | 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | 869 | 870 | 871 | 872 | 873 | 874 | 875 | 876 | 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | 890 | 891 | 892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 | 928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 | 944 | 945 | 946 | 947 | 948 | 949 | 950 | Must select some files in the IDE or set javac.includes 951 | 952 | 953 | 954 | 955 | 956 | 957 | 958 | 959 | 964 | 965 | 966 | 967 | 968 | 969 | 970 | 971 | 972 | 973 | 974 | 975 | 976 | 977 | 978 | 979 | 980 | 981 | 982 | 983 | 984 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 992 | 993 | 994 | 995 | 996 | 997 | 998 | 999 | 1000 | To run this application from the command line without Ant, try: 1001 | 1002 | java -jar "${dist.jar.resolved}" 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | Must select one file in the IDE or set run.class 1050 | 1051 | 1052 | 1053 | Must select one file in the IDE or set run.class 1054 | 1055 | 1056 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 | 1067 | 1068 | 1069 | 1070 | 1071 | 1072 | 1073 | 1074 | 1075 | 1076 | 1077 | 1078 | 1079 | 1080 | Must select one file in the IDE or set debug.class 1081 | 1082 | 1083 | 1084 | 1085 | Must select one file in the IDE or set debug.class 1086 | 1087 | 1088 | 1089 | 1090 | Must set fix.includes 1091 | 1092 | 1093 | 1094 | 1095 | 1096 | 1097 | 1102 | 1105 | 1106 | This target only works when run from inside the NetBeans IDE. 1107 | 1108 | 1109 | 1110 | 1111 | 1112 | 1113 | 1114 | 1115 | Must select one file in the IDE or set profile.class 1116 | This target only works when run from inside the NetBeans IDE. 1117 | 1118 | 1119 | 1120 | 1121 | 1122 | 1123 | 1124 | 1125 | This target only works when run from inside the NetBeans IDE. 1126 | 1127 | 1128 | 1129 | 1130 | 1131 | 1132 | 1133 | 1134 | 1135 | 1136 | 1137 | 1138 | This target only works when run from inside the NetBeans IDE. 1139 | 1140 | 1141 | 1142 | 1143 | 1144 | 1145 | 1146 | 1147 | 1148 | 1149 | 1150 | 1151 | 1152 | 1153 | 1154 | 1155 | 1156 | 1157 | 1158 | 1159 | 1160 | 1163 | 1164 | 1165 | 1166 | 1167 | 1168 | 1169 | 1170 | 1171 | 1172 | 1173 | 1174 | 1175 | 1176 | Must select one file in the IDE or set run.class 1177 | 1178 | 1179 | 1180 | 1181 | 1182 | Must select some files in the IDE or set test.includes 1183 | 1184 | 1185 | 1186 | 1187 | Must select one file in the IDE or set run.class 1188 | 1189 | 1190 | 1191 | 1192 | Must select one file in the IDE or set applet.url 1193 | 1194 | 1195 | 1196 | 1201 | 1202 | 1203 | 1204 | 1205 | 1206 | 1207 | 1208 | 1209 | 1210 | 1211 | 1212 | 1213 | 1214 | 1215 | 1216 | 1217 | 1218 | 1219 | 1220 | 1221 | 1222 | 1223 | 1224 | 1225 | 1226 | 1227 | 1228 | 1229 | 1230 | 1231 | 1232 | 1233 | 1234 | 1235 | 1236 | 1237 | 1238 | 1239 | 1240 | 1245 | 1246 | 1247 | 1248 | 1249 | 1250 | 1251 | 1252 | 1253 | 1254 | 1255 | 1256 | 1257 | 1258 | 1259 | 1260 | 1261 | 1262 | 1263 | 1264 | 1265 | 1266 | 1267 | 1268 | 1269 | 1270 | 1271 | Must select some files in the IDE or set javac.includes 1272 | 1273 | 1274 | 1275 | 1276 | 1277 | 1278 | 1279 | 1280 | 1281 | 1282 | 1283 | 1288 | 1289 | 1290 | 1291 | 1292 | 1293 | 1294 | 1295 | Some tests failed; see details above. 1296 | 1297 | 1298 | 1299 | 1300 | 1301 | 1302 | 1303 | 1304 | Must select some files in the IDE or set test.includes 1305 | 1306 | 1307 | 1308 | Some tests failed; see details above. 1309 | 1310 | 1311 | 1312 | Must select some files in the IDE or set test.class 1313 | Must select some method in the IDE or set test.method 1314 | 1315 | 1316 | 1317 | Some tests failed; see details above. 1318 | 1319 | 1320 | 1325 | 1326 | Must select one file in the IDE or set test.class 1327 | 1328 | 1329 | 1330 | Must select one file in the IDE or set test.class 1331 | Must select some method in the IDE or set test.method 1332 | 1333 | 1334 | 1335 | 1336 | 1337 | 1338 | 1339 | 1340 | 1341 | 1342 | 1343 | 1348 | 1349 | Must select one file in the IDE or set applet.url 1350 | 1351 | 1352 | 1353 | 1354 | 1355 | 1356 | 1361 | 1362 | Must select one file in the IDE or set applet.url 1363 | 1364 | 1365 | 1366 | 1367 | 1368 | 1369 | 1370 | 1375 | 1376 | 1377 | 1378 | 1379 | 1380 | 1381 | 1382 | 1383 | 1384 | 1385 | 1386 | 1387 | 1388 | 1389 | 1390 | 1391 | 1392 | 1393 | 1394 | 1395 | 1396 | 1397 | 1398 | 1399 | 1400 | 1401 | 1402 | 1403 | 1404 | 1405 | 1406 | 1407 | 1408 | 1409 | 1410 | 1411 | 1412 | 1413 | 1414 | 1415 | 1416 | 1417 | 1418 | 1419 | 1420 | --------------------------------------------------------------------------------