Difference between File access by Applets and other Java applications

Hello there,

I have a problem in my project, I use JTEXTPANE, and read the content from that through both the Applets and another Java application,

the content of the jtextpane is read correctly with the java application, but while using an applet it's causing a problem. Can i know the difference between accessing such components by Applets and other Java applications.

[392 byte] By [bharath.gullapallia] at [2007-11-27 5:11:26]
# 1

> the content of the jtextpane is read correctly with

> the java application, but while using an applet it's

> causing a problem.

And we're supposed to read your mind about to find out what it is, correct?

> Can i know the difference between

> accessing such components by Applets and other Java

> applications.

Access of components as unrestricted as the access modifiers for classes and members allow.

http://java.sun.com/sfaq/

CeciNEstPasUnProgrammeura at 2007-7-12 10:31:48 > top of Java-index,Java Essentials,Java Programming...
# 2
In order to access files from within an applet, it needs to be signed. http://www.developer.com/java/data/article.php/3303561
quittea at 2007-7-12 10:31:48 > top of Java-index,Java Essentials,Java Programming...
# 3
Or it has to be on the same web server as the applet and loaded via a URL/URLConnection or whatever a method in the text component class might take.
bsampieria at 2007-7-12 10:31:48 > top of Java-index,Java Essentials,Java Programming...