Introduction - If you have any usage issues, please Google them yourself
With swing programming. First create a form, and set off by default turned off, set size, set not to change the size of the set can display 2, create a container, using GridBagLayout layout this way 3, achieved by the code inside the calculator in the form interface 4, through the realization of the calculator add (), sub (), multi (), division (), equal () function.