@@ -0,0 +1,2365 @@
+import javax.swing.JOptionPane;%0A%0Aclass GuiBasicCalc %7B%0A%0A        public static void add(int num1, int num2) %7B%0A%0A                int result = num1+num2;%0A                JOptionPane.showMessageDialog(null, %22%22+num1+%22 + %22+num2+%22 = %22+result,%22Addition Wizard%22, JOptionPane.PLAIN_MESSAGE);%0A        %7D%0A%0A        public static void sub(int num1, int num2) %7B%0A%0A                int result = num1-num2;%0A                JOptionPane.showMessageDialog(null, %22%22+num1+%22 - %22+num2+%22 = %22+result,%22Subtraction Guru%22,JOptionPane.INFORMATION_MESSAGE);%0A        %7D%0A%0A        public static void mult(int num1, int num2) %7B%0A%0A                int result = num1*num2;%0A                JOptionPane.showMessageDialog(null, %22%22+num1+%22 * %22+num2+%22 = %22+result,%22Multiplicationarianism%22,JOptionPane.WARNING_MESSAGE);%0A        %7D%0A%0A        public static void div(double num1, double num2) %7B%0A%0A                double result = num1/num2;%0A                JOptionPane.showMessageDialog(null, %22%22+num1+%22 / %22+num2+%22 = %22+result,%22Divided The Ranks%22,JOptionPane.ERROR_MESSAGE);%0A        %7D%0A%0A%0A        public static void main(String%5B%5D args) %7B%0A%0A                int firstNumber,secondNumber;%0A                String%5B%5D operations = %7B%22+%22,%22-%22,%22*%22,%22/%22%7D;%0A                String selection;%0A                int repeat;%0A%0A                do%7B%0A                firstNumber = Integer.parseInt(JOptionPane.showInputDialog(null,%22Input a number: %22,%22First Number%22,JOptionPane.QUESTION_MESSAGE));%0A                secondNumber = Integer.parseInt(JOptionPane.showInputDialog(null,%22Input another number: %22,%22Second Number%22,JOptionPane.QUESTION_MESSAGE));%0A                selection = (String)JOptionPane.showInputDialog(null,%22Operation?%22,%22Math is FUN%22,JOptionPane.QUESTION_MESSAGE, null, operations,null);%0A%0A                if (selection.equals(%22+%22)) %7B%0A                        add(firstNumber,secondNumber);%0A                %7Delse if (selection.equals(%22-%22)) %7B%0A                        sub(firstNumber,secondNumber);%0A                %7Delse if (selection.equals(%22*%22)) %7B%0A                        mult(firstNumber,secondNumber);%0A                %7Delse if (selection.equals(%22/%22)) %7B%0A                        div(firstNumber,secondNumber);%0A                %7D%0A%0A                repeat = JOptionPane.showConfirmDialog(null,%22Try another one?%22,%22Repeat?%22,JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE);%0A                %7Dwhile (repeat==JOptionPane.YES_OPTION);%0A        %7D%0A%7D%0A

Create GuiBasicCalc.java