public void UpdateTable(){
try{
String sql = "SELECT user_lastname, user_firstname, user_mi, user_address, user_contact, user_email FROM loginform";
ps = conn.prepareStatement(sql);
rs = ps.executeQuery();
table.setModel(DbUtils.resultSetToTableModel(rs));
}
catch(Exception e){
JOptionPane.showMessageDialog(null, e);
}
}
我有这个方法但是当我运行我的程序时我得到了SyntaxError
..请帮我解决这个问题