Applet.newAudioClip(url) - replay

Please shed a light, I like to replay (repeat play) the audio. Any
libraries to handle this ? Thanks.
0
moongeegee (52)
7/8/2008 1:21:05 PM
comp.lang.java.help 12819 articles. 0 followers. Post Follow

3 Replies
222 Views

Similar Articles

[PageSpeed] 22

moongeegee wrote:
> Please shed a light, I like to replay (repeat play) the audio. Any
> libraries to handle this ? Thanks.

See AudioClip.loop() in the docs.

-- 

Knute Johnson
email s/nospam/knute2008/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
      ------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
0
nospam8071 (1252)
7/8/2008 6:16:07 PM
On Jul 8, 11:21=A0pm, moongeegee <moongee...@gmail.com> wrote:
> Please shed a light, I like to replay (repeat play) the audio. Any
> libraries to handle this ?

<http://java.sun.com/javase/6/docs/api/javax/sound/sampled/package-
summary.html>

>..Thanks.

No worries.

--
Andrew Thompson
http://pscode.org/
0
andrewthommo (3108)
7/9/2008 6:52:03 AM
On Jul 8, 11:21=A0pm, moongeegee <moongee...@gmail.com> wrote:
> Please shed a light, I like to replay (repeat play) the audio. Any
> libraries to handle this ?

passage.html>

>..Thanks.

No worries.

--
Lynn Cohen
http://pscode.org/


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[Zionism, NWO, Iraq, Saddam, terror, genocide, Illuminati,
war, military, biological]

