Java GUI Tutorial – Make a GUI in 13 Minutes

///Java GUI Tutorial – Make a GUI in 13 Minutes

Java GUI Tutorial – Make a GUI in 13 Minutes

FavoriteLoadingAdd to favorites

Free preview of my Java course:

Java468x60

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:

Recommended Channels to Subscribe to
Career Karma:
TheNewBoston:

~

(2nd channel)

Alex Lee

source

By |2020-07-19T08:24:45+00:00July 19th, 2020|Java Video Tutorials|27 Comments

27 Comments

  1. Alexandre M. Stratico July 19, 2020 at 8:24 am - Reply

    When I type panel. it doesn't auto complete, and if a just write manually everything just like it is in the video, the sentence appears with a sign saying that somethings wrong.

  2. One Point July 19, 2020 at 8:24 am - Reply

    9 likes 275 comments

  3. 3k1ng July 19, 2020 at 8:24 am - Reply

    When should i consider calling the JLabel through its class instead of placing it in the whole scope?

  4. Yagol Xu Chen July 19, 2020 at 8:24 am - Reply

    nice you play league of legends!!!

  5. colin Uout July 19, 2020 at 8:24 am - Reply

    Alex is the man ! thank you for yet another simple explanation

  6. Mephistopheles’ Son July 19, 2020 at 8:24 am - Reply

    thanks mate!

  7. Adam Clacher July 19, 2020 at 8:24 am - Reply

    legend

  8. •JHCP_ July 19, 2020 at 8:24 am - Reply

    Hey, sooo I get multiple errors for no reasons.. Here is my code:
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import javax.swing.BorderFactory;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class main {

    public class GUI {
    JFrame frame = new JFrame();
    JPanel panel = new JPanel();
    panel.setBorder(BorderFactory.createEmptyBorder(30, 30, 10, 30));
    panel.setLayout(new GridLayout(0, 1));

    frame.add(panel, BorderLayout.CENTER);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setTitle("Testing");
    frame.pack();
    frame.setVisible(true);
    }
    }

    public static void main(String[] args) {
    new GUI();
    }
    }

  9. Aiden Yang July 19, 2020 at 8:24 am - Reply

    G O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O E E E E Y Y Y Y

  10. Aiden Yang July 19, 2020 at 8:24 am - Reply

    G U U U I I I

  11. atn389 July 19, 2020 at 8:24 am - Reply

    GUI in Java is way easier thank in Python

  12. Ky July 19, 2020 at 8:24 am - Reply

    Eclipse. Nostalgic days of Minecraft plugin making

  13. __ July 19, 2020 at 8:24 am - Reply

    Hi!!. How to save designed GUI as a windows application, like you dont need to rerun it always.

  14. DolphinFlopFish July 19, 2020 at 8:24 am - Reply

    2:33 JAVAX

  15. Tubitus - Photoshop tutorials July 19, 2020 at 8:24 am - Reply

    Thanks man I finally understand how this works

  16. J T July 19, 2020 at 8:24 am - Reply

    If there’s one thought I have after watching this video, it’s that I’m reminded how thankful I am for having Xcode, interface builder, and swift. Makes Java look like it came straight out of the 80’s in comparison. lol

  17. O Caçador July 19, 2020 at 8:24 am - Reply

    A gooey?

  18. Jack Carlquist July 19, 2020 at 8:24 am - Reply

    Wild cards are an easy way to save some time. So instead of importing different elements in the swing library, you can just to import javax.swing.*;

  19. Revaz Bakuradze July 19, 2020 at 8:24 am - Reply

    What is your elo in League of Legends?

  20. Agastya July 19, 2020 at 8:24 am - Reply

    Help please:
    I'm getting a message saying invalid method declaration; return type required. Also in my statement which says New GUI, GUI is coming in red

  21. Fahad Hassan July 19, 2020 at 8:24 am - Reply

    O U R GUI

  22. Tom Eye The SFM guy July 19, 2020 at 8:24 am - Reply

    I have already clicked this button 100 times.

  23. Fuzed Cable July 19, 2020 at 8:24 am - Reply

    You are a REALLY GOOD TEACHER and I’m not even joking. Keep up the gud work! And thanks!

  24. Felipe Lima July 19, 2020 at 8:24 am - Reply

    your videos are amazing but the background music is so distracting, i can't focus on your voice

  25. FudgeBananaSwirl July 19, 2020 at 8:24 am - Reply

    Since you said Swing is outdated, what would you recommend for Java GUI programming? I’ve heard of Java FX. Would that be good to learn?

  26. Marc Moncada July 19, 2020 at 8:24 am - Reply

    Damn, the quarantine really gave you a viewer boost huh. Well deserved, keep at it.

  27. Athaariq Ardiansyah July 19, 2020 at 8:24 am - Reply

    Can we actually make GUI with GUI like on Visual Studio (but with Java)?

Leave A Comment

*