GraphStream Users

Archives de la liste Aide


Re: GraphStream on Java Applet


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

Hi,

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 java.io.FilePermission "/path/to/gs-core-1.3.jar!/org/graphstream/ui/graphicGraph/stylesheet/rgb.properties""read";
};

Hope it helps.
Guilhelm


2015-12-07 10:47 GMT+01:00 <markallenagaton03 AT gmail.com>:
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
(http://stackoverflow.com/questions/34128146/graphstream-java-applet?noredirect=1#comment56007138_34128146).
I also attached here the text file containing the error message of the java
applet. (http://textuploader.com/5uojf) 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