rs2xml.jar free download

In your Java class, import the library using: import net.proteanit.sql.DbUtils;

Convert your result set easily: yourTable.setModel(DbUtils.resultSetToTableModel(rs));

In your IDE (e.g., NetBeans, Eclipse, IntelliJ), right-click your project, navigate to build path settings, and add the downloaded rs2xml.jar file.