[Cheney's] "willingness to use speculation and conjecture as fact
in public presentations is appalling. It's astounding."

--- Vincent Cannistraro, a former CIA counterterrorism specialist

"The CIA owns everyone of any significance in the major media." 

--- Former CIA Director William Colby

When asked in a 1976 interview whether the CIA had ever told its
media agents what to write, William Colby replied,
"Oh, sure, all the time."

[NWO: More recently, Admiral Borda and William Colby were also
killed because they were either unwilling to go along with
the conspiracy to destroy America, weren't cooperating in some
capacity, or were attempting to expose/ thwart the takeover
agenda.]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is just a reminder.
It is not an emergency yet.
Were it actual emergency, you wouldn't be able to read this.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0
andrewthommo (3108)
7/9/2008 5:37:36 PM
Reply:

Similar Artilces:

NEWBIE HELP! java.lang.NoSuchMethodError Applet
Hi all, im fairly new to the java world and need some help sorting an applet problem im having. Ive developed an applet that reads in xml files from the web - which works fine with appletviewer in eclipse, and the applet itself works locally when it doesnt use the xml files. However, when i try to run it in a web browser it just stays grey and the java console reports: java.lang.NoSuchMethodError: com.esp.control.ESPCentralProcess.generateCourseData()Ljava/util/ArrayList; at com.esp.gui.ESPStartUp.start(ESPStartUp.java:219) at com.esp.gui.JPanelManager.panelAdd(JPanelManager.java:151) at...

HELP with java APPLETS
is there any available source code on how to simply write a string inside a rectangle when creating an applet or a link where it is explicitly discussed? i need it urgently. comments are very much appreciated.thank you. la.foma@gmail.com wrote: > is there any available source code on how to simply write a string > inside a rectangle when creating an applet or a link where it is > explicitly discussed? i need it urgently. > > comments are very much appreciated.thank you. Here is the applet code and the code for the HTML file to show it. To see it, run the appletviewer or load the HTML file in your browser. import java.applet.*; import java.awt.*; public class test extends Applet { public void paint(Graphics g) { g.drawString("Hello World!",10,20); } } <html> <head> </head> <body> <applet code="test.class" width="40" height="30"> </applet> </body> </html> -- Knute Johnson email s/nospam/knute2008/ -- Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ------->>>>>>http://www.NewsDemon.com<<<<<<------ Unlimited Access, Anonymous Accounts, Uncensored Broadband Access la.foma@gmail.com wrote: > is there any available source code on how to simply write a string > inside a rectangle when creating an applet or a link where it is > explicitly discusse...

java.lang.ExceptionInInitializerError: java.lang.ArrayIndexOutOfBoundsException
Hi, I am new to DB2. I am getting this error while loading the DB2Driver. I don't have any idea about where i might have gone wrong. please help me. Below is the stack trace. Stack Trace: java.lang.ExceptionInInitializerError: java.lang.ArrayIndexOutOfBoundsException at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native Method) at COM.ibm.db2.jdbc.app.DB2Driver.<init>(DB2Driver.java:245) at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(DB2Driver.java:130) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) Thanks in advance, Ganesh Majji ganesh.m@gmail.com wrote: > I am new to DB2. I am getting this error while loading the DB2Driver. I > don't have any idea about where i might have gone wrong. please help > me. Unfortunately my crystal bowl stays dark because you didn't mentioned your operating system and which DB2 version you're using. For Windows, *nix and OS/2 please ensure that your application is using the db2java.zip from SQLLIB\java. Check if there are multiple db2jdbc.dll on your system, remove any extra db2jdbc.dll files on the system. Ensure that you can connect to DB2 with the DB2 workstation tools from your machine. sorry for not mentioning the system details. Operation System is SunOS (Solaris) and DB2 SDK 8.2.2 Thank you very much for the kind response, Ganesh Bernd Hohmann wrote: > ganesh.m@gmail...

Help!!! Applet Designer 3.0 trial VB->Java applet converter
Hi, Has anybody Applet Designer 3.0 trial? I lost it somewhere and now it can be very helpful. ad30.exe file about 3MB. thanks in advance Hania try: http://www.diamondedge.com/products/Convert-ASP-to-JSP.html "HD Warszawa" <zlecenia@poczta.neostrada.pl> wrote in message news:bulugh$kt7$1@atlantis.news.tpi.pl... > Hi, > Has anybody Applet Designer 3.0 trial? > I lost it somewhere and now it can be very helpful. > ad30.exe file about 3MB. > thanks in advance > Hania > > Thanks a lot. Unfortunately JSP is not a Java applet, I need an older version ...

Help Help Help Help Help
please,help us . we have a seious problem, we are designing a radio controlled car that is guided by the PC, to send the data wireless between the PC and the Car and vice versa. we use 2 transmitter/reciever circuits from 2 seperate radio controlled car each running with a different frequency (27 MHz & 40 MHz)and modify the functionality of each to do the disered work. but on mounting a transmitter(40MHz) and reciever(27MHz) on the car, and attach another transmitter(27MHz) and reciever(40MHz) to the PC; we found that on sending signals from the car to the PC on the transmitter & rec...

java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460)
Hi All I am having the torque3.1.jar and postgresql-7.4. I have compiled the new jdbc driver called as postgresql.jar and have placed it in the lib directory from where the ant scripts catch the jars. Whenever i try to access through torque gestList = BaseGestlistPeer.doSelect(new Criteria()); this error arises java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460) at org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653) at org.postgresql.jdbc2.ResultSet.getTimestamp(ResultSet.java...

Help needed with Java applet
Could anyone help me with this? I'm a newbie with programming with Java and my skills aren't the best. I would appreciate if someone could help me. This is what I need to do. "Make Java applet with a list of 3 rows (cat, cow, dog) and OK-button. When the choise is made from the list and pressed the ok-button, a picture of the chosen animal comes visible next to the list. The background color is yellow." I know how to make the list and the OK-button + set the background color. I have no idea how to get the picture visible. I know this is simple and stupid question bu...

Java Applet Please Help
I want to use a Java applet called jmol that models molecules in three dimensions. You can see it at http://jmol.sourceforge.net/ it�s really cool I downloaded the package and read through the docs. It took me a long time to get it to work, but when I dropped the jmolApplet.jar file into my Library/Java/Extensions folder, it began to work on the web pages that I was developing and I was happy with that. But, woe unto me, I found that when I looked at my site (shared via personal web sharing) from a remote computer, it didn�t work. So I am asking if anyone can help me to figure out...

help!help!help!help!
I am a student.I am going to make a simulation of a robot (FANUC Robot M-16iB) under the matlab\simulink environment . It is a normal 6DOF robot.I want to realize any angle and any speed (under the max speed) and any position and orientation control. As I just starting to do this new field,I have no experience about it. Can you give me some simulation demo or examples for 6DOF robot? I am very eager to get these.Please write back to me as soon as possible,thank you! Sincerely, Connie&#12288;&#12288;&#12288;&#12288;&#12288;&#12288;&#12288; zhanglijuan920@sohu.c...

java.lang.Set with elements of type java.lang.Set
Roughly I do something along the lines of: Set set = new HashSet(); Set elem = new HashSet(); set.add(elem); // now we change the elem and add it again to the set elem.add(some object here); set.add(elem); I found out the hard way that 'set' may now contain 'elem' either once or twice, the reason being that 'elem.add()' changes the hashCode of elem such that it is not noticed that it is in 'set' already on the 2nd 'set.add()'. Question: What I would actually want is an IdentityHashSet() set = new IdentityHashSet() but this does not...

HELP!! java.lang.OutOfMemoryError
Hi all, in a java-application i've got the following problem: In a JPanel with several JTextFields i start a sql-query to a address table. This query will be started on the CaretUpdate-Event, because i want to get the result when ever i change the field-contents. This query runs on 8 fields in a very good performance (e.g. on name, city,street,phonenumber ...), but if i change the entry for the areacode the performance is really terrible (about 20 sec) and after 4 or 5 queries i get the java.lang.OutOfMemoryError!!?? The resultset contains as max. 7000 records, but i think that&#...

applet java.lang.NoClassDefFoundError
When trying to load an applet: <applet name="statusApplet" CODEBASE ="http://localhost/php/client/applet/Tst/" code="StatusCodeApplet.class" width="0" height="0"></applet> I get the following exception: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInst...

Help with Java Applet please...
1st let me say I know very little about java, but I do understand thebasics..Now here's my problem. I was given a website to take over last yearthat has a applet that connects to an Oracle DB. That site wasrunning on an old Sun box with Oracle on the same box.To make a long story short, I was tasked with rewritting all the oldperl scripts on the Unix box to coldfusion on a Windows box and nowI'm stuck.I'm stuck because of this Java Applet. On the old box, it connectedto oracle. On this new box running windows 2003, I have to get it toconnect to MS SQL 2000. I did some reading ...

Help:java.lang.OutOfMemoryError
Hai guys, I want to declare a huge two dimension array with rows=99939263 cols=1606 when I tried to declare an array as follows double arr[][]; arr=new double[rows][cols]; I am getting java.lang.OutOfMemoryError So anyone tell me to handle this problem. Is there any solution other than two dimension array? Regards ackumar > So anyone tell me to handle this problem. It depends what the problem is that you're trying to solve. The quickest solution to your problem, as stated, is to run the JVM with more memory. Add the -mXms 256m option to your java run command to increase ...

java.lang.NullPointerException..help me!
Hy guys, I'm developing a Jsf application and i have a question. My application allow user to upload a file and show to user number of columns and rows,thanks to a javabean called MyBean.java. My error is message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'com.devsphere.articles.jsfupload.MyBean'.. class com.devsphere.articles.jsfupload.MyBean : java.lang.NullPo...

java URL help plz
hey i used this code for testing: URL url = modelsData.class.getResource(user+".dat"); String path = url.getPath(); now the thing is a changed the folder in which i need the url to point too. its no longer in the same folder as the modelsData class. My question is how can i put the path ihave into a URL?? I need to make the url poitn to : "C:/tomcat/webapps/export/ModelUsers/"+user+".dat"; but i can't figure out how to construct the URL in javadoc. Thanks for any help -morc you can make new File("C:/tomcat/webapps/export/ModelUsers/"+user+&quo...

Java applet failed when I try to load the avi file in my java applet
Hi everyone, I am a new person in Java and JMF. I tried to use HTML to run the class of the SimplePlayerApplet.java that is posted in java.sun.com. html: <applet code=SimplePlayerApplet.class width=320 height=300> <param name=file value="sun.avi"> I got a java applet failed. I am not sure where should i put the sun.avi file? The SimplePlayerApplet.class and sun.avi are in my desktop. Is it right as <param name=file value="sun.avi">? Sometimes, i will see people write as <param name=file value="file usr/local/media/sun.avi">?? Where is ...

to use import java.lang.* or import java.lang.Math or none at all?
Hi guys, i knew that by default all java.lang classes will be imported by the compiler during compilation. but, to make it easier for the computer, should i specify which class i really will be using? does this action will boost the performance during compilation and runtime or not a matter at all? the answer to this post will definitely affect my programming style in the future when i'm considering "to import or not to import"... hmm,,, thanks in advance. JPractitioner wrote: > i knew that by default all java.lang classes will be imported by the > compiler during compilation. but, to make it easier for the computer, > should i specify which class i really will be using? does this action > will boost the performance during compilation and runtime or not a > matter at all? Whether and how you import classes has exactly zero effect at runtime. Imports (with or without wildcards) are only a kind of abbreviation provided by the compiler to save us the effort of typing in fully-qualified type names every time. In theory explicit importing should make compilation faster -- by a very tiny amount. I've never heard anyone claim that they've even managed to measure a difference let alone found a case where it made a practical difference. So the question comes down to how to write your code for maximum clarity. One school of thought asserts that you should always import each class explicitly (rather than by a wildcard). There's a fai...

please I need help on my java Applet
//i will be grateful if someone can rewrite this code for me, what i trying to do i the comment below, it is abiut a supermarket checkout system ,customers shop,pay,receive change import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.text.*; import java.applet.Applet; //<APPLET code = shopping21.class width=400 height=250> </APPLET> public class shopping21 extends Applet implements ActionListener { private Choice food = new Choice(); private Choice number = new Choice(); private Button AddItem =new Button("Add&qu...

java applet url link in textarea
i have this chat client : http://167.28.103.24/kmgr/kmgrclient.html (which can only receive) not send messages if i actually send a message from the server, it works fine all users receive it fine the quesion is the following: if i send a link for instance: www.yahoo.com the users receive it fine in the textarea but cannot click on it (the goal if for them to click on it and for the link to open in a popup window) some help with that would be much apreciated "dam" <didoo007@yahoo.com> wrote in message news:cc1e87cb.0401221042.124ba283@posting.google.com... | i have this chat ...

PLEASE HELP ME with security in java applet
The following is the error response from the console. I need to use an applet using JAI libraries but there are security problems. Someone can help me?!?!? this applet work properly in netbeans!!! java.lang.ExceptionInInitializerError at javax.media.jai.OpImage.<init>(OpImage.java:230) at javax.media.jai.PointOpImage.<init>(PointOpImage.java:374) at javax.media.jai.PointOpImage.<init>(PointOpImage.java:404) at javax.media.jai.NullOpImage.<init>(NullOpImage.java:108) at javax.media.jai.NullOpImage.<init>(NullOpImage.java:156) at VisorTiff.init(VisorTiff.java:46) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at com.sun.media.jai.util.PropertyUtil$1.run(PropertyUtil.java:99) at java.security.AccessController.doPrivileged(Native Method) at com.sun.media.jai.util.PropertyUtil.getFileFromClasspath(PropertyUtil.java:124) at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:360) at javax.media....

