开发者

endless ndless list-like display/edit area with database records

开发者 https://www.devze.com 2023-02-04 18:31 出处:网络
开发者_如何转开发I am doing a pet project which needs to sync record with a JDBC database. I would like to have a endless list-like display/edit area which is 1-to-1 matched with records in database.
开发者_如何转开发

I am doing a pet project which needs to sync record with a JDBC database. I would like to have a endless list-like display/edit area which is 1-to-1 matched with records in database. This area will include a. JLabel("name"), JTextField(10), b. JLabel("Address"), JTextArea(20,30) etc. And there should be vertical scroll bar to scroll records up- and downward.

This is actually possible with Microsoft-Access, but is it also possible with JAVA

Thanks a lot!

Steven


You should look at JTable for this sort of thing. Here is a tutorial to get you started.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号