Java GUI Tutorial – Make a GUI in 13 Minutes



Full Java Course: https://course.alexlorenlee.com/courses/learn-java-fast

I recommend installing Tabnine autocomplete on your IDE (free):
https://www.tabnine.com/get?lang=java&utm_source=youtube.com&utm_medium=Ins&utm_campaign=AlexLee

If you’re new to programming, I recommend you use Edabit: https://edabit.com/?ref=alexlee

Disclosure: Tabnine & Edabit links provided are linked to my affiliate accounts & support the channel.

This is a REAL project from Princeton!
https://introcs.cs.princeton.edu/java/15inout/GUI.java.html

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. Swing has code that lets us call methods with GUI objects to make our own GUI.

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! –

Free tips and programs: http://alexlorenlee.com
Programmer Humor: https://www.xonot.com – Promo code: “ALEX10” for 10% off

Recommended Channels to Subscribe to
Career Karma: https://youtube.com/channel/UCkCwv67-HTCzIhxLG8aHOQQ
TheNewBoston: https://youtube.com/user/thenewboston

~
https://discord.com/invite/Yk3uqST
https://instagram.com/alexlorenlee
https://youtube.com/channel/UCLkeDGcXfiKlN2imazwkg4A (2nd channel)

Alex Lee

35 thoughts on “Java GUI Tutorial – Make a GUI in 13 Minutes

  1. Hi! I am new to Programming. Is there anyone who can explain what GUI is for? From what I have seen from this video, I assume that is one of ways to make websites I guess… and I just realized how well known websites could have millions of codes to express themselves. SMH…

  2. he makes some of the worst videos he just assumes that his viewers know the stuff already , but they don't i just wasted my time learned just to copy and type and become angary

  3. Hello please i need your help: i am using netbeans: an admin logs in admin area and uses an event listener to set one of 2 panels: button notax sets notax panel and turns disabled or button withtax sets withtax panel and turns disabled. Upon logout no problem. But I need that when i close the app with system 0 exit or whatever method (it's a button) that when i run the program again, i get the admin panel setting displayed back, do you know please then how i can keep the same frame state after closing/reopening: when i use "new frame set visible true" in the main args, it resets and the panel doesn't appear again unless the admin selects it again. An if statement didn't work no matter regular or with egetsource(), do you have please an idea about how i can solve the problem? thanks a lot in advance.

  4. Nice work you had to add private JFrame frame;
    and others
    at first then explaining them one by one it would be much better

    anyway I got great idea from your tutorial it helps me to do something good 🌺🌺🌺😍

Leave a Reply

Your email address will not be published. Required fields are marked *