This class represents Swing’s table component and provides a rich API for managing its behavior and appearance. (In chapters 22 and 26 we enhance this application further to allow printing and print preview, as well as CORBA client-server interaction.) This chapter concludes with an expense report application demonstrating the use of different components as table cell editors and renderers, and the completion of the JavaBeans property editor we started to ! In the examples that follow, we construct-in a step-wise fashion-a table-based application used to display stock market data. This package consists of a set of classes and interfaces which we will review briefly here. Because of its complex nature, JTable has a whole package devoted just to it:. JTable is extremely useful for the display, navigation, and editing of tabular data. Stocks Table: part VI - Column addition and removal.Stocks Table: part IV - Sorting columns.Stocks Table: part III - Data formatting.Stocks Table: part II - Custom renderers.Stocks Table: part I - Basic JTable example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |