blog

How to work with jTable in Java?

jTable is a collection of rows & column. It comes from javax.swing.jTable class.
For inserting or retrieving data from jTable we have to define a specific model called DefaultTableModel (javax.swing.table.DefaultTableModel). This model contains rows & columns just like jTable but does not exist on the view or GUI side, because model is just a template that holds data.
In DefaultTableModel we can set as many columns as we want and we can set any column as a Date type or Boolean type or any other data type.
 

Submitted By:

Drupal, Dries and Delhi

Submitted By:

What is a Custom Data Model & how to use it

Submitted By:

Common mistakes made while designing database

I have met plenty of students who come for guidance or seeking trainings on various databases. Database is hugely popular amongst the student community and its expertise is much coveted.

Submitted By: