Design Simple Login Form in Java Netbeans [Without SQL Database] | ARBX CodeX 2020

Published: 25 May 2020
on channel: Aʀʙx CᴏᴅᴇX
252
8

Developing a very simple beginners' level Login Form in Netbeans Java, without use of any SQL. SQL will be used in next video. THIS IS FOR BEGINNERS.


NetBeans DARK THEME Fresh Update (dracula) :    • Dark Theme 2019 of NetBeans IDE 8.0.2...  


Tutorial By: Arpan Bhattacharya
#SimpleLoginForm #LoginInJavaApp #JavaNetbeans
----------------------------------------------------------------
IMPORTANT CODES:
//CODE in Login BUTTON
//VALIDATION
if(jTextField1.getText().equals("")) //if username field is blank
{
JOptionPane.showMessageDialog(this,"Please enter username");
}
else if(jTextField2.getText().equals(""))
{
JOptionPane.showMessageDialog(this,"Please enter password!");
}

//Program of procedure
String user = "abc123";
String pass = "3456";
String checkUser = jTextField1.getText();
String checkPass = jTextField2.getText();
//checking
if((checkUser.equals(user)) && (checkPass.equals(pass)))
{
JOptionPane.showMessageDialog(this,"You are logged in!");
}
else if (!(checkUser.equals(user)) && !(checkPass.equals(pass)))
{
JOptionPane.showMessageDialog(this, "Wrong Credentials!");
}
----------------------------------------------------------------

THANKFUL TO:
1. NCS(NoCopyrightSounds):    / nocopyrightsounds  
for providing the best Electronic Musics for the videos.

2. VELOSOFY:    / velosofy  
for providing the intro templates for a classy start of video.

---------------------------------------------------------

ABOUT THE CHANNEL:
ARBX CodeX is a programming and Tech solutions YouTube channel by ARBX MediaWorks. Giving tutorials of simple programs for professional use. Plus some Tech Talks. ;)

----------------------------------------------------------------

FAIR USE CONTENT:
All the videos in this channel is made genuinely by the creator of this channel. Any content taken from any user/community is being credited in video and Descreiption End. Kindly take permission before using this channel's content, otheriwse action may be taken.
Regards,
ARBX Mediaworks

-----------------------------------------------------------------

ALL CHANNELS BY ARBX MediaWorks:
ARBX Endurance (Space):
   / @arbxendurance  
ARBX CodeX (Programming & IT):
   / @arbxcodexindia  

----------------------------------------------------------------

SOCIAL MEDIAS:
Facebook (CodeX) :   / arbxcodex  
Instagram (CodeX):   / arbxcodex  

Channel: ARBX CodeX #arbxcodex

By:
ARBX MediaWorks


On this page of the site you can watch the video online Design Simple Login Form in Java Netbeans [Without SQL Database] | ARBX CodeX 2020 with a duration of hours minute second in good quality, which was uploaded by the user Aʀʙx CᴏᴅᴇX 25 May 2020, share the link with friends and acquaintances, this video has already been watched 252 times on youtube and it was liked by 8 viewers. Enjoy your viewing!