Skip to main content

Using Swing’s JTable

  • Chapter
Pro Java 8 Programming
  • 4272 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Brett Spell

About this chapter

Cite this chapter

Spell, B. (2015). Using Swing’s JTable. In: Pro Java 8 Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0641-6_7

Download citation

Publish with us

Policies and ethics