GraphStream Users

Archives de la liste Aide

Re: GraphStream on Java Applet

Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT>
  • To: "graphstream-users AT" <graphstream-users AT>, markallenagaton03 AT
  • Subject: Re: GraphStream on Java Applet
  • Date: Mon, 7 Dec 2015 11:04:35 +0100


This is not a GraphStream issue. It is related to the use of applet in Java.
You need to define a policy that allows to read ressources other than classes in your jar.
Something like that in your applet policy :

grant {
   permission "/path/to/gs-core-1.3.jar!/org/graphstream/ui/graphicGraph/stylesheet/""read";

Hope it helps.

2015-12-07 10:47 GMT+01:00 <markallenagaton03 AT>:
Hi. I'm currently working on a project that needs graph visualization and it is
to be deployed on a web browser. I have tried integrating the graphstream
library with Java Swing and Java Applet but I'm having errors when I try
running it on the web browser. I'm using Eclipse as my IDE. The applet program
works when I run it on eclipse and it also runs when I use the appletviewer
utility of java. I posted this problem in stackoverflow
I also attached here the text file containing the error message of the java
applet. ( I hope you can help me solve this
error. Thanks in advance.

Guilhelm Savin
PhD of Computer Science

Archives gérées par MHonArc 2.6.16.

Top of page