就是不论字体的类型,还是字符的多少,都可以从上到下输出
用JavaApplet 嵌入在html文件中

解决方案 »

  1.   

    abstract  void drawString(AttributedCharacterIterator iterator, int x, int y) 
              Draws the text given by the specified iterator, using this graphics context's current color. 
    abstract  void drawString(String str, int x, int y) 
              Draws the text given by the specified string, using this graphics context's current font and color. 
    这是graphics的drawString的两个方法,你说的可能是上面的那个方法,它的意思是输出iterator指定的文本,但好象不是说要纵