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() に行を作成し、それに値を入れる必要がありますか? 行を作成するにはどうすればよいですか? より良い解決策はありますか?