Ankit Kumar Singhal Ankit Kumar Singhal - 1 year ago 96
Java Question

How to implement tablemodel in java?

I am new with JAVA. I have started using JTable. I could not understand how to use tablemodel with JTable. Objective is to understand the use of tablemodel.

Answer Source

As it's name suggests... the TableModel is a model for the table. The JTable is a generic utility which can display data from any source. By implementing a concrete TableModel you are giving the JTable all it needs to populate itself.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download