It's not a secret anymore!
The moose likes Beginning Java and the fly likes reg audioclip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "reg audioclip" Watch "reg audioclip" New topic

reg audioclip

Prabhu Raghunathan

Joined: Oct 23, 2000
Posts: 8
public void sayIt(Applet app){
String english = num.toEnglish();
StringTokenizer ST = new StringTokenizer(english);
do {
String token = ST.nextToken();

String audio = "";
private URL newURL(String str)
URL url = null;
try {
url = new URL(str);
catch(MalformedURLException murle)
return url;
Hi all,
On implementing this piece of code it compiles fine.But I get a runtime error saying sun.applet.AppletSecurityException:checkconnect.networkhost1.I dont understand why this happens.Thanks.

Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
Applet security, an Applet can only establish a connect back to the server that initiated it. This prevents a rogue applet from performing operations on a computer which could be dangerous or comprimise the computers security.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
I agree. Here's the link:
subject: reg audioclip
It's not a secret anymore!