-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.1
-
x86
-
solaris_8
STEP TO REPRODUCE:
1. Install Ladybird b13 on local system.
2. Set the JAVA_HOME and PATH to the current Ladybird b13 build.
3. CD into the demo/sound directory and run the JavaSoundApplet demo by entering the following command:
appletviewer JavaSound.html
RESULT:
When the JavaSoundApplet opens, the Applet Info pops out giving the following info:
" When running the Java Sound demo as an applet these permissions are necessary in order to load/save files and record audio:
grant {
permission java.io.FilePermission"<<ALL FILES>>", "read,write";
permission javax.sound.sampled.AudioPermission "record";
permission java.util.PropertyPermission "user.dir", "read";
};
The permission need to be added to the .java.policy file. "
However, if user want to update .java.policy file, she/he would probably does not know the directory of the .java.policy file. Either the README.txt contain the needed info for me to find the .java.policy file. To make jdk sound demo more user friendly, I suggest to specify the .java.policy directory in the Applet Info dialog box. The permission will affect the "Capture/Playback" section of the sound demo.
1. Install Ladybird b13 on local system.
2. Set the JAVA_HOME and PATH to the current Ladybird b13 build.
3. CD into the demo/sound directory and run the JavaSoundApplet demo by entering the following command:
appletviewer JavaSound.html
RESULT:
When the JavaSoundApplet opens, the Applet Info pops out giving the following info:
" When running the Java Sound demo as an applet these permissions are necessary in order to load/save files and record audio:
grant {
permission java.io.FilePermission"<<ALL FILES>>", "read,write";
permission javax.sound.sampled.AudioPermission "record";
permission java.util.PropertyPermission "user.dir", "read";
};
The permission need to be added to the .java.policy file. "
However, if user want to update .java.policy file, she/he would probably does not know the directory of the .java.policy file. Either the README.txt contain the needed info for me to find the .java.policy file. To make jdk sound demo more user friendly, I suggest to specify the .java.policy directory in the Applet Info dialog box. The permission will affect the "Capture/Playback" section of the sound demo.
- duplicates
-
JDK-6432318 JavaSoundDemo: make good examples to work with JavaSE 5.0+
-
- Open
-