Creating a Graphical Calculator in Java | A step-by-step tutorial using Swing and AWT

Опубликовано: 24 Апрель 2020
на канале: Java Coding Community
7,372
104

Creating a Calculator in Java using Swing and AWT. Today, we're going to create a Graphical Calculator using Java Programming Language and it's Swing and AWT packages for Graphical User Interface components. It is a great way to learn how to create GUI Interfaces that use action listeners in Java and to test your knowledge.

The code is not hard to understand but I will try to break this up into pieces – line by line - so you get full clarification.



TABLE OF CONTENTS:
0:00 - 0:40 - Introduction to the project
0:50 - 2:00 - Setup, IDE, Code
2:05 - 4:30 - Creating a Container(JFrame) and text areas
4:36 - 6:15 - Creating Buttons
6:30 - 9:17 - Explaining createButtons() method
9:20 - 10:43 - Explaining addObjectsToScreen()
10:45 - 12:00 - Explaining frame.setVisible(true)
12:15 - 14:25 - Recap of everything we learned
14:28 - 17:50 - Adding functionality to our buttons
18:00 - 21:23 - Explaining the Equals button
21:23 - 22:58 - Testing the Calculator
23:00 - 23:23 - Catching the exception
23:35 - 24:00 - Recap
24:00 - 25:27 - Outro


Eclipse IDE - Mac/Windows/Linux: https://www.eclipse.org/downloads/pac...
GitHub repository: https://github.com/javacodingcommunit...
Follow me on Instagram:   / javacodingcommunity  


Смотрите видео Creating a Graphical Calculator in Java | A step-by-step tutorial using Swing and AWT онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Java Coding Community 24 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,372 раз и оно понравилось 104 людям.