不懂为什么报红,大萌新一个。🌚报红是DefaultTableModel bookTablesetRowCount ResultSet getString addRow代码是直接照着打的..不懂为什么错这么多qwq
你把鼠标悬停在报红的代码上,defaulttablemodel和preparedstatement,这应该是对应的包没有导入进来的,import一下就好了,希望对您有所帮助,有用的话采纳一下吧