Applet Java Problem help please
Hi, I have realised an applet Java. You can see this one at down sight... I ask you because I want an help to start the desing part. In the file at http://www.univ-angers-lpampa.ouvaton.org/download/applet_prob.doc , I have put my suggestions. Thanks you for your help.. ----------------------> applet program>--(+internet link)------ import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; //import java.lang.*; public class Optique extends JApplet { public static final String COPYRIGHT="Program powered by Hatim SAJADHOUSSEN (c)"; /*public...

HELP: Small Java applet needed
I need a graphic Java applet that makes the following steps: Given a circumference of radius "r", Draw onscreen, say, 20 random diameters. Then, every time you press a button: Rotate the 20 diameters a given random angle (same for everyone). Draw the new diameters. Note: The endpoints of the diameters should be stored in float arrays and drawn as float. I'm not very good at Java at the moment but I'd like to transform an old program from QBasic into a java applet and I think that this little framework is all I need. The program I want to transf...

HELP needed: Small Java applet
I need a graphic Java applet that makes the following steps: Given a circumference of radius "r", Draw onscreen, say, 20 random radius. Then, every time you press a button: Rotate the 20 radius a given random angle (same for everyone). Draw the new radius onscreen. Note: The radius endpoints should be stored in float arrays and drawn as float. (Of course one of the endpoints of every radius would be the center of the circumference.) I'm not very good at Java at the moment but I'd like to transform an old program from QBasic into a java applet and I think that this...

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
I downloaded jdk-6u7-solaris-sparcv9.tar.Z and installed it by these commands: # zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf - # pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx # /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -version Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object # ls /usr/jdk/instances/ jdk1.5.0 jdk1.6.0 # uname -a SunOS sun1 5.10 Generic sun4u sparc SUNW,Sun-Blade-2500 Please help to fix the error. Thanks. TsanChung wrote: > I downloaded jdk-6u7-solaris-sparcv9.tar.Z and installed it by these > commands: > # zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf - > # pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx > > # /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -version > Error occurred during initialization of VM > java/lang/NoClassDefFoundError: java/lang/Object It's missing or can't find rt.jar, right? How does the Solaris version find it's runtime files? Can you show us where rt.jar is? On Aug 20, 6:24=A0pm, Mark Space <marksp...@sbc.global.net> wrote: > TsanChung wrote: > > I downloaded jdk-6u7-solaris-sparcv9.tar.Z and installed it by these > > commands: > > # zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf - > > # pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx > > > # /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -version > > Error occurred during initialization of VM > > java/lang/NoClassDefFoundError: java/lang/Object > > It'...

Web resources about - Applet.newAudioClip(url) - replay - comp.lang.java.help

Resources last updated: 3/9/2016 10:27:50 AM