http://www.lslnet.com/linux/docs/linux-2940.htm
你去这里看看那!

解决方案 »

  1.   

    swing缺省的显示字体是:
    family-tahoma
    name-tahoma
    style-plain
    size-11
      

  2.   

    关于设置字体的问题本论坛已有解决方案:你说的第二个方案是对的。但是你不需在一级级设,可以在application文件中统一设置如下:      Font f = new Font("宋体",Font.PLAIN,12);
          UIManager.put("Label.font",f);
          UIManager.put("Label.foreground",Color.black);
          UIManager.put("Button.font",f);
          UIManager.put("Menu.font",f);
          UIManager.put("MenuItem.font",f);
          UIManager.put("List.font",f);
          UIManager.put("CheckBox.font",f);
          UIManager.put("RadioButton.font",f);
          UIManager.put("ComboBox.font",f);
          UIManager.put("TextArea.font",f);这样把所有的都设置完了:)
      

  3.   

    to sharetop:
    thank u very muchbut better add down"      UIManager.put("Table.font",f);
           UIManager.put("TableHeader.font",f);"now it's all right?:-)
      

  4.   

    to sharetop(厚着脸皮):
    你是怎么知道UIManager.put("Menu.font",f);用法的?
    有什么详细资料吗?
      

  5.   

    我有相关资料,是orelly的一本电子书,给我你的mail我发过去。但是在java.sun.com也有资料可以看到的,具体不记得的了:)加分请点帖子上面的管理。
      

  6.   

    to sharetop:
    [email protected]
    thank u