JAVA - Create Login Form Using MySQL and Visual Studio Code

Поділитися
Вставка
  • Опубліковано 18 жов 2024
  • How to create a login user interface using Java, MySQL and vscode.
    *****************
    Source code : / java-create-form-95364064
    Free Document Proofreading
    Grammarly : grammarly.go2c...
    ********************************
    How to install XAMPP : • How to Install XAMPP 8...
    *******************
    SQL Query to create the USERS table:
    CREATE TABLE IF NOT EXISTS users (id INT( 10 ) NOT NULL PRIMARY KEY AUTO_INCREMENT, name VARCHAR(200) NOT NULL, email VARCHAR(200) NOT NULL UNIQUE, phone VARCHAR(200), address VARCHAR(200), password VARCHAR(200) NOT NULL)
    ******************* .
    ***********************************
    🔥 Complete Udemy Courses :
    ASP.NET MVC Course : www.udemy.com/...
    ASP.NET Course : www.udemy.com/...
    ASP.NET Core Web API : www.udemy.com/...
    React JS : www.udemy.com/...
    ⬇️ Free Document Proofreading ⬇️
    ► Grammarly : grammarly.go2c...

КОМЕНТАРІ • 43

  • @pawiesilva
    @pawiesilva 10 місяців тому +1

    This was so helpful to me, Please keep going.. are there any tutorial for create CRUD operation for java application in VS code?

  • @saavy4113
    @saavy4113 2 роки тому +2

    Hello sir great video👌, But can you plz tell @9:18 from Line 81 to 113 , from where you brought that code (which is helping you connect to the database).

  • @davidgarciacancio8044
    @davidgarciacancio8044 Рік тому +1

    Owesome! Fantastic tutorial! Thanks very much🙏

  • @62_savalijadhav10
    @62_savalijadhav10 7 місяців тому

    Can u show how did u copied the url in code for connecting database

  • @demiantah3179
    @demiantah3179 Рік тому

    Very clear video!

  • @crimsonflash-eo2xs
    @crimsonflash-eo2xs Рік тому

    Great video!!!. I wanted to know if there's a registration page tutorial link i could use together with this login page without Intelli IDEA?

  • @alisahin3166
    @alisahin3166 2 роки тому +1

    Great video! May I ask why do you use swing instead of Java FX? Do you got also a tutorial with Java FX? Thanks in advance.

    • @BoostMyTool
      @BoostMyTool  2 роки тому

      I use everything. But personally I prefer swing because it is easier. Do you have any reason to prefer java fx ? I have this video how to setup javafx in vscode: ua-cam.com/video/AubJaosfI-0/v-deo.html

    • @alisahin3166
      @alisahin3166 2 роки тому

      @@BoostMyTool No, I just did a quick google search, where most of people said that FX is the „new“ standard for GUI in Java and better also. So I was curious, why you did use it.
      Nevertheless, I copied the source code to my vs code from the description but it didn’t worked for me. I had an error, not sure which kind of, but I also put the jar in the lib. I will probably try it again today. Is there an alternative way for contacting you? Preferably Discord for example.

    • @dharunap9906
      @dharunap9906 10 місяців тому

      ​@@BoostMyToolcan you explain connecting javafx and MySQL using vs code?

    • @arochacarlstephen
      @arochacarlstephen 9 місяців тому

      @@BoostMyTool can you make tutorial how you connect javafx and MySQL using visual studio code?

  • @danabradley1803
    @danabradley1803 Рік тому

    need advice hopefully you respond i'm getting an error with this i followed everything step by step line by line but the issue is that the button for login and cancel is not showing up is it something i have to configure in my.json file am i suppsed to add more stuff to my vmargs for this to show up

  • @62_savalijadhav10
    @62_savalijadhav10 7 місяців тому +1

    Database is not getting connected

  • @CLIFFORD_HOLENI
    @CLIFFORD_HOLENI 2 місяці тому

    How did you get the Database url...?

  • @muhammadsaudkhan9951
    @muhammadsaudkhan9951 Рік тому +1

    i am using same code as yours however when trying to login it shows database connection failed?can you help me

  • @timunslay4755
    @timunslay4755 Рік тому

    NICE BROOO!!❤❤

  • @genesismeraj01
    @genesismeraj01 5 місяців тому

    Love you bro

  • @yohandias2359
    @yohandias2359 Рік тому

    whta is the file icon theme you are using in vs code

  • @furynoobgaming1152
    @furynoobgaming1152 10 місяців тому +1

    tried this, but when i tried to login it said "invalid email or password" even though im using the same password and email i kept down in my php admin while creating the database. how can this be fixed?
    Please please reply as soon as possible

    • @michaelchavezzapata4902
      @michaelchavezzapata4902 5 місяців тому

      Hola, me paso lo mismo pero debes revisar esta linea ResultSet resultSet = preparedStatement.executeQuery(); yo la tenia asi ResultSet resultSet = preparedStatement.executeQuery(sql); con argumento dentro de los parentesis pero va sin ese argumento, pruebalo

    • @michaelchavezzapata4902
      @michaelchavezzapata4902 5 місяців тому

      Linea 97 del video

    • @crazeeguy4589
      @crazeeguy4589 4 місяці тому

      @@michaelchavezzapata4902 bbro i try but it doesn't work for me

  • @elias-9395
    @elias-9395 2 роки тому

    Excellent work

  • @sakshivirdhe7925
    @sakshivirdhe7925 Рік тому

    But my data is not stored in database

  • @018_sayaksen7
    @018_sayaksen7 26 днів тому

    source code?

  • @AdebamboMoyosolaHamzat
    @AdebamboMoyosolaHamzat 2 роки тому

    Great video! i tried this, but when i tried to login it said "invalid email or password" even though im using the same password and email i kept down in my php admin while creating the database. how can this be fixed? thanks in advance!

    • @KristyMaCoy
      @KristyMaCoy 2 роки тому

      You need to provide more information to receive any help.

    • @yashvikhimani7909
      @yashvikhimani7909 Рік тому

      same problem is there any solution you get for that?

    • @ssk4875
      @ssk4875 11 місяців тому

      Did u get any solution for invalid username and password

    • @chromelearns
      @chromelearns 11 місяців тому

      This is an older tutorial but I wanted to provide what I used to get it to work because some people still have the same issue...
      The simplest thing: Instead of clicking the Play button or "Run Code" right click in LoginForm.Java and select Run Java.
      I figured out that it wasn't connecting to the database for some reason I don't think it uses the connector when you use Run Code in VSCode. Also remember to apply the password for your specific database since he doesnt do it in the vid.
      I did 2 other things to get the code to work but I'm not sure if that's just "me" problems or something in the tutorial. I still have 2 minutes left and so far it's a cool little project and I learned a lot and it was fun debugging.
      tldr: Remember DB password. right click LoginForm > Run Java.

  • @exchantv4781
    @exchantv4781 11 місяців тому

    WOW!

  • @jherimybernas8265
    @jherimybernas8265 2 роки тому

    I did it step by step but i didn't know the password and gmail. ?

    • @BoostMyTool
      @BoostMyTool  2 роки тому

      this is what you inserted in the database as explained at 1:10

  • @meghap6761
    @meghap6761 2 роки тому

    how do we will get line by line form

    • @BoostMyTool
      @BoostMyTool  2 роки тому

      I did not understand your question. I added the different components line by line using GridLayout(0, 1, 10, 10)

  • @yourkaa5670
    @yourkaa5670 2 роки тому

    Merci 🇨🇵

  • @abstylegaming
    @abstylegaming 2 роки тому

    Nice

  • @ixhu
    @ixhu 2 роки тому

    Habibi

  • @doglover82
    @doglover82 2 роки тому

    Can I devlop mobile app in vs code java

    • @BoostMyTool
      @BoostMyTool  2 роки тому +3

      maybe, but it will be very complicated and time consuming. You can use flutter with vscode to make mobile app, but you will use dart langage instead of java

    • @CLIFFORD_HOLENI
      @CLIFFORD_HOLENI 2 місяці тому

      I'll recommend kotlin for mobile app