JAVA - How To Create Login And Register Form With MySQL DataBase In Java Netbeans

preview_player
Показать описание
Java Make SignIn And SignUp Form With MySQL DataBase

------------------ Check out my Java Projects! --------------------

if you want to support our work, consider supporting the channel with a coffee!

------------------------ Projects Source Code Bundles ------------------------

-------------------------- JAVA COURSE -----------------------------

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

programming projects with source code:

C# And Java Programming Books

********************************************************************

and in this one will see how to connect the login and signup form with a mysql database

and add it to your project

we will ceate a class (MyConnection) to connect our login and register forms with mysql database

in the register form wi will create a function (checkUsername) to check if the username you want to register is already exists in the database table

what we will check when the user click on the register button:
- if the username jtextfield is empty
- if the password jtextfield is empty
- if the retype_password text is equal to the password text
- if the username already exists in the database using the "checkUsername" function
- if the jdatechooser is empty

in the login fom it's simple;
the user enter his login and password and click on the login button,
and all we have to do is to check if a user with this username and password already exists on the database

other videos:

Create Login Form In Java With MySQL Database Part 1

Java And MySQL - Populate JTable Depending On a JCombobox Value In Java

Connect Java To MySQL Database

Bind a JCombobox With Mysql Database Values

Search Values From MySQL Database And Set It Into JTextfield

bind jtable from mysql database in netbeans

Bind JTable From MySQL DataBase Using ArrayList

Populate JCombobox Depending On Another JCombobox

Populate JCombobox From MySQL With Key And Value

How To Use Stored Procedure In Java And MySQL

Insert Update Delete Data In Database

How To Bind a HashMap From DataBase In Java

display Image From database To jtable

Рекомендации по теме
Комментарии
Автор

You saved my life today. My lecturer didn't teach us this at all but put it on a POE for us to complete. It's my first year and l have to say your videos really helped me out

ofumeqj
Автор

Some heroes don't wear capes, you are one of them buddy!

hickimse
Автор

You didnt explain how to make an mysql database, looking at how to make a design for the login and register is good. But why would you make that tutorial without showing how to store the data? Genuinely dont understand that.

rupertacuesta
Автор

Gros merci de la part de La France mon ami.

gabrielchavanon
Автор

PreparedStatement ps; variable when use it in ps = i get CreateClass MyConnection... does this class exist but im not inport it or i just missundestand something from this video 12:19 ??

dzemilpazar
Автор

please show the making of database part in detail..otherwise it has no use

akashdeepbhattacharjee
Автор

thanks a lot! very helpful
literally saved me

mohammadezzeddine
Автор

Hey man! your videos are amazingly helpful, but it would be much more better if you explain what you are doing rather than silence... :/

asiyakhan
Автор

During final step user and pass..error sqlEx index out of range(1> WHOSE IS 0)
Why this error.. Can u suggest and correct me

shafiqeakhtar
Автор

This was a very helpful video thank you very much for sharing stuff like these you're a life saver

bhanukavithanage
Автор

sir i have some problem to connect my db like
"com.mysql.jdbc.Driver
Exception in thread "AWT-EventQueue-0"
can you help me?

fathonynur
Автор

i m having an error in my Prepared statement line, in get connection()

nikhilkhariya
Автор

Is there any way to use this program on a different computer in terms of the database because as far as I know this is a local method and I really cant figure out how to do it to where no matter i bring the program it will work so please tell me what I need to do for this

FADEDElement
Автор

Hi sir
Send the program using java or html

vanishreetalewad
Автор

would be more helpful if you explain everything

clairjacob
Автор

Hi, this works but the only problem is that I can login to an account even if the casing of the letters are different. For example i can login if username is "ADMIN" but on database it is "admin". What am i doing wrong?

karthinaguleswaran
Автор

Bro, Nice Code you have here.... it has helped me Alot. Thanks

newtonk
Автор

So my if and else statement aren't working in loginform and no matter what i enter in login it does incorrect username and password

sarveshmore
Автор

Hello my IDE gives an error during runtime "Unsupported major.minor version 52.0" please advice

hermanomonya
Автор

thank you much bro... you saved my ass..!

xegaihadgu
welcome to shbcf.ru