在 GUI 中显示 DefaultTableModel 中的所有模拟值,而不仅仅是最后一个

问题描述

我正在尝试显示从插座接收到的血压模拟器的所有模拟值

np.mean(a,axis=(0,2))
np.mean(a,1))

但尝试使用 DefaultTableModel 来显示

The UserID  sent from the socket was: 1
The SystolicBP sent from the socket was: 9
The DiastolicBP sent from the socket was: 6
The UserID  sent from the socket was: 2
The SystolicBP sent from the socket was: 11
The DiastolicBP sent from the socket was: 9
The UserID  sent from the socket was: 3
The SystolicBP sent from the socket was: 18
The DiastolicBP sent from the socket was: 14
The UserID  sent from the socket was: 4
The SystolicBP sent from the socket was: 15
The DiastolicBP sent from the socket was: 12
The UserID  sent from the socket was: 5
The SystolicBP sent from the socket was: 19
The DiastolicBP sent from the socket was: 16
The UserID  sent from the socket was: 6
The SystolicBP sent from the socket was: 14
The DiastolicBP sent from the socket was: 11
The UserID  sent from the socket was: 7
The SystolicBP sent from the socket was: 19
The DiastolicBP sent from the socket was: 16

我只得到表中的最后一个模拟值 7 19 16

如何全部显示

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)