/**
 * @name        Simple Java Calculator
 * @package     ph.calculator
 * @file        Main.java
 * @author      SORIA Pierre-Henry
 * @email       pierrehs@hotmail.com
 * @link        http://github.com/pH-7
 * @copyright   Copyright Pierre-Henry SORIA, All Rights Reserved.
 * @license     Apache (http://www.apache.org/licenses/LICENSE-2.0)
 * @create      2012-03-30
 *
 * @modifiedby  Achintha Gunasekara
 * @modweb      http://www.achinthagunasekara.com
 * @modemail    contact@achinthagunasekara.com
 */

package simplejavacalculator;

public class SimpleJavaCalculator {

    public static void main(String[] args) {
        UI uiCal = new UI();
        uiCal.init();
    }

}

@@ -573,18 +573,20 @@
 lator %7B%0A
-%0A
  
+  %0A
    publi
@@ -622,23 +622,36 @@
 rgs) %7B%0A 
+     try %7B%0A
        
+  
 UI uiCal
@@ -671,16 +671,17 @@
         
+ 
 uiCal.in
@@ -690,13 +690,110 @@
 ();%0A    
+  %7D%0A      catch (Exception e) %7B%0A         System.out.println(e.getMessage());   %0A      %7D%0A      %0A   
 %7D
-%0A
 %0A%7D%0A

Update SimpleJavaCalculator.java