First of all, I do not understand your question very well, because I seldom read Chinese computer books. I strongly suggest you post your question in English, even in shattered English. Otherwise, you will regret your sticking to Chinese computer terms. It is not one or two days's work to get used to communicate with other about computer things in English.
I guess you meant Applet by 基于浏览器的程序. The grey area you saw implies your browser does not find your applet class.
The case is like: you put your class at location A, but your browser tried to look for
applet class at location B. To check this problem, go to View|Java Console in your IE browser. You will see ClassNotFoundException.
Another possibility is you wrote your applet using Java Swing. Present browsers do not support Java Swing. In such a case, your browser will fail to load your applets, too.
In one word, your CodeBase should point to the right place.