Skip to content

Commit

Permalink
Merge pull request #14 from Shivi2401/main
Browse files Browse the repository at this point in the history
Sale Bill Update #12
  • Loading branch information
Kanav-Arora authored May 23, 2021
2 parents 3d17e83 + 61e5d88 commit e10c2ec
Show file tree
Hide file tree
Showing 24 changed files with 108 additions and 40 deletions.
4 changes: 2 additions & 2 deletions EndSem/build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Sat, 22 May 2021 19:58:40 +0530
#Sun, 23 May 2021 00:26:05 +0530


C\:\\Users\\Kanav\\Google\ Drive\ ([email protected])\\Git\ Files\\JavaCSEProject\\EndSem=
D\:\\COLLEGE\\CODING\\Github\ Repos\\Java-CSE-Project\\EndSem=
Binary file modified EndSem/build/classes/Frames/LedgerAccounts.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Login.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Main.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$1.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$10.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$11.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$12.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$2.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$3.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$4.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$5.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$6.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$7.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$8.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale$9.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Sale.class
Binary file not shown.
2 changes: 1 addition & 1 deletion EndSem/nbproject/private/private.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ do.jlink=false
javac.debug=true
javadoc.preview=true
jlink.strip=false
user.properties.file=C:\\Users\\Kanav\\AppData\\Roaming\\NetBeans\\12.0\\build.properties
user.properties.file=C:\\Users\\shivam\\AppData\\Roaming\\NetBeans\\12.0\\build.properties
9 changes: 5 additions & 4 deletions EndSem/nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/C:/Users/Kanav/Google%20Drive%20([email protected])/Git%20Files/JavaCSEProject/EndSem/src/Frames/Login.java</file>
<file>file:/C:/Users/Kanav/Google%20Drive%20([email protected])/Git%20Files/JavaCSEProject/EndSem/src/Frames/LedgerAccounts.java</file>
<file>file:/C:/Users/Kanav/Google%20Drive%20([email protected])/Git%20Files/JavaCSEProject/EndSem/src/Frames/Sale.java</file>
<file>file:/C:/Users/Kanav/Google%20Drive%20([email protected])/Git%20Files/JavaCSEProject/EndSem/src/Frames/Main.java</file>
<file>file:/D:/COLLEGE/CODING/Github%20Repos/Java-CSE-Project/EndSem/src/Frames/AccountSetup.java</file>
<file>file:/D:/COLLEGE/CODING/Github%20Repos/Java-CSE-Project/EndSem/src/Frames/Main.java</file>
<file>file:/D:/COLLEGE/CODING/Github%20Repos/Java-CSE-Project/EndSem/src/Frames/Sale.java</file>
<file>file:/D:/COLLEGE/CODING/Github%20Repos/Java-CSE-Project/EndSem/src/Frames/Login.java</file>
<file>file:/D:/COLLEGE/CODING/Github%20Repos/Java-CSE-Project/EndSem/src/Frames/LedgerAccounts.java</file>
</group>
</open-files>
</project-private>
4 changes: 2 additions & 2 deletions EndSem/src/Frames/LedgerAccounts.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public LedgerAccounts() {
try {

Class.forName("java.sql.DriverManager");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","bhulgaya123");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","Shivam@020401");
System.out.println("Connection is created successfully");
Statement stmt = (Statement) con.createStatement();
String query = "select acc_name from accounts where username = '"+username+"'";
Expand Down Expand Up @@ -630,7 +630,7 @@ private void jLabel8MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:eve
// TODO add your handling code here:

Class.forName("java.sql.DriverManager");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","bhulgaya123");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","Shivam@020401");
System.out.println("Connection is created successfully");
Statement stmt = (Statement) con.createStatement();
String query = "select count(*) from transactions WHERE username = '"+username+"' and acc_name = '"+acc +"'";
Expand Down
2 changes: 1 addition & 1 deletion EndSem/src/Frames/Login.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRS
{

Class.forName("java.sql.DriverManager");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","bhulgaya123");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","Shivam@020401");

Statement stmt = (Statement) con.createStatement();
String query = "select * from users";
Expand Down
2 changes: 1 addition & 1 deletion EndSem/src/Frames/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public Main() throws SQLException {


Class.forName("java.sql.DriverManager");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","bhulgaya123");
Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/jvp","root","Shivam@020401");

Statement stmt = (Statement) con.createStatement();
String query = "select name,gender from users where username = '"+username+"'";
Expand Down
2 changes: 1 addition & 1 deletion EndSem/src/Frames/Sale.form
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@
<Column editable="true" title="Item Name" type="java.lang.Object"/>
<Column editable="true" title="Pcs" type="java.lang.Integer"/>
<Column editable="true" title="Qty (kg)" type="java.lang.Float"/>
<Column editable="true" title="Net Rate" type="java.lang.Float"/>
<Column editable="true" title="Rate" type="java.lang.Float"/>
<Column editable="true" title="Net Rate" type="java.lang.Float"/>
<Column editable="false" title="Amount" type="java.lang.Float"/>
<Column editable="true" title="Discount" type="java.lang.Float"/>
<Column editable="true" title="Disc (%)" type="java.lang.Float"/>
Expand Down
Loading

0 comments on commit e10c2ec

Please sign in to comment.