|
Java™ by example!
|
|
|
How do I underline a cell in a JTable?

The easiest way is to use HTML in your text, check How do I create a JLabel with the text underlined? But here's a code sample that does not make use of the HTML feature. It underlines all Integers in the JTable whose values are between 1970 and 1980. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|