// This program gets two integers from the user and adds them up Input will be gotten using JOptionPane // class Add{ public static void main(String [] args){ int num1 = JOptionPane("Enter First Integer"); int num2 = JOptionPane("Enter Second Integer"); System.out.println("Your result is " + num1 + num2); } }