Use JOptionPane to flag database connection error