在我的机子上面的DOC环境运行APPLET小程序时  他总是说:
不能读取APPLETVIEWER的属性文件:C:Documents andSettings\shiyide\.hotjava\properties 使用默认值 
愿码是这样的:
import java.awt.*;
import java.applet.*;
import java.util.*;
public class BorderLayoutDemo extends Applet
{
   public void init()
   {
      setLayout(new BorderLayout());
      
      add(new Button("This is arross the top"),BorderLayout.NORTH);
      add(new Label("The message is on the bottom"),BorderLayout.SOUTH);
      add(new Button("Left"),BorderLayout.WEST);
      add(new Button("Right"),BorderLayout.EAST);
      String message="This is the message in the Center!";
      add(new TextArea(message),BorderLayout.CENTER);
   }
}

 
											





 
	    



