Using Swing’s JTable

  • Brett Spell


Many applications need to display data in a tabular form, and Swing provides a table component (also sometimes called a grid) that allows you to do so. The JTable class, defined in the javax.swing package, provides a great deal of functionality that you can use to create a user interface for viewing and updating data. This chapter covers some of the functionality that’s commonly needed when using a table component and illustrates how to implement it using. In the process, you’ll learn a great deal about how JTable works, how to use its existing capabilities, and how to extend its capabilities.


Selection Mode Text Field Sort Order Head Table Float Data 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Brett Spell 2015

Authors and Affiliations

  • Brett Spell
    • 1
  1. 1.TXUnited States

Personalised recommendations