2)Write a Java Program that works as simple calculator .Use grid layout to arrange buttons for the digits and for the +,-,*,% operations .Add text field to display the results, Handle any possible exceptions like divide by zero.
2)Write a Java Program that works as simple calculator .Use grid layout to arrange buttons for the digits and for the +,-,*,% operations .Add text field to display the results, Handle any possible exceptions like divide by zero.