What error?


catch(SQLException ex){
JOptionPane.showMessageDialog(null, "Error in SQL Statement");
}
A part of your code from above... Not a good way to troubleshoot. That "ex" up there is...