土曜日, 2月 24, 2007

The Use of A Thread Class

Here is a short reminder for Thread class -- the use of a Thread class in a class that implements a Runnable interface. My point is pretty simple. Supply _this_ argument at construction time! The file will compile all right but the thread won't start if the argument is null.

If you ever care, try with this one. The following link will lead you to the page that will start a Java applet that shows a circle that changes its size with time. The source file is linked on that same page. Here is this:

Thread thread=new Thread(this);

ThreadTest

Laravel サイトのアップグレード

 Laravel のサイトをアップグレードする機会がありましたので、その方法をここで書いておきたいと思います。かなり構成というか書き方が変わってきているので注意が必要です。 1. 新しいLaravelプロジェクトの作成 まずはクリーンなLaravel環境を作成します。 compo...