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

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • ★★★Top Online Courses From ProgrammingKnowledge ★★★
    Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
    Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
    Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
    Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
    C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
    C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
    PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
    Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
    C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
    JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
    NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
    Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
    Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
    Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
    MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
    QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
    ★★★ Online Courses to learn ★★★
    Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqc...
    Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
    Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
    Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
    MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
    DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
    Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
    AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
    Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
    Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
    Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
    Kotlin Android Development Masterclass - bit.ly/2GcblsI
    Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
    ★★★ Follow ★★★
    My Website - 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

КОМЕНТАРІ • 42

  • @stevendorsey4850
    @stevendorsey4850 3 роки тому

    If you are watching this in 2020, the *passwordField* object now uses the *"getPassword()"* function.
    Not only that, but eclipse will not accept the command below, as the *getPassword()* function does not return an argument that is acceptable to the *setString()* function:
    *"pstQuery.setString(2, passwordField.getPassword());"*
    I was able to get mine to work by using teh following line of code:
    *"pstQuery.setString(2, new String(passwordField.getPassword() ) );"*
    Please note two things, I am learning to use eclipse with mySQLWorkbench. This is relevant for two reasons:
    1) I'm doing a customized Connection that differs from the tutorial, and makes use of a local SQL server on my laptop, instead of SQLite.
    2) As I am learning to create a Java program that connects to MySQL WorkBench, I am not learning to design a real-world program that would feature all the relevant security.
    If you are using this tutorial to do anything remotely professional, you want to *SALT* your passwordField, and use cryptographic functionality to keep it from being passed as clear text. This secures the password entry so that it is no longer easily accessible/readable by individuals with malign intentions.

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  10 років тому +1

  • @anghelutadragos1898
    @anghelutadragos1898 9 років тому +2

    do you have a playlist with all those videos ? or could you post the code on some site ?

  • @jenayajoseph154
    @jenayajoseph154 9 років тому +3

    Great tutorial. The Login Window helped a lot. I have a question though, how do I welcome the user by his full name that logged in, on a new Frame, using a JLabel?

    • @sammusaev5883
      @sammusaev5883 9 років тому +1

      +Jenaya Joseph Create an empty frame and add a JLabel on top of it.Once the user logs in, assign the username to the empty JLabel. Open that frame.

  • @franz3230
    @franz3230 7 років тому +3

    sir can you make a register tutorial with this? i really need the register

  • @jennyshah2922
    @jennyshah2922 7 років тому +2

    friends if you want to directly login without database connection that is the code for login i followed this code.
    String uname=textFieldUN.getText();
    String psf=passwordField .getText();
    if(uname.equals("jenny") && psf.equals("abccba")){
    JOptionPane.showMessageDialog(frame,"Successfully login");
    }else{
    JOptionPane.showMessageDialog(frame,"user name or password is invalid");
    }

    }

  • @AbdallahNasser94
    @AbdallahNasser94 8 років тому

    Thank you for teaching other how to program and thank you for the way of how you explain . But what i think is the beginner of java programming should start to create their own class by coding without dragging and dropping as a result they can easily move to learn OOP in java and aware of the need of reusing the class

  • @arnavganguly949
    @arnavganguly949 6 років тому +1

    Can you post the source code somewhere ??? Please I need it as I am on Mac

  • @digitalnomadg
    @digitalnomadg 7 років тому

    How can i export my database ? .. I mean , i have a small calculator project and suppose i have to give to the client but how i should write the code in such a way that when the user will open the application in his computer then it should run nicely. I dnt think with this localhost connection work. pls help

  • @vgplays1862
    @vgplays1862 5 років тому

    WHen i run the program i cant fetch the values at all... so i dont get the message whether the username is right or wrong

  • @ThePawanKrTiwari
    @ThePawanKrTiwari 3 роки тому

    Sir Can you please tell How to connect Mysql database with Java Ecclipse IDE ???

  • @abdirahmanfarah9425
    @abdirahmanfarah9425 5 років тому

    This is Fun
    Lecture

  • @mayaz5
    @mayaz5 8 років тому +1

    how can i encrypt password before saved in db ??

  • @Instantcrypt
    @Instantcrypt 4 роки тому

    how to singup and then login java coding in eclipse
    plz help me sir,,..,

  • @limlimminhkhai
    @limlimminhkhai 5 років тому

    I try to download as he showed but I don't know how to setup database what he had. Can someone help me with that. I did installed SQLite manager and when I clicked I pop up nothing.
    THank You

  • @azharuddinshaik1109
    @azharuddinshaik1109 8 років тому

    can u send me all your videos link as of now I found only 2 regarding on these topic

  • @Nadia-qb9mv
    @Nadia-qb9mv 6 років тому

    Thank you so much, it helped me a lot

  • @jeawonkwon8761
    @jeawonkwon8761 7 років тому +1

    How did you mask the password? Did u tell us how to in the video?

    • @rananauman3166
      @rananauman3166 7 років тому +1

      its a field named as PasswordField in window builder just around the normal text field

  • @abdirahmanfarah9425
    @abdirahmanfarah9425 5 років тому

    Thanks Teacher

  • @christiancabalar9124
    @christiancabalar9124 6 років тому +1

    how to fix this java.lang.nullpointerException??

  • @RexIDevil
    @RexIDevil 7 років тому

    I'm getting java lang null expection error please help me bro

  • @carldennisalingalan918
    @carldennisalingalan918 8 років тому +1

    java.sql.SQLEXception:path to'C:\Users\carl\Desktop\SQLite\Personel.sqlite':'C:\Users\carl\workspace\SmallProject\C:' does not exist
    This error pops up help me pls

    • @purelav
      @purelav 8 років тому

      I have the same problem, did you figure out how to solve this?

    • @carldennisalingalan918
      @carldennisalingalan918 8 років тому

      Put the Sqlite file in the path

    • @odthetourist
      @odthetourist 8 років тому

      did you fix it, coz mine still doesn't work even after I put the JAR files in

    • @purelav
      @purelav 8 років тому

      Bruh I'm still struggling you figure it out ?

  • @78501
    @78501 8 років тому

    how do i get it work with .getPassword instead of .getText ? if i use getPassword i get errors about the getString

    • @thecodeec
      @thecodeec 7 років тому

      why don't you just use .getText on the password field, it's gonna give you the string they enter as the password

  • @SHStuff
    @SHStuff 5 років тому

    Tnx sa subscribed. Done subscribed to ur channel

  • @pablopeter7829
    @pablopeter7829 7 років тому

    Thanks for sharing broo

  • @sharanv9182
    @sharanv9182 8 років тому

    i dont have sqlite but i want to make login app, i have problem comparing the input from the user to the username and password that have already been set...for e.g
    if (passwordField.equals("1234")

    • @name-mb8co
      @name-mb8co 8 років тому

      nope no step missing. May I have your source code so I can check xd?

    • @TheBrohman
      @TheBrohman 7 років тому

      You have to do: if(passwordField.getText().equals("1234")
      :)

    • @sharanv9182
      @sharanv9182 7 років тому

      thanks mate

  • @AlexSanz18
    @AlexSanz18 9 років тому

    I have problems to play this video ;(

  • @locateMohit
    @locateMohit 8 років тому

    Everything is good but what is guee it's G.U.I

  • @jonathanbundang9965
    @jonathanbundang9965 5 років тому

    What at cliff hanger

  • @locateMohit
    @locateMohit 8 років тому

    Everything is good but what is guee it's G.U.I