Java JLabel, break text to next line?

前端 未结 3 473
终归单人心
终归单人心 2021-01-11 23:27

It\'s been awhile since I asked a question!

I\'m developing an application in Java where JLabels are used. Anyway, as you may or may not be able to see

3条回答
  •  花落未央
    2021-01-11 23:53

    As I recall, you need to use a JTextArea if you want textwrap. JLabel doesn't do it.

提交回复
热议问题