Java GUI Tutorial - Make a Login GUI

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
    An easy way to make a GUI (Graphical User Interface) in java is with swing. Swing is outdated, but a good way to start learning. This is a slightly more complicated GUI than last week's, so if you want a simpler example, checkout my first GUI tutorial: • Java GUI Tutorial - Ma...
    I hope this helps you make your first java gui :) This is GREAT practice for getting your feet wet making a GUI!
    I hope you enjoyed java gui tutorial! -
    Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
    Free Tips: bit.ly/3U6HXcb
    Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.
    ~
    Alex Lee

Komentáře • 564

  • @alexlorenlee
    @alexlorenlee  Před 9 měsíci +5

    If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h

  • @magentawatchesvideos
    @magentawatchesvideos Před 3 lety +270

    Dude, you're saving computer science students everywhere.
    I'm using your videos to help with my coursework and you don't know how much it means to be able to watch this instead of searching stack overflow and then googling a dozen terms that I don't understand, or have to watch a video from 2014 that doesn't work because all the software has been updated.
    Thank you so much

    • @Khyrid
      @Khyrid Před 2 lety +1

      ^This

    • @carsanovadidrifto800
      @carsanovadidrifto800 Před 2 lety

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him.
      Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God.
      You are dead, and Jesus is your only Hope of life by reading The Bible. Start in Matthew, and try and read it through to The book of Revelation. Spend at least 15 minutes in a private place to read it. Read the Bible over and over again. The Creator of The universe, nature and all creation, has made Himself more clearly known through The Bible, as it is the only perfect, unchanging and authoritative revelation of God. You know there is an Almighty and Glorious God when you look at the universe and nature, but you can only know who He is by reading the Bible.
      Bible link for YOU: my.bible.com/bible/111/MAT.1.NIV
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
      bible.knowing-jesus.com/topics/Christ-Is-Lord
      Source: bible.knowing-jesus.com/topics/Christ-Overcoming
      Revelations 19:16
      "And on His robe and on His thigh He has a name written, “KING OF KINGS, AND LORD OF LORDS.”
      Acts 10:36
      "The word which He sent to the sons of Israel, preaching peace through Jesus Christ (He is Lord of all)"
      John 16:33
      "I have told you all this so that you may have peace in me. Here on earth you will have many trials and sorrows. But take heart, because I have overcome the world.”

    • @SlenderHackerBoy
      @SlenderHackerBoy Před rokem

      @@carsanovadidrifto800 no I don't belive in a god who will send me in hell just because I don't belive he exist

    • @YNightmareT
      @YNightmareT Před měsícem

      You are a computer science student! I am 13 wow I msut be ypung here!

  • @jscorpio1987
    @jscorpio1987 Před 3 lety +27

    I know what you mean about that awesome feeling when you write a program and make a button click actually do something for the first time. It’s like an entire new world of possibilities opens up to you! I still get that feeling every time I learn how to implement a new functionality and that’s exactly why I love programming! Love your videos. You have a passion that most CZcams programmers seem to lack, and it’s contagious.

  • @aliahgapor6489
    @aliahgapor6489 Před 4 lety +152

    been binge watching your videos since online class started, im a software engineering student. i understand you better than my lecturer 😂 thank you for these videos alex it's been very helpfullll to me🥺🥺

    • @adolfyuda3459
      @adolfyuda3459 Před 3 lety +1

      Me too , he takes his time and thank you bro 😎

    • @Apdirahim-Mawlid
      @Apdirahim-Mawlid Před 2 lety

      😂😂😂😂am also like that i don't understand my lecturer well

    • @dennisbarzanoff9025
      @dennisbarzanoff9025 Před 2 lety +2

      bro who binge watches programming 😭 what is wrong w u

    • @carsanovadidrifto800
      @carsanovadidrifto800 Před 2 lety

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him.
      Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God.
      You are dead, and Jesus is your only Hope of life by reading The Bible. Start in Matthew, and try and read it through to The book of Revelation. Spend at least 15 minutes in a private place to read it. Read the Bible over and over again. The Creator of The universe, nature and all creation, has made Himself more clearly known through The Bible, as it is the only perfect, unchanging and authoritative revelation of God. You know there is an Almighty and Glorious God when you look at the universe and nature, but you can only know who He is by reading the Bible.
      Bible link for YOU: my.bible.com/bible/111/MAT.1.NIV
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
      bible.knowing-jesus.com/topics/Christ-Is-Lord
      Source: bible.knowing-jesus.com/topics/Christ-Overcoming
      Revelations 19:16
      "And on His robe and on His thigh He has a name written, “KING OF KINGS, AND LORD OF LORDS.”
      Acts 10:36
      "The word which He sent to the sons of Israel, preaching peace through Jesus Christ (He is Lord of all)"
      John 16:33
      "I have told you all this so that you may have peace in me. Here on earth you will have many trials and sorrows. But take heart, because I have overcome the world.”

    • @dennisbarzanoff9025
      @dennisbarzanoff9025 Před 2 lety

      @@carsanovadidrifto800 #getalife

  • @andreeadan5595
    @andreeadan5595 Před 4 lety +22

    This one was really amazing and easy to understand! :) (and also the previous GUI tutorial). It will be really nice to see a GUI tutorial which uses information from an SQL database (for example, the login process to be successful only if the username and password match one combination from the database)

  • @karamhittini4998
    @karamhittini4998 Před 3 měsíci +3

    even 4 years after you posted this video I still am so happy that you did, thank you so much!

  • @sebastianguerrero7901
    @sebastianguerrero7901 Před 3 lety

    dude, I've literally had so much fun doing this GUI alongside your tutorial. Thank you so much man , it was so clear and I've never felt so accomplished just by doing my own GUI window hahahahah. I wish you the best!!!!

  • @Cinek
    @Cinek Před 2 lety +7

    I am learning Java at JetBrainsAcademy, and one of the task is to make a simple Tic Tac Toe game. I made it on backend with just console version. With your GUI tutorial I am trying to give it "a face" making visual version. Thanks Alex! It was pleasure to pursue into Swing and some frontend coding! :)

  • @salemgzouni1561
    @salemgzouni1561 Před 4 lety +12

    this guy is gonna make me get excellent grades in my exams. thank you Alex

  • @ibcentral4720
    @ibcentral4720 Před 4 lety +7

    You have no idea how helpful your videos are! Only in my second semester as a computer science major at the University of Wisconsin-Milwaukee, so I don’t know everything, but even stuff like the GUI’s are fun to watch! Keep it up. Lee GANG

  • @rahcaz3689
    @rahcaz3689 Před 4 lety

    I really love your videos. Just graduated with an Associates and want your videos are awesome to make sure I’m keeping on my toes about what I did in college lolz

  • @juanestebanparraparra6302

    I love your videos man! The way you teach is pretty clear and it is even confortable to hear your hehe. Thanks bro

  • @justinkim6172
    @justinkim6172 Před 3 lety +2

    Thanks for all you do man. I honestly learn a lot more from watching 10min of your videos than watching the assigned four 50min recorded lectures and reading the chapter from the textbook in school.

  • @aaronphilip2918
    @aaronphilip2918 Před 4 lety +1

    Dude i dont even know how to thank you my man! Ive waited a long time learning basic java and i didnt know how to make a button do an action. Thank you!!!🤍

  • @LuisOtavioZimmermann
    @LuisOtavioZimmermann Před 4 lety +3

    Amazing video! Thank you so much for this Swing videos, I'm doing a little system for a CS college homework and it was required to use Swing, you saved me.
    A big hey from Brazil, I love your videos.

  • @robertoa.tarazona2708
    @robertoa.tarazona2708 Před 4 lety

    Dude, thank you so much! You explained it so well and it looks fun. I was smiling when I finished and it worked!

  • @melanieminalang7648
    @melanieminalang7648 Před 4 lety +1

    hey this is my first time here in your channel and I like how you explain everything and it actually works and I really love it.... thank you very much and I hope to learn more about GUI..soon

  • @AvishekKumarSingha
    @AvishekKumarSingha Před 4 lety +1

    Love your simple your clean explanation. Thank you. Looking forward to videos on Java Database.

  • @ahmadalghali90
    @ahmadalghali90 Před 4 lety +9

    Thank you so much Alex, im a cs university student in my penultimate year,
    please continue doing what you're doing, im benefiting a TON from your tutorials..
    ideas for future videos: MORE GUI, maybe using actual design mode too,
    Also can you please cover JAVAFX? fabulous!!!

  • @Andrew-xs4qy
    @Andrew-xs4qy Před 3 lety +1

    you the man. i was stuck on a problem for 3 days and this video got me though it , thanks

  • @momodominic7641
    @momodominic7641 Před rokem

    This is the very simplest and easy to learn the GUI in java, yet this video is underrated

  • @parindyapigera1790
    @parindyapigera1790 Před 9 měsíci

    Dude, I'm love it... I have no words to describe how this video helped for me to make a GUI. :D

  • @chillndill
    @chillndill Před 3 lety +3

    Please keep making videos, you are an inspiration

  • @stevancosovic4706
    @stevancosovic4706 Před 3 lety

    Thank you Alex,
    I was troubled by the fact that I could not set the position of buttons, combo boxes and other components on panel. Set bounds method just instantly enlightened me :D

  • @kathrynanne6332
    @kathrynanne6332 Před 4 lety +3

    You explain things much better than my instructor in the college class I'm taking on Java. I've learned a ton from your videos. Could you make a GUI video using JavaFX instead of Swing?

  • @vadoksam9235
    @vadoksam9235 Před 18 dny

    This guy is so good at teaching and explaining as he goes a long. Such an amazing help!

  • @jinaypatel3015
    @jinaypatel3015 Před 3 lety +1

    This is my first time i did coding and i get success because of you bro :)
    love from qatar

  • @christianruiz2895
    @christianruiz2895 Před 2 lety

    BROOO...OMG Thank you! Online classes can be difficult but you really helped me!

  • @gonzaloivancofrereal5996
    @gonzaloivancofrereal5996 Před 4 lety +1

    Hey Alex, I really like it tutorials and they help me a lot. Now that you have come to the topic of GUI, I hope you will continue targeting tutorials on GUI programming. What you might want to use which makes GUI building much easier is the add on "Windowbuilder" where you can drag and drop the different swing elements. With this tool GUI's can be made in no time.
    I would love you to do a tutorial about associations between classes and perhaps how to scan through an ArrayList. These would be topics I really need to understand better for school.
    Thank you very much and keep going with your great work!

  • @nozoriagames7023
    @nozoriagames7023 Před 3 lety

    you are a legend. Best java GUI tutorial I've ever seen

  • @vernordmusran9964
    @vernordmusran9964 Před 4 lety +2

    I learn a lot from your channel less than 2 weeks! You deserve at least 1M subs. Thank you.

  • @alexalvarado2693
    @alexalvarado2693 Před 3 lety +1

    Bro, you make java coding seem so easy. I am very new to programming and will be starting my Java class at the end of the month and watching your videos to get a headstart on my skills. Thanks for the easy-to-understand projects.

  • @putkis
    @putkis Před 4 lety +1

    Good material as always. You can use "cmd + shift + o" in mac or "ctrl + shift + o" in windows to auto import stuff to save tons of time with Eclipse

  • @sinelihlengqaza9690
    @sinelihlengqaza9690 Před 4 lety +75

    thank you bro for helping me during quarantine

  • @Clean_Slate
    @Clean_Slate Před 4 lety +5

    High quality video, and really helpful! I would love to see even more videos on GUIs, keep 'em coming...
    Definitely got a sub from me! 😀

  • @Surgeryxperts
    @Surgeryxperts Před 4 lety +1

    Very nice video. It really helped me Alex.

  • @anweshapati2001
    @anweshapati2001 Před 3 lety +1

    thank you so much for these videos! they prove to be an amazing start point for getting into projects.

  • @alvinchen1032
    @alvinchen1032 Před 2 lety

    The Demo in 5:30 really helps me a lot. I have been stuck with this problem for a day.

  • @Odium_DOB
    @Odium_DOB Před 3 měsíci

    I'm exhuasted and this subject is my final subject in my class. I am going to enjoy summer, thank you. I am going to keep this channel in mind, you have done a great job at making this, thank you even if you don't make content anymore your effort was more than enjoyed and helped so many.

  • @tasneemkandil8725
    @tasneemkandil8725 Před 3 lety +2

    This is so helpful! Thank you :)

  • @joelrichmond6256
    @joelrichmond6256 Před 4 lety +3

    Thanks man you’re a hero esp during this online quarantine semester 🙏

  • @jacobmosier4712
    @jacobmosier4712 Před 2 lety +1

    Man your videos are so inspiring its rediculous! I'm someone who had no prior knowledge to coding whatsoever and with the help of your videos i've successfully made a login GUI specifically for the tictactoe game you showed us how to make with 2D Arrays lol, Love the content(even the tricking) and hope you're staying safe!

  • @glethridge
    @glethridge Před 3 lety

    Great examples. Keep up the great videos.

  • @monkeforlyf3238
    @monkeforlyf3238 Před rokem

    You are a blessing
    It's just best to learn new fields of Java although I'm a beginner but your vdos make me feel like a professional
    You're a culture 👑

  • @blueberrycheesecake598

    Thank you for making this video.. it is really helpful to my project. You really explain it well!!!

  • @user-ms3hz3ml6g
    @user-ms3hz3ml6g Před 4 lety +53

    OMG 40K SUBS!!!
    You deserve a billion

    • @oakcoral7614
      @oakcoral7614 Před 4 lety

      לגמרי

    • @toetoegan8999
      @toetoegan8999 Před 3 lety

      מה זה פה מועדון היהודים?

    • @King-bx4ch
      @King-bx4ch Před 3 lety +1

      There's over 3 billion devices that runs java. So over 3 billion followers

  • @TimmyGoesForTrip
    @TimmyGoesForTrip Před 4 lety

    gosh, that was awesome tutorial! Thank you!

  • @zaeemasghar1256
    @zaeemasghar1256 Před 4 lety +1

    after long time you came on GUI:)

  • @davidplumb2148
    @davidplumb2148 Před 4 lety

    1st time ever my program worked 1st time lol. Great stuff man. Please keep it up!!!❤❤❤

  • @mayamonir3692
    @mayamonir3692 Před 4 lety +2

    Thank you so much! I should start learning more 🙈 but i like it more to watch your videos

  • @bsate1618
    @bsate1618 Před 3 lety +1

    literal coming back from this channel every day sheesh!

  • @kanishkasharma2285
    @kanishkasharma2285 Před 3 lety +1

    Not just enjoyed really I have understood by heart. You are doing great as you are inc. Knowledge of java loving people like me🤩🤩

  • @nadee7332
    @nadee7332 Před 2 lety

    I understood very well. You're a good programmer. THANK YOU...

  • @gabe2560
    @gabe2560 Před 4 lety +1

    I really love your tutorials. They're so easy to follow and understand. I hope you can make a video on how to use javaFX, I really need help with that.
    Keep up the great work!

  • @KR.AM_
    @KR.AM_ Před 3 lety

    I really love this kind of videos of yours cuz I learn more unlike my prof(s) XD. Please make another video about linking your Login GUI to another page please.

  • @user-yw2xl5qo1p
    @user-yw2xl5qo1p Před 7 měsíci

    You just helped me complete my project. Great work

  • @dbybanez
    @dbybanez Před 3 lety

    Hi Alex! I find your channel very helpful for beginners like me who'd like to learn the basics of Java. And I think your channel is very useful! Can you make a tutorial on how to build a todo list? Thank you so much! Have a good day! :)

  • @marcoEnBici
    @marcoEnBici Před 3 lety +1

    14:42, I feel you. I had my moment when I created my first GUI.

  • @pharaways
    @pharaways Před 4 lety +1

    please do more java gui tutorial omg i love your videos!! and i need this for my project ;; thank you so much

  • @feliciabaham5446
    @feliciabaham5446 Před 3 lety +1

    Thanks for sharing...you've helped me understand so much

  • @zeryez6347
    @zeryez6347 Před 4 lety

    Ty for this video was looking for something like that for couple of days top explained 👍

  • @will-da-beast616
    @will-da-beast616 Před 3 lety

    really good tutorial. I couldn't find any other that could help me.

  • @baazkabaazka770
    @baazkabaazka770 Před 4 lety +1

    thank alot bro alot people know u go forward make more examples of GUI

  • @TuckerTheMandolinist
    @TuckerTheMandolinist Před 2 lety

    these are really helpfull! Thanks alex!

  • @user-xc1tg7bi8r
    @user-xc1tg7bi8r Před rokem

    thank you very much.i really admire the way you present it

  • @caseyj1144
    @caseyj1144 Před 4 lety

    This is so fun! Thank you :)

  • @affable.pebble
    @affable.pebble Před 2 měsíci

    Very cool! I'm starting to understand and love GUI 😂😊

  • @aryangaurav7883
    @aryangaurav7883 Před 3 lety +1

    Really awesome it was for me to make a GUI like this! Thank you..

  • @kaiza6319
    @kaiza6319 Před 2 lety

    I really needed that quote about college. Thanks man

  • @kasirivuhanning4482
    @kasirivuhanning4482 Před 4 lety +1

    Thank u Alex. Am designing my game and yr tutorials are so necessary

  • @_kevin_wong_
    @_kevin_wong_ Před 8 měsíci

    Helping me with a coding assignment so thank you!

  • @BlazinPass
    @BlazinPass Před 4 lety +1

    This was flipping awesome!!

  • @clarenz2942
    @clarenz2942 Před 2 lety

    Clean, smooth, perfect.

  • @fonzafe643
    @fonzafe643 Před 2 lety

    this guy is SUCH a legend.

  • @AlekeiCG
    @AlekeiCG Před 3 lety +1

    This was pretty awesome. This is worth 100 likes

  • @eyuelmulugeta7031
    @eyuelmulugeta7031 Před rokem

    no words just thank you!!!

  • @longkesh1971
    @longkesh1971 Před rokem

    Great video. That was fun.

  • @cosminionut5521
    @cosminionut5521 Před 4 lety

    Cheers for the good work!

  • @GospelForThisCity
    @GospelForThisCity Před 10 měsíci +1

    Hello Thanks a lot, for this amazing tutorial
    Your explanation makes things easy

  • @antonioresendiz2984
    @antonioresendiz2984 Před 4 lety +1

    PLEASE DO MOREEEE :)

  • @the3rd74
    @the3rd74 Před 3 lety +1

    THANK YOU SO MUCH FOR THIS :3

  • @alfredgaming8055
    @alfredgaming8055 Před 4 lety

    Nice video, liked and subscribed!

  • @abhijitbiradar
    @abhijitbiradar Před 4 lety

    nice video, explained in simple way

  • @ringnyu6476
    @ringnyu6476 Před 3 lety +1

    This is super awesome tutorial!

  • @Adam-gp3ij
    @Adam-gp3ij Před 3 lety

    Really helpful! Thx man

  • @fadaontop
    @fadaontop Před 2 lety +1

    Amazing stuff

  • @eastarwars464
    @eastarwars464 Před 4 lety +1

    I learned a lot and loved this

  • @adullamrevivalmovement
    @adullamrevivalmovement Před 3 lety +1

    Thank you very much sir, I'm learning a lot here.

  • @cathdiva1
    @cathdiva1 Před 4 lety

    You so good in explaining thank you very much

  • @osmedia7239
    @osmedia7239 Před 4 lety +42

    How have you not gone blind using a light ide? Jk, thanks for the tutorial. A java fx tutorial would be much appreciated :)
    Edit: there is an awesome eclipse plugin you can use called "windowbuilder" that does all the work for you, and you can build GUIs in a more friendly user interface environment

  • @wichyousra
    @wichyousra Před 3 lety +1

    one of the most useful fruitful helpful 1948 minutes in my life. Thanks you!
    When i remember how complicated typing text with sdl in c/c++ , i just start laughing lol

  • @minkyawthu9404
    @minkyawthu9404 Před rokem

    good bro.
    Thanks for teaching.

  • @DHUMALVAISHNAVSHARAD
    @DHUMALVAISHNAVSHARAD Před 3 lety

    thank u so much............it really help me 100%

  • @jokishwieu1641
    @jokishwieu1641 Před rokem

    Thanks a lot Alex

  • @adrianpineda2955
    @adrianpineda2955 Před 2 lety

    thanks a lot sir :D you really help me

  • @mvsprabash
    @mvsprabash Před 3 lety

    Thank you So Much Alex...!!

  • @onethreetechnologies3900

    Ohhh my God Alex🔥🔥🔥🔥🔥yeah I'm in class,, i gotta say that 🔥
    Wow

  • @jiggoqoila9241
    @jiggoqoila9241 Před 2 lety

    got university exams today, such a lifesaver!

  • @shivarathi5254
    @shivarathi5254 Před 4 lety

    Well done brother

  • @sashas9382
    @sashas9382 Před 4 lety +1

    I love your videos. can you please make more GUI's please