Step-by-step explanation:
Create a JFrame container
1- In the Projects window, right-click the NumberAddition node and choose New > Other .
2- In the New File dialog box, choose the Swing GUI Forms category and the JFrame Form file type. Click Next.
3- Enter NumberAdditionUI as the class name.
4- Enter my. numberaddition as the package.
5- Click Finish.