Syntax error, insert ";" to complete Statement
This is the .java file for a small application I am writing in Android through Eclipse, and I am having a minor error or syntax glitch.
at the end bracket marked by asterisks, eclipse is reporting the error 'Syntax error, insert ";" to complete Statement'. I have searched the code, and find nothing unaccounted for or out of place. Could someone please identify or tell me how to fix this? If you need other files, tell me in the comments. Thanks in advance :)! 



    package org.example.knittingframe;

    import android.app.Activity;
    import android.content.Intent;
    import android.os.Bundle;
    import android.text.Editable;
    import android.view.View;
    import android.widget.Button;
    import android.widget.EditText;
    import android.widget.TextView;

    public class KnittingFrame extends Activity {
        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
    
            final TextView textview = (TextView)findViewById(R.id.textview); 
            final EditText op1 = (EditText)findViewById(R.id.NumBox1);
            final EditText op2 = (EditText)findViewById(R.id.NumBox2);
            final Button btnAdd = (Button)findViewById(R.id.addBox);
        
            btnAdd.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v) {
            int a, b;
       	    a = Integer.parseInt(op1.getText().toString());
      	    b = Integer.parseInt(op2.getText().toString());
      	    int sum = a + b;
       	    textview.setText(String.valueOf(sum));
            }
        **}** // Here is where the error occurs
        }
     }
Syntax error, insert ";" to complete Statement
===

This is the .java file for a small application I am writing in Android through Eclipse, and I am having a minor error or syntax glitch.
at the end bracket marked by asterisks, eclipse is reporting the error 'Syntax error, insert ";" to complete Statement'. I have searched the code, and find nothing unaccounted for or out of place. Could someone please identify or tell me how to fix this? If you need other files, tell me in the comments. Thanks in advance :)! 



    package org.example.knittingframe;

    import android.app.Activity;
    import android.content.Intent;
    import android.os.Bundle;
    import android.text.Editable;
    import android.view.View;
    import android.widget.Button;
    import android.widget.EditText;
    import android.widget.TextView;

    public class KnittingFrame extends Activity {
        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
    
            final TextView textview = (TextView)findViewById(R.id.textview); 
            final EditText op1 = (EditText)findViewById(R.id.NumBox1);
            final EditText op2 = (EditText)findViewById(R.id.NumBox2);
            final Button btnAdd = (Button)findViewById(R.id.addBox);
        
            btnAdd.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v) {
            int a, b;
       	    a = Integer.parseInt(op1.getText().toString());
      	    b = Integer.parseInt(op2.getText().toString());
      	    int sum = a + b;
       	    textview.setText(String.valueOf(sum));
            }
        **}** // Here is where the error occurs
        }
     }