-2
I created a graphical user interface in Netbeans where I inserted a Jtable into a Jframe FORM. I have a Mysql database whose columns are:
Id: Integer
Name: String
Active: Boolean
But when I use: jTable.setModel(DbUtils.resultSetToTableModel()) (RS2XML.jar library method), Jtable is filled all as String.
How do I get Jtable to be populated with the correct data types equal to the database (Integer, String and Boolean)?
There is no way to do so, because the resultToTableModel() method already plays the values directly in the table.
– Arroiz