Menu

#16 Visualization in an applet

open
rendering (2)
2
2005-07-20
2005-04-15
Anonymous
No

Question :

Hello,

I use the tool infovis in order to visualize a graph in
an applet.
Initially I implemented all the code in a normal
application.
Now I try to transform it into an appplet.
I meet certain concern the filling of the basic table
"52weeks.reduced.extended.tqd" into the code.
The applet apparament does not arrive at reading the
table....
I tested several methods but I met that failures.

Here the error during the launching of the applet

[aperar01@scinfe142 VISUALISATION]$ appletviewer
-J-classpath
J/usr/local/src/infovis-0.8alpha2/build/examples.jar:/usr/local/src/logging-log4j-1.2.9/dist/lib/log4j-1.2.9.jar:/usr/local/src/colt/lib/colt.jar:/usr/local/src/archives/antlr-2.7.5.jar

visualiserapplet.html
log4j:WARN No appenders could be found for logger
(infovis.utils.BasicFactory).
log4j:WARN Please initialize the log4j system properly.
java.lang.RuntimeException: Cannot read factory
properties from
itemrendererfactory
at
infovis.utils.BasicFactory.addDefaultCreators(Unknown
Source)
at
infovis.visualization.render.ItemRendererFactory.(Unknown
Source)
at
infovis.visualization.render.ItemRendererFactory.getInstance(Unknown
Source)
at
infovis.visualization.render.ItemRendererFactory.createItemRenderer(Unknown

Source)
at
infovis.visualization.DefaultVisualization.declareVisualColumns(Unknown

Source)
at infovis.visualization.DefaultVisualization.(Unknown
Source)
at infovis.visualization.DefaultVisualization.(Unknown
Source)
at infovis.visualization.StrokingVisualization.(Unknown
Source)
at
infovis.table.visualization.TimeSeriesVisualization.(Unknown
Source)
at ex.init(ex.java:164)
at sun.applet.AppletPanel.run(AppletPanel.java:348)
at java.lang.Thread.run(Thread.java:536)

I do not understand where is the problem...

If you have an idea to help me and have a little time
to devote me, I
wait your answer.

cordially

piment

Answer :

Jean-Daniel Fekete Jean-Daniel.Fekete@inria.fr
INRIA Futurs, LRI tel: +33 1 69153460
<-- NEW! 08Oct03
Bat 490, Université Paris-Sud fax: +33 1 69156586
F91405 ORSAY Cedex, France

Hello,

I think the way I load resources for rendering the
items is not secure
so applets won't let me load them that way.
I have to take a closer look at accessing resource
files from inside an
applet.
I'll take a look soon and let you know. MEanwhile,
could you add a bug
report on sourceforge.net to remind me?

Thanks in advance,

Discussion

  • Nobody/Anonymous

    time serie visualization

     
  • Jean-Daniel Fekete

    • priority: 5 --> 2
    • assigned_to: nobody --> jdfekte
     

Log in to post a comment.