title
Java Eclipse GUI Tutorial 5 # Login Program for java with sqlite database PART-1

description
★★★Top Online Courses From ProgrammingKnowledge ★★★ Python Programming Course ➡️ http://bit.ly/2vsuMaS ⚫️ http://bit.ly/2GOaeQB Java Programming Course ➡️ http://bit.ly/2GEfQMf ⚫️ http://bit.ly/2Vvjy4a Bash Shell Scripting Course ➡️ http://bit.ly/2DBVF0C ⚫️ http://bit.ly/2UM06vF Linux Command Line Tutorials ➡️ http://bit.ly/2IXuil0 ⚫️ http://bit.ly/2IXukt8 C Programming Course ➡️ http://bit.ly/2GQCiD1 ⚫️ http://bit.ly/2ZGN6ej C++ Programming Course ➡️ http://bit.ly/2V4oEVJ ⚫️ http://bit.ly/2XMvqMs PHP Programming Course ➡️ http://bit.ly/2XP71WH ⚫️ http://bit.ly/2vs3od6 Android Development Course ➡️ http://bit.ly/2UHih5H ⚫️ http://bit.ly/2IMhVci C# Programming Course ➡️ http://bit.ly/2Vr7HEl ⚫️ http://bit.ly/2W6RXTU JavaFx Programming Course ➡️ http://bit.ly/2XMvZWA ⚫️ http://bit.ly/2V2CoAi NodeJs Programming Course ➡️ http://bit.ly/2GPg7gA ⚫️ http://bit.ly/2GQYTQ2 Jenkins Course For Developers and DevOps ➡️ http://bit.ly/2Wd4l4W ⚫️ http://bit.ly/2J1B1ug Scala Programming Tutorial Course ➡️ http://bit.ly/2PysyA4 ⚫️ http://bit.ly/2PCaVj2 Bootstrap Responsive Web Design Tutorial ➡️ http://bit.ly/2DFQ2yC ⚫️ http://bit.ly/2VoJWwH MongoDB Tutorial Course ➡️ http://bit.ly/2LaCJfP ⚫️ http://bit.ly/2WaI7Ap QT C++ GUI Tutorial For Beginners ➡️ http://bit.ly/2vwqHSZ ★★★ Online Courses to learn ★★★ Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3 AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1 Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP Kotlin Android Development Masterclass - http://bit.ly/2GcblsI Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue ★★★ Follow ★★★ My Website - http://www.codebind.com DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support! Creating Login Page In Java using NetBeans code for login using netbeans Java Netbeans Login Building a Login Screen for a NetBeans NetBeans Platform Login Tutorial create login page contain user id,password,buttons in java using netbeans NetBeans Platform Login Tutorial Download Netbeans Login Source Codes sqlite database java sqlite database tutorial java create sqlite database connect to sqlite database java login application using sqlite database in android sample code for sqlite database in android android sqlite database connection code

