How to create windows and buttons in Java (graphical interface) - Java OOP Course Class #18

Опубликовано: 01 Май 2026
на канале: Academia dos Devs
15,023
790

Tired of creating your Java algorithms that only display messages in the console? In this lesson, you'll (finally) learn how to create a window with buttons and text fields. You'll learn the basics of creating a graphical interface in Java using the Java Swing library.

☕Meet the Academia dos Devs Mugs:
https://bit.ly/45HukWR

💭 Join our community on Discord
https://bit.ly/3USWquR

Links mentioned in the video ⚓

Documentation with all Java Swing components:
https://web.mit.edu/6.005/www/sp14/ps...

Social media:

📷 Instagram
  / academiadosdevs  

Log ⏱:
0:00 Creating a JFrame
5:37 Creating a button (JButton)
10:08 Button click function
14:15 Creating a label (JLabel)
15:23 Text field (JTextField)
18:39 Password field (JPasswordField)
20:43 Login Button
21:39 Login Function
24:51 Next Steps