换句话说就是怎样使Label显示文字可以换行!

解决方案 »

  1.   

    我见过一个版本的delphi4的label有这种功能.不过不知道是什么版本.你可以实时下面的方法.
    Label1.Caption := 'hello' + #13 + 'from' + #13 + 'whoo'.
      

  2.   

    Sorry!
    This is java area.
      

  3.   

    when using LookAndFeel of java,you realize your dreams.
    As you know,JTextArea can realizes your ideas.but its LookAndFeel is unfit.
    so you should change LookAndFeel of JTextArea into LookAndFeel of Label.
    at the same time,ivoking the methods of JTextArea:
    JTextArea.setWraps(true);
    JTextArea.setEditable(false);
    ...
    good luck.