Results 1 to 1 of 1
- 03-27-2009, 05:32 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
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)
Java 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>
Similar Threads
-
Multiple class applet
By lordbob75 in forum Java AppletsReplies: 5Last Post: 01-08-2009, 02:22 AM -
Eclipse and Excel Integration
By usenetreader in forum EclipseReplies: 1Last Post: 06-26-2008, 12:26 PM -
PLSQL - JAVA Integration
By ttkong in forum JDBCReplies: 0Last Post: 04-09-2008, 09:31 AM -
JasperReports integration with NetBeans
By javaean in forum NetBeansReplies: 0Last Post: 12-26-2007, 02:17 PM -
Mergence HL7 Integration Engine 1.1
By levent in forum Java SoftwareReplies: 0Last Post: 06-06-2007, 11:20 AM
Bookmarks