Editable JTable Tutorial

前端 未结 6 788
名媛妹妹
名媛妹妹 2021-01-31 06:09

Are there any good books or website that go over creating a JTable? I want to make one column editable. I would like to actually put a inherited JCheckBox

6条回答
  •  深忆病人
    2021-01-31 07:11

    The class you want to look into extending to create your own behavior is DefaultTableModel. That will allow you to define your own behavior. A decent tutorial can be found on sun's site.

提交回复
热议问题