Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个由 5 列和 0 行组成的 JTable,最初,我没有数据,但我将进行查询,例如:
Select f1,f2,f3,f4,f5 From Users;
当我要使用while(rset.next())等rset.getString(1)...
while(rset.next())
rset.getString(1)
我应该在每个 .next() 上创建一行并将值放入其中吗?如何创建行?有更好的解决方案吗?