show compilation errors with JOptionPane