Multiplication between two cells of a JTable in Java

前端 未结 2 1294
再見小時候
再見小時候 2021-01-27 17:23

When I enter values in the cells of the 1st row of columns \"Units\" and \"Price\" , column \"Amount\"; the columns cell value should be set to the product of unit and amount .

2条回答
  •  离开以前
    2021-01-27 18:03

    When I enter values in the cells of the 1st row of columns "Units" and "Price" , column "Amount"; the columns cell value should be set to the product of unit and amount

    • have look at TableModelListener

    • have to read the Oracle JTable tutorial

提交回复
热议问题