librejack

Blackjack clone written in java
git clone https://github.com/michaelneuper/librejack.git
README | Files | Log | Refs | LICENSE

commit 05273ed092d5263f500d253c7603a7e3c62b4872
parent 9e2fc3d8300cbf793b6683744b87d2c002534b32
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date:   Sun, 12 Feb 2023 22:09:01 +0200

Change javadocs

Diffstat:
Msrc/controller/LoginController.java | 18+++++++++++++-----
Msrc/view/LoginGUI.form | 119+++++++++++++++++++++++++++++++++++--------------------------------------------
Msrc/view/LoginGUI.java | 112+++++++++++++++++++++++++++++++++----------------------------------------------
3 files changed, 112 insertions(+), 137 deletions(-)

diff --git a/src/controller/LoginController.java b/src/controller/LoginController.java @@ -13,10 +13,17 @@ public class LoginController { public LoginController() { } - + /** + * Checks whether all the entered fields are present and valid + * + * @param email + * @param mobileNumber + * @param date + * @param password + * @return true if all fields are valid, false otherwise + */ public boolean areAllFieldsValid(String email, String mobileNumber, Date date, String password) { - return - isValidEmail(email) && + return isValidEmail(email) && isValidSouthAfricanMobileNumber(mobileNumber) && isValidDateAndAdult(date) && isValidPassword(password); @@ -85,7 +92,7 @@ public class LoginController { * Checks if a given date is valid and the person is at least 18 years old. * * @param date the date to be checked - * @return {@code true} if the date is valid and the person is at least 18 years old; {@code false} otherwise + * @return true if the date is valid and the person is at least 18 years old, false otherwise */ private static boolean isValidDateAndAdult(Date date) { // Check if the date is null @@ -109,6 +116,7 @@ public class LoginController { if (now.get(Calendar.MONTH) < dob.get(Calendar.MONTH) || (now.get(Calendar.MONTH) == dob.get(Calendar.MONTH) && now.get(Calendar.DAY_OF_MONTH) < dob.get(Calendar.DAY_OF_MONTH))) { age--; + } else { } if (age < 18) { JOptionPane.showMessageDialog(null, "You need to be at least 18 years old to gamble!"); @@ -127,7 +135,7 @@ public class LoginController { * - has at least 1 uppercase and lowercase letter * * @param password to be validated - * @return whether password is valid + * @return true if password is valid, false otherwise */ private boolean isValidPassword(String password) { boolean hasUpperCase = false; diff --git a/src/view/LoginGUI.form b/src/view/LoginGUI.form @@ -41,17 +41,13 @@ <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> - <EmptySpace min="43" pref="43" max="-2" attributes="0"/> - <Component id="jPanel1" min="-2" max="-2" attributes="0"/> - </Group> - <Group type="102" attributes="0"> - <EmptySpace min="235" pref="235" max="-2" attributes="0"/> - <Component id="jLabelWelcome" min="-2" max="-2" attributes="0"/> - </Group> - <Group type="102" alignment="0" attributes="0"> - <EmptySpace min="60" pref="60" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> + <EmptySpace min="43" pref="43" max="-2" attributes="0"/> + <Component id="jPanel1" min="-2" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="60" pref="60" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabelLogin" min="-2" max="-2" attributes="0"/> <Component id="jLabelUsername" min="-2" max="-2" attributes="0"/> @@ -66,14 +62,16 @@ <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jLabel6" min="-2" max="-2" attributes="0"/> + <Component id="jButtonVerify" alignment="0" min="-2" pref="204" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> - <Component id="jTextFieldUsername" min="-2" pref="215" max="-2" attributes="0"/> - <Component id="jTextFieldEmail" min="-2" pref="215" max="-2" attributes="0"/> - <Component id="jTextFieldMobileNumber" min="-2" pref="215" max="-2" attributes="0"/> - <Group type="102" attributes="0"> + <Component id="jLabelWelcome" alignment="0" min="-2" max="-2" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jTextFieldUsername" alignment="0" min="-2" pref="215" max="-2" attributes="0"/> + <Component id="jTextFieldEmail" alignment="0" min="-2" pref="215" max="-2" attributes="0"/> + <Component id="jTextFieldMobileNumber" alignment="0" min="-2" pref="215" max="-2" attributes="0"/> <Component id="jDateChooser1" min="-2" pref="210" max="-2" attributes="0"/> <Component id="jPasswordField" min="-2" pref="215" max="-2" attributes="0"/> </Group> @@ -82,12 +80,8 @@ </Group> </Group> </Group> - <Group type="102" attributes="0"> - <Component id="jButtonVerify" min="-2" pref="204" max="-2" attributes="0"/> - <EmptySpace min="-2" pref="310" max="-2" attributes="0"/> - <Component id="jToggleButton1" min="-2" pref="221" max="-2" attributes="0"/> - </Group> </Group> + <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> @@ -96,15 +90,14 @@ <Group type="102" attributes="0"> <EmptySpace min="15" pref="15" max="-2" attributes="0"/> <Component id="jPanel1" min="-2" max="-2" attributes="0"/> - <EmptySpace min="18" pref="18" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> <Component id="jLabelWelcome" min="-2" pref="105" max="-2" attributes="0"/> - <EmptySpace min="7" pref="7" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> - <EmptySpace min="15" pref="15" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="17" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> - <EmptySpace min="56" pref="56" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="71" max="-2" attributes="0"/> <Component id="jTextFieldUsername" min="-2" pref="26" max="-2" attributes="0"/> <EmptySpace min="21" pref="21" max="-2" attributes="0"/> <Component id="jTextFieldEmail" min="-2" max="-2" attributes="0"/> @@ -113,48 +106,48 @@ <EmptySpace min="-2" pref="68" max="-2" attributes="0"/> <Component id="jDateChooser1" min="-2" max="-2" attributes="0"/> </Group> - <Component id="jLabelCardsImage" min="-2" pref="520" max="-2" attributes="0"/> - </Group> - </Group> - <Group type="102" alignment="0" attributes="0"> - <Component id="jLabelLogin" min="-2" max="-2" attributes="0"/> - <EmptySpace min="18" pref="18" max="-2" attributes="0"/> - <Component id="jLabelUsername" min="-2" max="-2" attributes="0"/> - <EmptySpace min="21" pref="21" max="-2" attributes="0"/> - <Component id="jLabelEmail" min="-2" max="-2" attributes="0"/> - <EmptySpace min="20" pref="20" max="-2" attributes="0"/> - <Component id="jLabelMobileNumber" min="-2" max="-2" attributes="0"/> - <EmptySpace min="20" pref="20" max="-2" attributes="0"/> - <Component id="jLabel5" min="-2" max="-2" attributes="0"/> - <EmptySpace min="29" pref="29" max="-2" attributes="0"/> - <Component id="jLabelDateOfBirth" min="-2" max="-2" attributes="0"/> - <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> - <Component id="jLabel6" min="-2" max="-2" attributes="0"/> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Group type="103" groupAlignment="0" attributes="0"> - <Component id="jPasswordField" min="-2" max="-2" attributes="0"/> - <Group type="102" attributes="0"> - <Component id="jLabelPassword" min="-2" max="-2" attributes="0"/> - <EmptySpace type="unrelated" max="-2" attributes="0"/> - <Component id="jLabelPasswordRequirements" min="-2" max="-2" attributes="0"/> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="jLabel1" min="-2" max="-2" attributes="0"/> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="jLabel2" min="-2" max="-2" attributes="0"/> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="jLabel3" min="-2" max="-2" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <Component id="jLabelLogin" min="-2" max="-2" attributes="0"/> + <EmptySpace min="18" pref="18" max="-2" attributes="0"/> + <Component id="jLabelUsername" min="-2" max="-2" attributes="0"/> + <EmptySpace min="21" pref="21" max="-2" attributes="0"/> + <Component id="jLabelEmail" min="-2" max="-2" attributes="0"/> + <EmptySpace min="20" pref="20" max="-2" attributes="0"/> + <Component id="jLabelMobileNumber" min="-2" max="-2" attributes="0"/> + <EmptySpace min="20" pref="20" max="-2" attributes="0"/> + <Component id="jLabel5" min="-2" max="-2" attributes="0"/> + <EmptySpace min="29" pref="29" max="-2" attributes="0"/> + <Component id="jLabelDateOfBirth" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> + <Component id="jLabel6" min="-2" max="-2" attributes="0"/> <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="jPasswordField" min="-2" max="-2" attributes="0"/> + <Group type="102" attributes="0"> + <Component id="jLabelPassword" min="-2" max="-2" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jLabelPasswordRequirements" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel1" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel2" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel3" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="jLabel4" min="-2" max="-2" attributes="0"/> + </Group> + </Group> </Group> </Group> </Group> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace min="-2" pref="35" max="-2" attributes="0"/> + <Component id="jLabelCardsImage" min="-2" pref="520" max="-2" attributes="0"/> + </Group> </Group> - <EmptySpace type="separate" pref="35" max="32767" attributes="0"/> - <Group type="103" groupAlignment="3" attributes="0"> - <Component id="jToggleButton1" alignment="3" min="-2" pref="76" max="-2" attributes="0"/> - <Component id="jButtonVerify" alignment="3" min="-2" pref="86" max="-2" attributes="0"/> - </Group> - <EmptySpace min="12" pref="12" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> + <Component id="jButtonVerify" min="-2" pref="86" max="-2" attributes="0"/> + <EmptySpace pref="46" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> @@ -311,14 +304,6 @@ </Component> <Component class="com.toedter.calendar.JDateChooser" name="jDateChooser1"> </Component> - <Component class="javax.swing.JToggleButton" name="jToggleButton1"> - <Properties> - <Property name="text" type="java.lang.String" value="show date"/> - </Properties> - <Events> - <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jToggleButton1ActionPerformed"/> - </Events> - </Component> <Component class="javax.swing.JLabel" name="jLabel6"> <Properties> <Property name="text" type="java.lang.String" value="You need to be at least 18 to gamble"/> diff --git a/src/view/LoginGUI.java b/src/view/LoginGUI.java @@ -52,7 +52,6 @@ public class LoginGUI extends javax.swing.JFrame { jPanel2 = new javax.swing.JPanel(); jLabelCardsImage = new javax.swing.JLabel(); jDateChooser1 = new com.toedter.calendar.JDateChooser(); - jToggleButton1 = new javax.swing.JToggleButton(); jLabel6 = new javax.swing.JLabel(); jPanel3.setBackground(new java.awt.Color(51, 204, 0)); @@ -133,13 +132,6 @@ public class LoginGUI extends javax.swing.JFrame { jLabelCardsImage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/assets/cards_icon.png"))); // NOI18N jLabelCardsImage.setText("jLabel6"); - jToggleButton1.setText("show date"); - jToggleButton1.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jToggleButton1ActionPerformed(evt); - } - }); - jLabel6.setText("You need to be at least 18 to gamble"); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); @@ -147,15 +139,12 @@ public class LoginGUI extends javax.swing.JFrame { layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() - .addGap(43, 43, 43) - .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addGroup(layout.createSequentialGroup() - .addGap(235, 235, 235) - .addComponent(jLabelWelcome)) - .addGroup(layout.createSequentialGroup() - .addGap(60, 60, 60) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() + .addGap(43, 43, 43) + .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGroup(layout.createSequentialGroup() + .addGap(60, 60, 60) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabelLogin) .addComponent(jLabelUsername) @@ -169,37 +158,35 @@ public class LoginGUI extends javax.swing.JFrame { .addComponent(jLabel2) .addComponent(jLabel3) .addComponent(jLabel4) - .addComponent(jLabel6)) + .addComponent(jLabel6) + .addComponent(jButtonVerify, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(11, 11, 11) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jTextFieldUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE) - .addComponent(jTextFieldEmail, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE) - .addComponent(jTextFieldMobileNumber, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(jLabelWelcome) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(jTextFieldUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(jTextFieldEmail, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(jTextFieldMobileNumber, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jPasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jLabelCardsImage, javax.swing.GroupLayout.PREFERRED_SIZE, 680, javax.swing.GroupLayout.PREFERRED_SIZE)))) - .addGroup(layout.createSequentialGroup() - .addComponent(jButtonVerify, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(310, 310, 310) - .addComponent(jToggleButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 221, javax.swing.GroupLayout.PREFERRED_SIZE)))) + .addComponent(jLabelCardsImage, javax.swing.GroupLayout.PREFERRED_SIZE, 680, javax.swing.GroupLayout.PREFERRED_SIZE))))) + .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(15, 15, 15) .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(18, 18, 18) + .addGap(8, 8, 8) .addComponent(jLabelWelcome, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(7, 7, 7) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() - .addGap(15, 15, 15) + .addGap(17, 17, 17) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() - .addGap(56, 56, 56) + .addGap(71, 71, 71) .addComponent(jTextFieldUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(21, 21, 21) .addComponent(jTextFieldEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) @@ -207,41 +194,41 @@ public class LoginGUI extends javax.swing.JFrame { .addComponent(jTextFieldMobileNumber, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(68, 68, 68) .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addComponent(jLabelCardsImage, javax.swing.GroupLayout.PREFERRED_SIZE, 520, javax.swing.GroupLayout.PREFERRED_SIZE))) - .addGroup(layout.createSequentialGroup() - .addComponent(jLabelLogin) - .addGap(18, 18, 18) - .addComponent(jLabelUsername) - .addGap(21, 21, 21) - .addComponent(jLabelEmail) - .addGap(20, 20, 20) - .addComponent(jLabelMobileNumber) - .addGap(20, 20, 20) - .addComponent(jLabel5) - .addGap(29, 29, 29) - .addComponent(jLabelDateOfBirth) - .addGap(13, 13, 13) - .addComponent(jLabel6) - .addGap(18, 18, 18) - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jPasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout.createSequentialGroup() - .addComponent(jLabelPassword) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jLabelPasswordRequirements) - .addGap(18, 18, 18) - .addComponent(jLabel1) - .addGap(18, 18, 18) - .addComponent(jLabel2) + .addComponent(jLabelLogin) .addGap(18, 18, 18) - .addComponent(jLabel3) + .addComponent(jLabelUsername) + .addGap(21, 21, 21) + .addComponent(jLabelEmail) + .addGap(20, 20, 20) + .addComponent(jLabelMobileNumber) + .addGap(20, 20, 20) + .addComponent(jLabel5) + .addGap(29, 29, 29) + .addComponent(jLabelDateOfBirth) + .addGap(13, 13, 13) + .addComponent(jLabel6) .addGap(18, 18, 18) - .addComponent(jLabel4))))) - .addGap(18, 35, Short.MAX_VALUE) - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) - .addComponent(jToggleButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 76, javax.swing.GroupLayout.PREFERRED_SIZE) - .addComponent(jButtonVerify, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addGap(12, 12, 12)) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(jPasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGroup(layout.createSequentialGroup() + .addComponent(jLabelPassword) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) + .addComponent(jLabelPasswordRequirements) + .addGap(18, 18, 18) + .addComponent(jLabel1) + .addGap(18, 18, 18) + .addComponent(jLabel2) + .addGap(18, 18, 18) + .addComponent(jLabel3) + .addGap(18, 18, 18) + .addComponent(jLabel4)))))) + .addGroup(layout.createSequentialGroup() + .addGap(35, 35, 35) + .addComponent(jLabelCardsImage, javax.swing.GroupLayout.PREFERRED_SIZE, 520, javax.swing.GroupLayout.PREFERRED_SIZE))) + .addGap(25, 25, 25) + .addComponent(jButtonVerify, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(46, Short.MAX_VALUE)) ); pack(); @@ -273,10 +260,6 @@ public class LoginGUI extends javax.swing.JFrame { // TODO add your handling code here: }//GEN-LAST:event_jTextFieldMobileNumberActionPerformed - private void jToggleButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton1ActionPerformed - JOptionPane.showMessageDialog(null, jDateChooser1.getDate()); - }//GEN-LAST:event_jToggleButton1ActionPerformed - /** * @param args the command line arguments */ @@ -335,6 +318,5 @@ public class LoginGUI extends javax.swing.JFrame { private javax.swing.JTextField jTextFieldEmail; private javax.swing.JTextField jTextFieldMobileNumber; private javax.swing.JTextField jTextFieldUsername; - private javax.swing.JToggleButton jToggleButton1; // End of variables declaration//GEN-END:variables }