title: Interface OnClickListener cannot use my onClick Method?
body: <p>here is my big problem:</p>
  
  <p><a href="http://www.bilder-space.de/show_img.php?img=7371f3-1333218887.jpg&amp;size=original" rel="nofollow">http://www.bilder-space.de/show_img.php?img=7371f3-1333218887.jpg&amp;size=original</a></p>
  
  <p>and the code:</p>
  
  <pre><code>package org.madmax.sudoku;
  
  import android.app.Activity;
  import android.content.Intent;
  import android.os.Bundle;
  import android.view.View;
  import android.view.View.OnClickListener;
  
  public class SudokuActivity extends Activity implements OnClickListener {
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
  
          //Set up Click Listener for all Buttons
          View continueButton = findViewById(R.id.continue_button);
          continueButton.setOnClickListener(this);
          View newButton = findViewById(R.id.new_button);
          newButton.setOnClickListener(this);
  
          public void onClick(View v) {
              switch(v.getId()) {
              case R.id.about_button:
                  Intent i = new Intent(this, About.class);
                  startActivity(i);
                  break;
              }
          }
  
      }
  }
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>-void is an invalid type for the variable onCLick()
  </code></pre>
  
  <p>Why does eclipse give me this errors?</p>