i tried to suppress a depcrecation instead of restriction
@SupressWarnings("deprecation")
i found something on a particular project setup on my projects..
right click projects >...
Type: Posts; User: chronoz13
i tried to suppress a depcrecation instead of restriction
@SupressWarnings("deprecation")
i found something on a particular project setup on my projects..
right click projects >...
im really messed up and dont know how to apply this on netbeans... and im still getting that exception no matter what i do...
i searced the google with keywords like "preferece settings"...
this is one of the hardes problem i need to resolve in the sound part of my game... ive been searching the whole web.. as far as i can go.. but i ended up messing things... i kept narrowing things...
by the way.. i don't have any idea where to and what to find in my IDE to set up the same thing...
Windows -> Preferences -> Java -> Compiler -> Errors/Warnings
i saw these statements somewhere in google as well.. perhaps that person encountered some problems with this one using eclipse.. and that person manages to compensate with the issue.
but the...
import java.io.FileInputStream;
import java.io.InputStream;
import sun.audio.AudioPlayer;
import sun.audio.AudioStream;
Exception in thread "main" java.io.IOException: could not create audio stream from input stream
at sun.audio.AudioStream.<init>(AudioStream.java:65)
at Sample.main(Sample.java:15)...
import java.io.*;
import sun.audio.*;
public class Sample
{
public static void main(String[] args)
throws Exception
{