The obvious place to start is JOptionPane. Go to the method list and find a static method (because it's called without an instance) that takes one String (or Object) and returns... something.
int firstNumber = Integer.___(firstAmount);
Take that something and check out java.lang.Integer to find a static method that turns this something into an int.
____ secondAmount = JOptionPane.___("Second amount?");
int secondNumber = Integer.____(secondAmount);
You should be able to fill in these gaps now as well.
int total = firstNumber + secondNumber;
___.___(null, ""___ ___);
This one is a bit trickier, but here's my guess - the first gap is JOptionPane. That's because that's part of your requirements - output using JOptionPane. There is no "new" keyword here so it's going to be another static method. It takes two arguments. The first can be anything. The second is something that is returned by "" X Y. I'll let you puzzle this out for yourself, but think about your requirements - output the result.
jason tourne wrote:I am trying to add two ints taken from JOptionPane inputs and output the result in another JOptionPane. What I have so far is below, but I don't know what to put in the spaces provided.