O'Reilly logo

Core SWING advanced programming by KIM TOPLEY

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required