Skip to content

Commit

Permalink
Bug Fixes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanav-Arora committed Jul 4, 2021
1 parent 8fa4edc commit 27ce0a8
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 15 deletions.
Binary file modified EndSem/build/classes/Frames/Analysis$1.class
Binary file not shown.
Binary file added EndSem/build/classes/Frames/Analysis$2.class
Binary file not shown.
Binary file modified EndSem/build/classes/Frames/Analysis.class
Binary file not shown.
33 changes: 28 additions & 5 deletions EndSem/build/classes/Frames/Analysis.form
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace min="35" pref="35" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jPanel4" max="32767" attributes="0"/>
<Component id="jPanel6" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="jLabel19" min="-2" pref="110" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jPanel4" max="32767" attributes="0"/>
<Component id="jPanel6" max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand All @@ -56,6 +60,9 @@
<Component id="jPanel4" min="-2" max="-2" attributes="0"/>
<EmptySpace min="18" pref="18" max="-2" attributes="0"/>
<Component id="jPanel6" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="151" max="32767" attributes="0"/>
<Component id="jLabel19" min="-2" pref="32" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="16" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down Expand Up @@ -321,6 +328,22 @@
</Component>
</SubComponents>
</Container>
<Component class="javax.swing.JLabel" name="jLabel19">
<Properties>
<Property name="horizontalAlignment" type="int" value="0"/>
<Property name="text" type="java.lang.String" value="Exit"/>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
<LineBorder roundedCorners="true" thickness="2">
<Color PropertyName="color" blue="66" green="66" red="66" type="rgb"/>
</LineBorder>
</Border>
</Property>
</Properties>
<Events>
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="jLabel19MouseClicked"/>
</Events>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel2">
Expand Down
6 changes: 5 additions & 1 deletion EndSem/nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<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/>
<group>
<file>file:/Users/kanavarora/Google%20Drive%20([email protected])/Git%20Files/JavaCSEProject/EndSem/src/Frames/Start.java</file>
<file>file:/Users/kanavarora/Google%20Drive%20([email protected])/Git%20Files/JavaCSEProject/EndSem/src/Frames/Login.java</file>
<file>file:/Users/kanavarora/Google%20Drive%20([email protected])/Git%20Files/JavaCSEProject/EndSem/src/Frames/Vouchers.java</file>
</group>
</open-files>
</project-private>
33 changes: 28 additions & 5 deletions EndSem/src/Frames/Analysis.form
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace min="35" pref="35" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jPanel4" max="32767" attributes="0"/>
<Component id="jPanel6" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="jLabel19" min="-2" pref="110" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jPanel4" max="32767" attributes="0"/>
<Component id="jPanel6" max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand All @@ -56,6 +60,9 @@
<Component id="jPanel4" min="-2" max="-2" attributes="0"/>
<EmptySpace min="18" pref="18" max="-2" attributes="0"/>
<Component id="jPanel6" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="151" max="32767" attributes="0"/>
<Component id="jLabel19" min="-2" pref="32" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="16" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down Expand Up @@ -321,6 +328,22 @@
</Component>
</SubComponents>
</Container>
<Component class="javax.swing.JLabel" name="jLabel19">
<Properties>
<Property name="horizontalAlignment" type="int" value="0"/>
<Property name="text" type="java.lang.String" value="Exit"/>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
<LineBorder roundedCorners="true" thickness="2">
<Color PropertyName="color" blue="66" green="66" red="66" type="rgb"/>
</LineBorder>
</Border>
</Property>
</Properties>
<Events>
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="jLabel19MouseClicked"/>
</Events>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel2">
Expand Down
34 changes: 30 additions & 4 deletions EndSem/src/Frames/Analysis.java
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ private void initComponents() {
jSeparator2 = new javax.swing.JSeparator();
jSeparator3 = new javax.swing.JSeparator();
jSeparator5 = new javax.swing.JSeparator();
jLabel19 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();

Expand Down Expand Up @@ -419,23 +420,38 @@ private void initComponents() {
jSeparator5.setOrientation(javax.swing.SwingConstants.VERTICAL);
jPanel6.add(jSeparator5, new org.netbeans.lib.awtextra.AbsoluteConstraints(370, 0, 13, 105));

jLabel19.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel19.setText("Exit");
jLabel19.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 2, true));
jLabel19.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jLabel19MouseClicked(evt);
}
});

javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(35, 35, 35)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
.addGap(35, 35, 35))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(19, 19, 19)
.addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 151, Short.MAX_VALUE)
.addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(16, 16, 16))
);

getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 31, 850, 560));
Expand Down Expand Up @@ -467,6 +483,15 @@ private void initComponents() {
setLocationRelativeTo(null);
}// </editor-fold>//GEN-END:initComponents

private void jLabel19MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel19MouseClicked
this.setVisible(false);
try {
new Main().setVisible(true);
} catch (SQLException ex) {
java.util.logging.Logger.getLogger(Vouchers.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
}//GEN-LAST:event_jLabel19MouseClicked

/**
* @param args the command line arguments
*/
Expand Down Expand Up @@ -505,6 +530,7 @@ public void run() {
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel19;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
Expand Down

0 comments on commit 27ce0a8

Please sign in to comment.