Need help with java :( (19)

16 Name: #!/usr/bin/anonymous : 2006-11-19 23:35 ID:vCmK+V+c

how do I go about repeating
if (file.getName().contains("wmv")) { applicationPath = "C:\\Program Files\\Windows Media Player\\wmplayer.exe"; }
Runtime.getRuntime().exec(applicationPath + " \"" + file.getAbsolutePath() + "\"");

then? do I just go else if? (Horribly stupid question, I know.)

This thread has been closed. You cannot post in this thread any longer.