I have been having this weird problem with this small part of code:
if(isURL)
File audio = new File(name);
else
URL audio = new URL(name);
Now isURL is a pre-declared boolean and name is a pre-declared string. I have all the proper imports but for some reason or another it tells me that my declaritions of the variables are not statements; if I put them in brackets it does the same thing but if I take them out of the if-else statement, it works fine (well if you change the name of one of the variables). Anybody have any ideas on this issue.