Why I get syntax error?
<p>Hi I wrote this code, and I dont understand why give me <code>syntax error on token "}", delet this token</code>?  </p>

<pre><code>private class DemoView extends View{
        public DemoView(Context context) {
            super(context);
            // TODO Auto-generated constructor stub
        }//here***

        final int x = 0;
        final int y = 0;

this.setOnTouchListener(new View.OnTouchListener(){
            public boolean onTouch(View v, MotionEvent e){
                switch(e.getAction()){
                case MotionEvent.ACTION_DOWN:
                    x++;
                    break;
             case MotionEvent.ACTION_MOVE:   // touch drag with the ball
                // move the balls the same as the finger
                    x = x-25;
                    y = y-25;   
                    break;
                }
                return true;
            }//here***
         }   
</code></pre>

<p>Thanks</p>
