Chapter 6. CREATING CUSTOM TABLE RENDERERS
Topics in this Chapter
Rendering Basics
Implementing a Custom Renderer
Calculating Column Widths
Table Striping
Multi-Line Header and Cell Rendering
Renderers and Tooltips
J
Table
is one of the most important components in the Swing toolkit. With very little effort, you can use it to display rows of column-centric data to the user. However, sophisticated users expect more than the relatively simple presentation that you get from the default behavior of JTable.
In this chapter and the next, you'll see how to use the rendering and editing techniques provided by JTable
to change its behavior in several ways. Although these mechanisms are inherently very simple, they are also extremely flexible and, with a little ...
Get Core SWING advanced programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.