×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT杂谈 / JAVA起步问题?
    我用JAVA1.3可以编应用小程序,但编基于浏览器的程序,例如 HELLO WORLD 这个最简单的,就是不出文字,光显现一个灰方框,是否我的WINDOW OR INTERVIEWER 没有装完整?
    • Let me try to answer your question
      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.