JTable+JDBC: Easiest way

后端 未结 2 754
天涯浪人
天涯浪人 2020-12-12 07:08

I have a class View with a JTable and another class DB. In DB is a method with a database connection. When calling this method from

2条回答
  •  时光说笑
    2020-12-12 07:26

    The return type should be whatever you want your TableModel to support.

    See Table From Database for some ideas.

提交回复
热议问题