Forums Register Login

How to make JLabel text display many rows

+Pie Number of slices to send: Send
How to make JLabel text display many rows
Exclusion of this method:
JLabel.setText("<html>hhhhh<br>jjjjjj</html>")
+Pie Number of slices to send: Send
The simple way is to use HTML text only, to have customised LabelText. Otherwise You have to write your own LabelUI.
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 765 times.
Similar Threads
TextArea String formatting issue
JLabel Word Wrap
2 lines of text for a label?
no mouseClicked when TransferHandler set for JLabel?
I need to display one JLabel text to display in two rows/lines
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:09:30.