Тёмный

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

1BestCsharp blog
Подписаться 121 тыс.
Просмотров 652 тыс.
50% 1

Java Make SignIn And SignUp Form With MySQL DataBase
The Design Part - • JAVA - How To Design L...
source code: 1bestcsharp.bl...
▶ Download All My Java Projects Source Code: bit.ly/JavaProj...
----------------- Check out my Java Projects! -------------------
▶ Inventory Management System - bit.ly/Java_Inv...
▶ Java Project For Beginners - • Java Project For Begin...
▶ Students Information System - bit.ly/Students...
▶ Contacts Management System - bit.ly/Contact_...
▶ Hotel Management System - bit.ly/JavaHote...
▶ Real Estate Management System - bit.ly/Java__R...
▶ Library Management System - bit.ly/Java_Li...
▶ Car Rental Management System - bit.ly/3SaTl43
▶ Employee Management System - • Java Project - Employe...
▶ Expense and Income Tracker Project - • Java Project Tutorial ...
▶ All My Programming Projects Here - bit.ly/2HrU8hK
▶ My Source Code Store Here - bit.ly/2OsC0TU
if you want to support our work, consider supporting the channel with a coffee!
➜ 1bestcsharp.se...
----------------------- Projects Source Code Bundles -----------------------
Java Projects Bundle - bit.ly/JavaProj...
------------------------- JAVA COURSE ----------------------------
▶ master Java core development step-by-step - bit.ly/2HXSuAn
--------------------------------------------------------------------
visit our blog 1bestcsharp.bl...
CONNECT WITH ME ONLINE / 1bestcsharpblog
subscribe: goo.gl/nRjPKk
programming projects with source code:
1bestcsharp.blo...
C# And Java Programming Books
1bestcsharp.blo...
********************************************************************
in a previous java tutorial we did a login and register form design ( video link: • JAVA - How To Design L... ),
and in this one will see how to connect the login and signup form with a mysql database
to do that you need to download mysql connector, watch tutorial from here: • Java - How To Connect ...
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 - How To Create L...
Java And MySQL - Populate JTable Depending On a JCombobox Value In Java
• Java And MySQL - Popul...
Connect Java To MySQL Database
• Java - How To Connect ...
Bind a JCombobox With Mysql Database Values
• JAVA - How To Bind a J...
Search Values From MySQL Database And Set It Into JTextfield
• JAVA - How To Search V...
bind jtable from mysql database in netbeans
• java & mysql - how to ...
Bind JTable From MySQL DataBase Using ArrayList
• How To Bind JTable Fro...
Populate JCombobox Depending On Another JCombobox
• Java And MySQL - Popu...
Populate JCombobox From MySQL With Key And Value
• Java & MySQL - How To ...
How To Use Stored Procedure In Java And MySQL
• Java And MySQL - How T...
Insert Update Delete Data In Database
• JAVA & MySQL - How To ...
How To Bind a HashMap From DataBase In Java
• JAVA & MySQL - How To ...
display Image From database To jtable
• Java And MySQL - How T...
share this video: • JAVA - How To Create L...

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 133   
@1BestCsharpblog
@1BestCsharpblog 4 года назад
Java Login and Register Form - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-3vauM7axnRs.html Java Menu Design - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6Cm31H_zmvM.html Java Dashboard Design - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dC66Nt_76kA.html
@user-of9um8eq7j
@user-of9um8eq7j 2 года назад
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
@querayshajairaj4565
@querayshajairaj4565 2 года назад
Dudee lol did this method work for you when you tried it???
@hickimse3421
@hickimse3421 4 года назад
Some heroes don't wear capes, you are one of them buddy!
@rupertacuesta
@rupertacuesta 5 лет назад
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.
@akashdeepbhattacharjee4017
@akashdeepbhattacharjee4017 3 года назад
please show the making of database part in detail..otherwise it has no use !!!!!!!!!!!
@mohammadezzeddine6651
@mohammadezzeddine6651 Год назад
thanks a lot! very helpful literally saved me
@dzemilpazar
@dzemilpazar 5 лет назад
PreparedStatement ps; variable when use it in ps = MyConnection.getConnection().preparedStatement(query); i get CreateClass MyConnection... does this class exist but im not inport it or i just missundestand something from this video 12:19 ??
@nikhilkhariya8247
@nikhilkhariya8247 6 лет назад
i m having an error in my Prepared statement line, in get connection()
@Reaper-lh4yq
@Reaper-lh4yq 2 года назад
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. (2)
@raman6271
@raman6271 4 года назад
Great man 👍👍👍👍
@gabrielchavanon4981
@gabrielchavanon4981 Год назад
Gros merci de la part de La France mon ami.
@asiyakhan9384
@asiyakhan9384 6 лет назад
Hey man! your videos are amazingly helpful, but it would be much more better if you explain what you are doing rather than silence... :/
@FADEDElement
@FADEDElement 4 года назад
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
@fathonynur8528
@fathonynur8528 6 лет назад
sir i have some problem to connect my db like "com.mysql.jdbc.Driver Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException" can you help me?
@mrtuttookey1720
@mrtuttookey1720 5 лет назад
same here
@e-one5012
@e-one5012 5 лет назад
@@mrtuttookey1720 Aye!~!!~!~!~!~!
@adrianmcleod9789
@adrianmcleod9789 4 года назад
I'm getting the same error as well
@aisha2991
@aisha2991 4 года назад
Same, it's frustrating
@johnpaulsantiago2034
@johnpaulsantiago2034 3 года назад
same, can somebody help?
@shafiqeakhtar6687
@shafiqeakhtar6687 5 лет назад
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
@bhanukavithanage4911
@bhanukavithanage4911 3 года назад
This was a very helpful video thank you very much for sharing stuff like these you're a life saver
@xegaihadgu3582
@xegaihadgu3582 5 лет назад
thank you much bro... you saved my ass..!
@karthinaguleswaran9224
@karthinaguleswaran9224 5 лет назад
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?
@newtonk7574
@newtonk7574 5 лет назад
Bro, Nice Code you have here.... it has helped me Alot. Thanks
@clairjacob8908
@clairjacob8908 4 года назад
would be more helpful if you explain everything
@PankajThakur-if2gp
@PankajThakur-if2gp 4 года назад
thanks, great work, it helped me a lot,keep it up
@vanishreetalewad3516
@vanishreetalewad3516 4 года назад
Hi sir Send the program using java or html
@sarveshmore4756
@sarveshmore4756 6 лет назад
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
@glazor2394
@glazor2394 4 года назад
Same here
@euricocatumbela5789
@euricocatumbela5789 6 лет назад
Thanks a lot... You really helped a lot
@user-bu8mg7uq3s
@user-bu8mg7uq3s Год назад
thank you so much
@riks324
@riks324 5 лет назад
Thnx budy.....helped me a lot....
@bidhyasapkota2234
@bidhyasapkota2234 3 года назад
please help me in how to create mysql database , ....to complete this project ,.. because i got a error on this
@springmasti2019
@springmasti2019 5 лет назад
Thank u so much brother By-Durgesh
@tuanduynguyen1500
@tuanduynguyen1500 5 лет назад
So GOODDDDDDDDDDDDDDDDDDDDDDDDDDDD also your page is good too !!!!
@deanbeastpittsburgh9751
@deanbeastpittsburgh9751 3 года назад
Thanks
@danielleclere9904
@danielleclere9904 5 лет назад
Good video!
@hermanomonya9945
@hermanomonya9945 6 лет назад
Hello my IDE gives an error during runtime "Unsupported major.minor version 52.0" please advice
@yasirtariq4616
@yasirtariq4616 6 лет назад
Man you are the best
@erict6156
@erict6156 3 года назад
How do you transition from the login window to the register window after clicking the create new account button?
@hubcreek6957
@hubcreek6957 2 года назад
Excelente!!!
@nitishajain1146
@nitishajain1146 5 лет назад
Thankyou so much 👌
@iimsleeepy
@iimsleeepy 3 года назад
is there someway to contact you? i really need help
@user-ht8hm5gv8g
@user-ht8hm5gv8g 5 лет назад
thank you V.
@chrisony9341
@chrisony9341 5 лет назад
Nice video but no sound to let us know some of the terminologies used
@ralucosma3076
@ralucosma3076 6 лет назад
Hello. I have a problem. In phpmyadmin at u_date I can't put NULL. I selected NULL button and when I go back at structure atu null column says YES , but at column Default says None. And it should be NULL as well. Can you help me fix this ? thank you.
@senorvc8534
@senorvc8534 6 лет назад
and my localhost/phpmyadmin doesnt get reflected at all... it is as it, no data is added to it please help me
@VinayKumar-xo7kq
@VinayKumar-xo7kq 6 лет назад
nice work bro
@dianthus1666
@dianthus1666 3 года назад
How to create exe file if i have mysql database with xampp server? Pls help me
@smartjoe6974
@smartjoe6974 5 лет назад
This is wow
@ruturajnikam5206
@ruturajnikam5206 5 лет назад
You are Gold. :)
@trailerhub4476
@trailerhub4476 5 лет назад
do you receive a download link? can you send it to me? i didn't receive a link.
@1BestCsharpblog
@1BestCsharpblog 5 лет назад
check your spam folder or re-donwload it
@trailerhub4476
@trailerhub4476 5 лет назад
@@1BestCsharpblog Thank you brother!!!
@SauravKumar-fe6jr
@SauravKumar-fe6jr 4 года назад
Phpmyadmin setup par vedio banao plz
@omarabomoeliq6040
@omarabomoeliq6040 6 лет назад
nice work
@Robertkingz
@Robertkingz 5 лет назад
It Worked! Thanks!
@0xNETCAT
@0xNETCAT 5 лет назад
dont forget to make the form draggable.. code in netbeans: assuming you are in the source code of the Jform. int pX, pY; //global vars //make the upper (orange) panel event mouse pressed. private void jPanel1MousePressed(java.awt.event.MouseEvent evt) { // Get x,y and store them pX = evt.getX(); pY = evt.getY(); } //make the upper panel event mouse dragged. private void jPanel1MouseDragged(java.awt.event.MouseEvent evt) { this.setLocation(this.getLocation().x + evt.getX() - pX, this.getLocation().y + evt.getY() - pY); } now you can move your window :)
@euricocatumbela5789
@euricocatumbela5789 6 лет назад
I followed all your procedures but I'm having Link failure could you explain to me please
@chilli3672
@chilli3672 3 года назад
Thank you 😭❤️
@nikhilkundu6138
@nikhilkundu6138 4 года назад
How did you set up PHPmyAdmin on the computer? I don't know how to set it up.
@1BestCsharpblog
@1BestCsharpblog 4 года назад
open xampp start apach and mysql go to localhost/phpmyadmin
@jasrajjuneja3253
@jasrajjuneja3253 5 лет назад
thanks
@amazing188
@amazing188 5 лет назад
Nice Video #knowledgeinflow
@sivakumar-gm9vv
@sivakumar-gm9vv 5 лет назад
Pls help me sql execution update erorr will appear
@kailashmodi298
@kailashmodi298 4 года назад
What is that localhost part
@harrirnaima9969
@harrirnaima9969 5 лет назад
Thank you sir for this video , can you tell us how to add the "the forget password" button ??
@Isho242
@Isho242 5 лет назад
all write please help us sir
@girraj1093
@girraj1093 6 лет назад
How can I add any thing in jcombobox
@77nu43
@77nu43 6 лет назад
where is the part when you make a verification of username if it is already existed there. i mean if you input a username but someone already created the same username. help me please.
@1BestCsharpblog
@1BestCsharpblog 6 лет назад
38:25
@77nu43
@77nu43 6 лет назад
arigato
@i4_04dikshapatil6
@i4_04dikshapatil6 3 года назад
i am getting error cannot find symbol symbol: method prepareStatement(String) location: class Object please help sir
@johnpaulsantiago2034
@johnpaulsantiago2034 3 года назад
import java.sql.*;
@ImmersiveTechSolution
@ImmersiveTechSolution 5 лет назад
So how do you install php and sql and get that all installed and working then?
@xxthenotoriousvxx
@xxthenotoriousvxx 5 лет назад
You could use WAMP Pro to set almost everything up for you but this would cost about $190 for the software. I would highly recommend downloading XAMPP which does the same thing for free. It comes with an MySQL server and sets the ports for you. Once everything is downloaded and your servers are started (apache and mysql) type "localhost" or "localhost:(your port number you set in the apache configuration)" into your browser to get to the xampp homepage and phpmyadmin will be in the top right tab. Clicking on this should get you going.
@kailashmodi298
@kailashmodi298 4 года назад
Getting error how i can contact u plz tekk
@Black-xy4pj
@Black-xy4pj Год назад
why didn't you show how to create the project folder...
@1BestCsharpblog
@1BestCsharpblog Год назад
watch the first part - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XAowXcmQ-kA.html
@johnpaulsantiago2034
@johnpaulsantiago2034 3 года назад
I am facing a problem when I try to add a new user into the database it says, "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "MyConnection.getConnection()" is null". I've been finding the error since the last day and up until now, I can't seem to fix it. Can somebody help me? I am still an IT student that's why I still have difficulty with this.
@1BestCsharpblog
@1BestCsharpblog 3 года назад
check if xampp is open, and start apach and mysql
@tipanjohnlennardb.6002
@tipanjohnlennardb.6002 2 года назад
Me to that error i can't fix it if the xampp is open how can i solve this problem?
@zulfaikhsanuddin6043
@zulfaikhsanuddin6043 Год назад
Have you found the solution?
@elikarlcalma4201
@elikarlcalma4201 5 лет назад
I have a problem in Prepared Statement please someone help me
@vinnaeyshnair4281
@vinnaeyshnair4281 3 года назад
Same . I keep getting a null exception there > Did you manage to solve it ?
@sheharyarali4505
@sheharyarali4505 4 года назад
no sound ..
@abulbasarpias
@abulbasarpias 4 года назад
good, but why there is no sound?
@akshat_jainn
@akshat_jainn Год назад
His choice
@1navaneet
@1navaneet 6 лет назад
make a video for home.when you make this videos.
@sanjukoujalagi5800
@sanjukoujalagi5800 5 лет назад
no audio...only video
@exceling3820
@exceling3820 4 года назад
video has no sound
@bellshi_
@bellshi_ 2 года назад
It is good tutorial but just got lazy to edit the video to cut the wrong step.
@kashmir398
@kashmir398 5 лет назад
i tried this code to connect to my database. but i cant seem to get the connection.
@kashmir398
@kashmir398 5 лет назад
Anyone else with this problem ? It may be a careless mistake of my own while coding. Ive spent days looking at it and still cant get it right
@1BestCsharpblog
@1BestCsharpblog 5 лет назад
did you added the mysql connector jar file to your project ?
@kashmir398
@kashmir398 5 лет назад
@@1BestCsharpblog Yes sir I did. Downloaded and added the jar file into the library. however, it shows .jar at the end unlike yours in the video which shows -bin.jar not sure if this could be the issue but....
@1BestCsharpblog
@1BestCsharpblog 5 лет назад
if you can't figure out what's the problem, get the source code form the link in the description
@kashmir398
@kashmir398 5 лет назад
@@1BestCsharpblog Okay will do :)
@tanvigurav928
@tanvigurav928 3 года назад
I am getting an NullPointerException error
@vinnaeyshnair4281
@vinnaeyshnair4281 3 года назад
Same. Have you managed to fix it because I need help
@girraj1093
@girraj1093 6 лет назад
How can I add images to jlabel in java
@delphiamadel4984
@delphiamadel4984 6 лет назад
by clicking icon on jlabel properties
@feather3006
@feather3006 3 года назад
Without audio ...seriously?
@tienayihabeley6549
@tienayihabeley6549 5 лет назад
no sound
@sebastianariastay6235
@sebastianariastay6235 6 лет назад
Are you God? :V
@giordanotubeo8778
@giordanotubeo8778 5 лет назад
Thanks a lot, but how to get the symbol .getDate() ??? .getDateFormat() is the only one appears! thanks
@kashmir398
@kashmir398 5 лет назад
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException anyone else having this error ?
@hug00l
@hug00l 5 лет назад
Did you find the solution?? Im having the same problem :(
@kashmir398
@kashmir398 5 лет назад
@@hug00l check your coding part where you insert sql query. There might be an extra '?' or lesser than the text fields you want to getText from
@vinnaeyshnair4281
@vinnaeyshnair4281 3 года назад
@@kashmir398 I checked mine and everything was okay . Im not sure why i still have the error
@zahralotfi9818
@zahralotfi9818 5 лет назад
No sound!!!!
@1BestCsharpblog
@1BestCsharpblog 5 лет назад
set the volume to the max
@megetube3584
@megetube3584 5 лет назад
video kana hojjachu keessanif bayyee galatooma
@dispydanio8372
@dispydanio8372 5 лет назад
dat filmpje is kort
@senapoochyful
@senapoochyful 3 года назад
..
@iceman340h
@iceman340h 5 лет назад
get up with the times speak, I stopped watch 3 seconds in
@annakarenina9600
@annakarenina9600 4 года назад
hi, i try to do the same coding as you but i got the com.mysql.jdbc.Driver Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException eror, please help me to solve this
@vinnaeyshnair4281
@vinnaeyshnair4281 3 года назад
Hi , I got the same error too. Did you find a solution to it because I need help
@DeepakLalchandaniProfile
@DeepakLalchandaniProfile 3 года назад
No audio
Далее
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Просмотров 1,9 млн
Reflection 70b Problems?! What We Know So Far...
19:39
Java NetBeans Login Systems  Tutorial
19:33
Просмотров 540 тыс.
Cursor Is Beating VS Code (...by forking it)
18:00
Просмотров 69 тыс.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Просмотров 1,9 млн