Is it possible to include JButton in a JTable?

后端 未结 3 1290
既然无缘
既然无缘 2021-02-08 08:05

I have a JTable that stores the results of a database query, so far so good. What I want is for the last column in each table to have a clickible JButton that will open the edit

3条回答
  •  名媛妹妹
    2021-02-08 08:47

    You may also find my tutorial on a similar subject (in this case, using a JPanel) helpful as well: Custom JPanel cell with JButtons in JTable

提交回复
热议问题