How do I attain a MultiLine text in a JTable header?

Sandip Chitale

The default JTable Header is implemented using a JLabel which supports the simple HTML syntax. Thus you could use

"<html>First Line< br>Second Line</html>"

as header string for a column.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact