A little understanding of DataGrid in java in JTABLE and .NET.

xiaoxiao2021-03-06  46

Today, I did the Swing interface processing in Java. I used JTable to display data and operated data in JTable, because I just contacted SWING, I didn't understand many of them. After reading some JTABLE, I have a little sensibility. Understand, this and .NET's DataGrid has some acquaintance. Both is the application of MVC mode

The data support in JTABLE is TableModel, which can be designed to populate JTABLE, which is used today, or it can be an array, havehtable, and more. JTable is only responsible for displaying data, and processing of data is Vectot in the Model layer or array

Data support in DataGrid is DataTable, data is displayed in DataGrid, but the processing of data is done in DataTable,

So today's a little experience is that technology is the same, one concept can cause multiple processing methods.

Take advantage of

转载请注明原文地址:https://www.9cbs.com/read-79953.html

New Post(0)