Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-27-2009, 05:32 PM
Member
 
Join Date: Mar 2009
Posts: 1
Rep Power: 0
JuliaS85 is on a distinguished road
Default problem with integration of a applet class
Hello,

I need for my application to embed an applet generated with the tool Galicia from here, in a html/php page:
iro.umontreal.ca/~galicia/demo.html

I need exactly such a graph, with the same features(move nodes, click on them, zoom in/zoom out) but generated on a different data set.
Galicia, from the gui, generated for my formal context, the file that is then used from the menu: edit data-viw lattice to view the image that i want to embed.
The file has the extension .lat.xml.
A bit bizare cuz i found another simillar applet on the web using a .lat file as parameter. File that i don't know here where to take it from.

In this package , downloaded from sourceforge , in the jar archive there is a applet class, LatticeViewer....in Galicia3.2/Galicia3/galicia3/lattice/gui/graph/threeD.
I guess that class must be used to generate the applet. For model parameter i guess the file name is needed, but still doesn't work.

<applet code=LatticeViewer.class width=2000 height=2000>
<param name=model value=example.lat.xml>
<param name=label value=false>
<param name=scale value=1.0>
<param name=box value=true>
<param name=bonds value=true>


</applet>
I put the file and the html file with the applet in the folder threeD from the dearchivated jar.
Anyone help, ideas?

the source of the lat.xml file here (i cannot attach it cuz i'm under 20 posts)

Code:
<Galicia_Document>
<Lattice numberObj="5" numberAtt="5" numberCpt="7">
<Name>lattice(Ctx_1)</Name>
<Object>Object 0</Object>
<Object>Object 1</Object>
<Object>Object 2</Object>
<Object>Object 3</Object>
<Object>Object 4</Object>
<Attribute>Attribute 0</Attribute>
<Attribute>Attribute 1</Attribute>
<Attribute>Attribute 2</Attribute>
<Attribute>Attribute 3</Attribute>
<Attribute>Attribute 4</Attribute>
<Concept>
<ID> 1 </ID>
<Extent>
<Object_Ref>Object 0</Object_Ref>
<Object_Ref>Object 1</Object_Ref>
<Object_Ref>Object 2</Object_Ref>
<Object_Ref>Object 3</Object_Ref>
<Object_Ref>Object 4</Object_Ref>
</Extent>
<Intent>
</Intent>
<Itemset_Generator>
</Itemset_Generator>
<UpperCovers>
</UpperCovers>
</Concept>
<Concept>
<ID> 2 </ID>
<Extent>
<Object_Ref>Object 1</Object_Ref>
<Object_Ref>Object 2</Object_Ref>
</Extent>
<Intent>
<Attribute_Ref>Attribute 2</Attribute_Ref>
</Intent>
<Itemset_Generator>
<Attribute_Ref>Attribute 2</Attribute_Ref>
</Itemset_Generator>
<UpperCovers>
<Concept_Ref>1</Concept_Ref>
</UpperCovers>
</Concept>
<Concept>
<ID> 4 </ID>
<Extent>
<Object_Ref>Object 1</Object_Ref>
<Object_Ref>Object 4</Object_Ref>
</Extent>
<Intent>
<Attribute_Ref>Attribute 3</Attribute_Ref>
</Intent>
<Itemset_Generator>
<Attribute_Ref>Attribute 3</Attribute_Ref>
</Itemset_Generator>
<UpperCovers>
<Concept_Ref>1</Concept_Ref>
</UpperCovers>
</Concept>
<Concept>
<ID> 3 </ID>
<Extent>
<Object_Ref>Object 0</Object_Ref>
</Extent>
<Intent>
<Attribute_Ref>Attribute 1</Attribute_Ref>
</Intent>
<Itemset_Generator>
<Attribute_Ref>Attribute 1</Attribute_Ref>
</Itemset_Generator>
<UpperCovers>
<Concept_Ref>1</Concept_Ref>
</UpperCovers>
</Concept>
<Concept>
<ID> 6 </ID>
<Extent>
<Object_Ref>Object 1</Object_Ref>
</Extent>
<Intent>
<Attribute_Ref>Attribute 2</Attribute_Ref>
<Attribute_Ref>Attribute 3</Attribute_Ref>
</Intent>
<Itemset_Generator>
<Attribute_Ref>Attribute 2</Attribute_Ref>
<Attribute_Ref>Attribute 3</Attribute_Ref>
</Itemset_Generator>
<UpperCovers>
<Concept_Ref>2</Concept_Ref>
<Concept_Ref>4</Concept_Ref>
</UpperCovers>
</Concept>
<Concept>
<ID> 5 </ID>
<Extent>
<Object_Ref>Object 3</Object_Ref>
</Extent>
<Intent>
<Attribute_Ref>Attribute 0</Attribute_Ref>
<Attribute_Ref>Attribute 4</Attribute_Ref>
</Intent>
<Itemset_Generator>
<Attribute_Ref>Attribute 0</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 4</Attribute_Ref>
</Itemset_Generator>
<UpperCovers>
<Concept_Ref>1</Concept_Ref>
</UpperCovers>
</Concept>
<Concept>
<ID> 7 </ID>
<Extent>
</Extent>
<Intent>
<Attribute_Ref>Attribute 0</Attribute_Ref>
<Attribute_Ref>Attribute 1</Attribute_Ref>
<Attribute_Ref>Attribute 2</Attribute_Ref>
<Attribute_Ref>Attribute 3</Attribute_Ref>
<Attribute_Ref>Attribute 4</Attribute_Ref>
</Intent>
<Itemset_Generator>
<Attribute_Ref>Attribute 0</Attribute_Ref>
<Attribute_Ref>Attribute 1</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 0</Attribute_Ref>
<Attribute_Ref>Attribute 2</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 1</Attribute_Ref>
<Attribute_Ref>Attribute 2</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 0</Attribute_Ref>
<Attribute_Ref>Attribute 3</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 1</Attribute_Ref>
<Attribute_Ref>Attribute 3</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 2</Attribute_Ref>
<Attribute_Ref>Attribute 4</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 1</Attribute_Ref>
<Attribute_Ref>Attribute 4</Attribute_Ref>
</Itemset_Generator>
<Itemset_Generator>
<Attribute_Ref>Attribute 3</Attribute_Ref>
<Attribute_Ref>Attribute 4</Attribute_Ref>
</Itemset_Generator>
<UpperCovers>
<Concept_Ref>6</Concept_Ref>
<Concept_Ref>5</Concept_Ref>
<Concept_Ref>3</Concept_Ref>
</UpperCovers>
</Concept>
</Lattice>
</Galicia_Document>
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple class applet lordbob75 Java Applets 5 01-08-2009 02:22 AM
Eclipse and Excel Integration usenetreader Eclipse 1 06-26-2008 12:26 PM
PLSQL - JAVA Integration ttkong Database 0 04-09-2008 09:31 AM
JasperReports integration with NetBeans javaean NetBeans 0 12-26-2007 02:17 PM
Mergence HL7 Integration Engine 1.1 levent Java Announcements 0 06-06-2007 11:20 AM


All times are GMT +2. The time now is 06:13 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org