• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Java Sound.......any ideas???

HI

import java.net.URL.*;

URL welldoneurl = new URL("file://C:/Java/FYP/sounds/welcome.wav");
AudioClip welldoneclip = JApplet.newAudioClip(welldoneurl);


???
The compiler is returning an error saying that 'URL' is undefined?
any ideas?
0
Codster
Asked:
Codster
1 Solution
 
Venci75Commented:
change
import java.net.URL.*;
to
import java.net.URL;

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now