File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
It is sorta covered in the JavaRanch Style Guide.
subject: reg audioclip
Similar Threads
String replace for URLs
Facing Problem with String replaceAll method
next line in swings
StringTokenizer and the "" empty string