Architecture of the Java Drag-and-Drop Subsystem

Java > Core SWING advanced programming > 7. TABLE EDITING

 

Chapter 7. TABLE EDITING

Topics in this Chapter

  • Table Editing Overview

  • How the Editing Process Works

  • Using Buttons and Combo Boxes as Editors

  • Tabbing Between Editable Cells

All the tables that you have seen so far in this book have displayed static data. However, JTable allows the user to edit the table data if the underlying table model permits it. In this chapter, you'll see how to turn a read-only table into an editable one by using the editors that are installed by default in every table. You'll also see how to enhance your tables beyond the capabilities of the default editors by creating editors of your own and how to add useful mechanisms like the ability to use the tab key to move between cells while editing.

 

 



Core Swing
Core Swing: Advanced Programming
ISBN: 0130832928
EAN: 2147483647
Year: 1999
Pages: 55
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net