How to populate the data to Jtable from database directly
问题 I have display the Jtable depends on the particular column from database and final two column in my jtable is image fields.How can i change the column dynamically without affect the last two column.please advise me.how to do. 回答1: Use Vector from java.util.Collection See this example from http://www.roseindia.com import java.sql.*; import java.util.*; import javax.swing.*; import javax.swing.table.TableColumn; public class JTableResultSet { public static void main(String[] args) { Vector