About a month has passed since I first learned Java by myself, and I want to create a GUI application using Java, so I will create a calculator application. This time, we will first create the appearance of the calculator application.
OS: Mac Language: JavaSE1.8 Eclipse
The website that I referred to when creating the program Start programming with Java
Lines 1-8: Import required libraries
Lines 18 to 21: Frame generation (adding a frame title, determining the frame size, etc.)
Lines 22-25: Creating a text box
Lines 27-51: Generation of numeric keypad. Arrange buttons such as numbers in a 4x4 grid.
Next time, we will create the processing of buttons such as number buttons.