Ok, I got the MySQL error gone, it was still trying localhost woops. But now it still won't get past executing file chooser. I change the function for the excelchoose to add some prompts so I know where it's at:
Code:
private File chooseExcelFile () {
JOptionPane.showMessageDialog(null, "Part top");
JFileChooser chooser = new JFileChooser();
JOptionPane.showMessageDialog(null, "Part 1");
chooser.setFileFilter(new XLSFilter());
JOptionPane.showMessageDialog(null, "Part 2");
int returnVal = chooser.showOpenDialog(this);
JOptionPane.showMessageDialog(null, "Part 3");
if (returnVal == JFileChooser.APPROVE_OPTION) {
JOptionPane.showMessageDialog(null, "Part 4");
return chooser.getSelectedFile();
}
// cancel was clicked
JOptionPane.showMessageDialog(null, "Part 5");
return null;
}
On my local machine, perfect, even with the domain MySQL connection details, works like a charm.
But on the web link I sent you, it won't even print part 1. So what did I break now ha ha