Help me with this code???

in this code i want to compare between 2 integers look and u will understand it

(((((

String o=

JOptionPane.showInputDialog("please enter the kind of operation (+,-,*,/,%");

int plus=Integer.parseInt("+");

int minus=Integer.parseInt("-");

int mult=Integer.parseInt("*");

int divide=Integer.parseInt("/");

int mod=Integer.parseInt("%");

switch(Integer.parseInt(o))

{

case plus: // iwant to compare between plus and o

JOptionPane.showMessageDialog(null, "the value = "+(x+y));

break;

}

)))))))