detail
{'title': 'Java Eclipse GUI Tutorial 5 # Login Program for java with sqlite database PART-1', 'heatmap': [{'end': 427.132, 'start': 372.2, 'weight': 0.998}, {'value': 0.7936548437323705, 'end_time': 423.5700000000001, 'start_time': 401.9}], 'summary': 'Tutorial series covers creating a login page in java gui, connecting a sqlite database, and implementing login panel and button functionality, including modifying password input fields and preparing database queries.', 'chapters': [{'end': 97.855, 'segs': [{'end': 41.445, 'src': 'embed', 'start': 8.032, 'weight': 0, 'content': [{'end': 9.312, 'text': 'hello, guys, welcome once again.', 'start': 8.032, 'duration': 1.28}, {'end': 20.036, 'text': 'in the last video, I have shown you how you can create your SQLite database and connect it to your Java GUI application.', 'start': 9.312, 'duration': 10.724}, {'end': 31.299, 'text': 'so I have shown you how to create a database and how to connect this database to your eclipse web builder GUI application.', 'start': 20.036, 'duration': 11.263}, {'end': 36.582, 'text': 'right so we have tested our connection like this.', 'start': 31.299, 'duration': 5.283}, {'end': 41.445, 'text': 'so whenever we run the program, it shows connection successful.', 'start': 36.582, 'duration': 4.863}], 'summary': 'Demonstrated creating sqlite database connected to java gui, with successful test run.', 'duration': 33.413, 'max_score': 8.032, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ8032.jpg'}, {'end': 97.855, 'src': 'embed', 'start': 68.521, 'weight': 1, 'content': [{'end': 76.346, 'text': 'so it validates username and password from the database and if that username and password is correct,', 'start': 68.521, 'duration': 7.825}, {'end': 79.628, 'text': "then it will give you some message if it's correct or not.", 'start': 76.346, 'duration': 3.282}, {'end': 81.909, 'text': "So let's get started.", 'start': 80.909, 'duration': 1}, {'end': 90.515, 'text': 'First of all I will just make this window a little bit bigger by double clicking this login.', 'start': 82.57, 'duration': 7.945}, {'end': 97.855, 'text': 'Java and we have some space to work with now, right,', 'start': 92.071, 'duration': 5.784}], 'summary': 'Validates username and password from the database and provides a message if correct.', 'duration': 29.334, 'max_score': 68.521, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ68521.jpg'}], 'start': 8.032, 'title': 'Creating a login page in java gui', 'summary': 'Demonstrates connecting a sqlite database to a java gui application and creating a login page that validates username and password from the database.', 'chapters': [{'end': 97.855, 'start': 8.032, 'title': 'Creating a login page in java gui', 'summary': 'Demonstrates how to connect a sqlite database to a java gui application, ensuring a successful connection and then proceeding to create a login page that validates username and password from the database.', 'duration': 89.823, 'highlights': ['The video tutorial demonstrates creating a SQLite database and connecting it to a Java GUI application, ensuring the successful connection.', 'The created login page validates the username and password from the database and provides a message if the credentials are correct or not.', "The chapter also showcases the process of testing the database connection upon running the program, which displays a 'connection successful' message."]}], 'duration': 89.823, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ8032.jpg', 'highlights': ['The video tutorial demonstrates creating a SQLite database and connecting it to a Java GUI application, ensuring the successful connection.', 'The created login page validates the username and password from the database and provides a message if the credentials are correct or not.', "The chapter also showcases the process of testing the database connection upon running the program, which displays a 'connection successful' message."]}, {'end': 369.558, 'segs': [{'end': 263.047, 'src': 'embed', 'start': 149.301, 'weight': 0, 'content': [{'end': 162.129, 'text': 'okay, so I have two labels and two text boxes and I will take a button which we, whenever user clicks, he will be able to login.', 'start': 149.301, 'duration': 12.828}, {'end': 165.531, 'text': 'so take a button once again.', 'start': 162.129, 'duration': 3.402}, {'end': 177.741, 'text': 'take a button here and now I will change the names of these labels or Variable name.', 'start': 165.531, 'duration': 12.21}, {'end': 180.803, 'text': 'I will leave these names for the label as it is.', 'start': 177.741, 'duration': 3.062}, {'end': 184.225, 'text': 'you know how to change the name, But very variable name.', 'start': 180.803, 'duration': 3.422}, {'end': 203.203, 'text': 'but I will change the text of these labels, as first is user name, It should be user name and the second label text will be why it goes to the.', 'start': 184.225, 'duration': 18.978}, {'end': 218.392, 'text': 'so first label text will be username and the second label text will be password.', 'start': 203.203, 'duration': 15.189}, {'end': 235.299, 'text': 'right. and then what i am going to do is remember one thing whenever you use or enter any username and password, the password is always hidden.', 'start': 218.392, 'duration': 16.907}, {'end': 244.947, 'text': 'it should be hidden right, otherwise the other users can see your password and there is no meaning of password right.', 'start': 235.299, 'duration': 9.648}, {'end': 255.503, 'text': 'so I will delete this text box because it will show my password to the other user, and what I can use is this password tool.', 'start': 244.947, 'duration': 10.556}, {'end': 263.047, 'text': 'so this there is a tool called jpassword field, and this tool we specifically use for passwords.', 'start': 255.503, 'duration': 7.544}], 'summary': 'Creating a login interface with labels, text boxes, and a hidden password field for secure user authentication.', 'duration': 113.746, 'max_score': 149.301, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ149301.jpg'}, {'end': 369.558, 'src': 'embed', 'start': 298.325, 'weight': 2, 'content': [{'end': 307.632, 'text': 'and this will be, or your password will be masked with this character, so you can use dollar sign here,', 'start': 298.325, 'duration': 9.307}, {'end': 311.875, 'text': 'or you can use hash or any other character and it will mask.', 'start': 307.632, 'duration': 4.243}, {'end': 314.137, 'text': 'this character will mask all of your password.', 'start': 311.875, 'duration': 2.262}, {'end': 317.329, 'text': 'So we have done that.', 'start': 315.55, 'duration': 1.779}, {'end': 333.517, 'text': 'and i will change the variable name of these text field for username text field, text field un, for example, and for password, this text field,', 'start': 320.27, 'duration': 13.247}, {'end': 339, 'text': "i will name it as password field, so it's the name already suggested.", 'start': 333.517, 'duration': 5.483}, {'end': 342.682, 'text': "it's a password field, so i will not change the name of the field.", 'start': 339, 'duration': 3.682}, {'end': 358.99, 'text': 'but yeah, this, i will change the text of this button as login and i will change the name of this button as btn login.', 'start': 342.682, 'duration': 16.308}, {'end': 369.558, 'text': 'okay, so now we have this and maybe you can resize it so that you can see username and password and you can, you know,', 'start': 358.99, 'duration': 10.568}], 'summary': 'Mask password with special characters, rename fields, and resize for better visibility.', 'duration': 71.233, 'max_score': 298.325, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ298325.jpg'}], 'start': 97.855, 'title': 'Creating and modifying a login panel', 'summary': 'Involves creating a login panel with two labels for username and password, two text boxes for input, and using a jpasswordfield tool for password security. it also demonstrates modifying a password input field, including changing the mask character and renaming the field and button.', 'chapters': [{'end': 263.047, 'start': 97.855, 'title': 'Creating login panel with labels and textboxes', 'summary': 'Involves creating a login panel with two labels for username and password, two text boxes for input, and using a jpasswordfield tool for password security.', 'duration': 165.192, 'highlights': ['Created a login panel with labels and text boxes for username and password input.', 'Utilized JPasswordField tool for password security to ensure the password remains hidden from other users.']}, {'end': 369.558, 'start': 263.047, 'title': 'Password input and field properties', 'summary': 'Demonstrates how to modify a password input field, including changing the mask character and renaming the field and button.', 'duration': 106.511, 'highlights': ['Modifying the mask character for password input field The password input field can be customized to mask the password with different characters, such as dollar sign or hash.', "Changing variable names for username and password text fields The speaker renames the variable for the username text field to 'text field un' and the password text field to 'password field'.", "Renaming the login button The name and text of the login button are changed to 'btn login' and 'login' respectively.", 'Resizing the input fields for better visibility The speaker suggests resizing the input fields to ensure better visibility of the username and password.']}], 'duration': 271.703, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ97855.jpg', 'highlights': ['Utilized JPasswordField tool for password security to ensure the password remains hidden from other users.', 'Created a login panel with labels and text boxes for username and password input.', 'Modifying the mask character for password input field The password input field can be customized to mask the password with different characters, such as dollar sign or hash.', 'Resizing the input fields for better visibility The speaker suggests resizing the input fields to ensure better visibility of the username and password.', "Changing variable names for username and password text fields The speaker renames the variable for the username text field to 'text field un' and the password text field to 'password field'.", "Renaming the login button The name and text of the login button are changed to 'btn login' and 'login' respectively."]}, {'end': 929.705, 'segs': [{'end': 462.622, 'src': 'heatmap', 'start': 372.2, 'weight': 0, 'content': [{'end': 384.865, 'text': "okay. and now what i'm going to do is i will select this login button right, click it, add event handler, action perform, action perform.", 'start': 372.2, 'duration': 12.665}, {'end': 388.011, 'text': 'and this will lead me to this login button.', 'start': 384.865, 'duration': 3.146}, {'end': 392.254, 'text': 'action perform method right.', 'start': 389.392, 'duration': 2.862}, {'end': 401.9, 'text': "and inside this method i'm going to write a code to check the login or username and password right.", 'start': 392.254, 'duration': 9.646}, {'end': 406.583, 'text': 'so first of all, i will just make a try and catch block.', 'start': 401.9, 'duration': 4.683}, {'end': 410.326, 'text': 'so if any error occurs it will catch the error.', 'start': 406.583, 'duration': 3.743}, {'end': 423.57, 'text': 'so i will just copy the previous code for try catch and i will paste it in action perform method and i will remove all the other code other than my try catch blocks.', 'start': 410.326, 'duration': 13.244}, {'end': 427.132, 'text': 'so i have this try, catch block.', 'start': 423.57, 'duration': 3.562}, {'end': 431.615, 'text': 'so if any error will occur, it will catch the any exception.', 'start': 427.132, 'duration': 4.483}, {'end': 440.44, 'text': 'okay, now, in this try block, first thing i will do is i will create a query with the database.', 'start': 431.615, 'duration': 8.825}, {'end': 452.33, 'text': 'if you remember, in the last video in this login.java, we have initialize our connection by our escalite connection dot db connector function.', 'start': 440.44, 'duration': 11.89}, {'end': 462.622, 'text': 'so we have this connection with the database in this object which is called connection which we have created, where we have created this connection,', 'start': 452.33, 'duration': 10.292}], 'summary': 'Adding event handler for login button, creating try-catch blocks, and initializing database connection.', 'duration': 93.064, 'max_score': 372.2, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ372200.jpg'}, {'end': 738.067, 'src': 'embed', 'start': 703.775, 'weight': 3, 'content': [{'end': 715.137, 'text': 'but before that, with this prepared statement, i want to pass the values from the text boxes which the user will enter to the prepared statement.', 'start': 703.775, 'duration': 11.362}, {'end': 722.804, 'text': 'so i will write pst dot set string.', 'start': 715.137, 'duration': 7.667}, {'end': 728.432, 'text': 'this will be set string and this will take two argument.', 'start': 722.804, 'duration': 5.628}, {'end': 732.277, 'text': 'the first argument will be the parameter index.', 'start': 728.432, 'duration': 3.845}, {'end': 733.899, 'text': 'so parameter index is what?', 'start': 732.277, 'duration': 1.622}, {'end': 738.067, 'text': 'because we are using two question mark.', 'start': 734.946, 'duration': 3.121}], 'summary': 'Pass user-entered values to a prepared statement using pst.setstring with two question marks as parameter index.', 'duration': 34.292, 'max_score': 703.775, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ703775.jpg'}, {'end': 929.705, 'src': 'embed', 'start': 896.908, 'weight': 5, 'content': [{'end': 902.012, 'text': 'whatever query i pass in that statement, i want to execute that query.', 'start': 896.908, 'duration': 5.104}, {'end': 914.113, 'text': 'okay, So now, whenever I execute this query, this query will be executed and the result will be transferred to this RS object.', 'start': 902.012, 'duration': 12.101}, {'end': 924.281, 'text': "okay?. So in the next line, what I'm going to do, I will make a while loop, because this RS object gives the value one by one.", 'start': 914.113, 'duration': 10.168}, {'end': 929.705, 'text': 'So I will use while and I will,.', 'start': 924.581, 'duration': 5.124}], 'summary': 'Executing user queries and iterating through results using while loop.', 'duration': 32.797, 'max_score': 896.908, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ896908.jpg'}], 'start': 369.558, 'title': 'Implementing login button functionality and database query preparation', 'summary': 'Covers implementing the action perform method for the login button, including creating a try-catch block, initializing a database connection, and handling potential errors. it also explains preparing a database query, setting up a prepared statement, and executing the query, with details on parameter indexing and fetching values from text boxes.', 'chapters': [{'end': 493.384, 'start': 369.558, 'title': 'Implementing login button functionality', 'summary': 'Covers the process of implementing the action perform method for the login button, including creating a try-catch block, initializing a database connection, and handling potential errors.', 'duration': 123.826, 'highlights': ['The chapter covers the process of implementing the action perform method for the login button. This is the main focus of the chapter, detailing the specific functionality being implemented.', 'Creating a try-catch block to handle potential errors. The transcript emphasizes the importance of error handling by implementing a try-catch block to catch any exceptions that may occur.', "Initializing a database connection using the previously established connection. The transcript mentions the initialization of a database connection using the 'connection' object previously created in the login.java file."]}, {'end': 929.705, 'start': 493.384, 'title': 'Database query preparation and execution', 'summary': 'Explains how to prepare a database query, set up a prepared statement, and execute the query, including details on parameter indexing and fetching values from text boxes.', 'duration': 436.321, 'highlights': ['Explaining the process of preparing a database query and setting up a prepared statement for execution. How to prepare a database query, create a prepared statement, and explain parameter indexing for setting values from text boxes.', 'Demonstrating the process of setting values from text boxes to the prepared statement using parameter indexing and fetching text box values. Process of setting values from text boxes to the prepared statement, including parameter indexing and fetching text box values.', 'Executing the query using the prepared statement and fetching the result set in a loop. Executing the query using a prepared statement and fetching the result set in a loop for further processing.']}], 'duration': 560.147, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/HGPgRdX-AxQ/pics/HGPgRdX-AxQ369558.jpg', 'highlights': ['The chapter covers the process of implementing the action perform method for the login button. This is the main focus of the chapter, detailing the specific functionality being implemented.', 'Creating a try-catch block to handle potential errors. The transcript emphasizes the importance of error handling by implementing a try-catch block to catch any exceptions that may occur.', "Initializing a database connection using the previously established connection. The transcript mentions the initialization of a database connection using the 'connection' object previously created in the login.java file.", 'Explaining the process of preparing a database query and setting up a prepared statement for execution. How to prepare a database query, create a prepared statement, and explain parameter indexing for setting values from text boxes.', 'Demonstrating the process of setting values from text boxes to the prepared statement using parameter indexing and fetching text box values. Process of setting values from text boxes to the prepared statement, including parameter indexing and fetching text box values.', 'Executing the query using the prepared statement and fetching the result set in a loop. Executing the query using a prepared statement and fetching the result set in a loop for further processing.']}], 'highlights': ['The video tutorial demonstrates creating a SQLite database and connecting it to a Java GUI application, ensuring the successful connection.', 'The created login page validates the username and password from the database and provides a message if the credentials are correct or not.', 'The chapter covers the process of implementing the action perform method for the login button. This is the main focus of the chapter, detailing the specific functionality being implemented.', 'Creating a try-catch block to handle potential errors. The transcript emphasizes the importance of error handling by implementing a try-catch block to catch any exceptions that may occur.', "Initializing a database connection using the previously established connection. The transcript mentions the initialization of a database connection using the 'connection' object previously created in the login.java file.", 'Explaining the process of preparing a database query and setting up a prepared statement for execution. How to prepare a database query, create a prepared statement, and explain parameter indexing for setting values from text boxes.', 'Demonstrating the process of setting values from text boxes to the prepared statement using parameter indexing and fetching text box values. Process of setting values from text boxes to the prepared statement, including parameter indexing and fetching text box values.', 'Executing the query using the prepared statement and fetching the result set in a loop. Executing the query using a prepared statement and fetching the result set in a loop for further processing.', 'Utilized JPasswordField tool for password security to ensure the password remains hidden from other users.', 'Created a login panel with labels and text boxes for username and password input.', 'Modifying the mask character for password input field The password input field can be customized to mask the password with different characters, such as dollar sign or hash.', 'Resizing the input fields for better visibility The speaker suggests resizing the input fields to ensure better visibility of the username and password.', "Changing variable names for username and password text fields The speaker renames the variable for the username text field to 'text field un' and the password text field to 'password field'.", "Renaming the login button The name and text of the login button are changed to 'btn login' and 'login' respectively.", "The chapter also showcases the process of testing the database connection upon running the program, which displays a 'connection successful' message."]}