スレッドのスタートと終了時にアラートを表示させたいのですが,スレッド終了が取得できません.
何か方法は無いでしょうか?プログラムの一部を記載します.

testActivity.java
public void onStart() {
super.onStart();
progressDialog = new ProgressDialog(this);
〜略〜
progressDialog.show();

testClass testclass = new testClass();
Thread thread = new Thread(testclass);
thread.start();
alert("Start", "処理開始");
}
public void alert(String title, String message) {
final AlertDialog.Builder alert = new AlertDialog.Builder(this);
〜略(タイトル,本文,ボタン設定)〜
alert.show();
}

testClass.java
public void run() {
while(i < 10) {
i++;
Thread.sleep(1000); // try catch略
}
}