cromer.cl site content
This commit is contained in:
parent
669a981a0e
commit
768e8ca7cc
6
.idea/jsLibraryMappings.xml
Normal file
6
.idea/jsLibraryMappings.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptLibraryMappings">
|
||||
<file url="PROJECT" libraries="{dtjava}" />
|
||||
</component>
|
||||
</project>
|
@ -7,5 +7,6 @@
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="dtjava" level="application" />
|
||||
</component>
|
||||
</module>
|
42
edd.html
Normal file
42
edd.html
Normal file
@ -0,0 +1,42 @@
|
||||
<html>
|
||||
<title>Estructuras de Datos</title>
|
||||
<head>
|
||||
<SCRIPT src="dtjava.js"></SCRIPT>
|
||||
<script>
|
||||
function launchApplication(jnlpfile) {
|
||||
dtjava.launch( {
|
||||
url : jnlpfile
|
||||
},
|
||||
{
|
||||
javafx : '8.0+'
|
||||
},
|
||||
{}
|
||||
);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
function javafxEmbedEstructuras_de_Datos_id() {
|
||||
dtjava.embed(
|
||||
{
|
||||
id : 'Estructuras_de_Datos_id',
|
||||
url : 'Estructuras_de_Datos.jnlp',
|
||||
placeholder : 'javafx-app-placeholder',
|
||||
width : '1024',
|
||||
height : '768'
|
||||
},
|
||||
{
|
||||
javafx : '8.0+'
|
||||
},
|
||||
{}
|
||||
);
|
||||
}
|
||||
<!-- Embed FX application into web page once page is loaded -->
|
||||
dtjava.addOnloadCallback(javafxEmbedEstructuras_de_Datos_id);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Applet will be inserted here -->
|
||||
<div id='javafx-app-placeholder'></div>
|
||||
</body>
|
||||
</html>
|
29
index.html
Normal file
29
index.html
Normal file
@ -0,0 +1,29 @@
|
||||
<html>
|
||||
<title>Estructuras de Datos</title>
|
||||
<head>
|
||||
<SCRIPT src="dtjava.js"></SCRIPT>
|
||||
<script>
|
||||
function launchApplication(jnlpfile) {
|
||||
dtjava.launch( {
|
||||
url : jnlpfile
|
||||
},
|
||||
{
|
||||
javafx : '8.0+'
|
||||
},
|
||||
{}
|
||||
);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<b>The webstart and embedded verions require java 8 to run! It is also necessary to add cromer.cl to your trusted sites in java settings because the java applet is unsigned.</b><br><hr>
|
||||
<b>Windows:</b> <a href='EDD-1.0.0.zip'>click to download windows binary</a><br><hr>
|
||||
<b>Linux:</b> <a href='EDD-1.0.0.tar.gz'>click to download linux binary</a><br><hr>
|
||||
<b>Webstart:</b> <a href='Estructuras_de_Datos.jnlp' onclick="return launchApplication('Estructuras_de_Datos.jnlp');">click to launch this app as webstart</a><br><hr>
|
||||
<b>Embedded:</b> <a href='edd.html'>click to launch this app as embedded app</a><br><hr><br>
|
||||
<b>Documetation:</b> <a href='doc/index.html'>JavaDoc</a><br><hr>
|
||||
<b>Documetation:</b> <a href='doc/index-all.html'>JavaDoc Index</a><br><hr>
|
||||
<b>Diagram:</b> <a href='diagrama.png'>UML</a>
|
||||
</body>
|
||||
</html>
|
@ -145,8 +145,8 @@ public class ArbolController implements Initializable {
|
||||
List<List<ArbolNodo>> niveles = arbol.getNiveles();
|
||||
|
||||
int altura = arbol.getAltura() - 1;
|
||||
// Thank you Claudio Gutiérrez
|
||||
int ancho = (int) Math.pow(2, altura) + (int) ((Math.pow(2, altura)) - 1);
|
||||
System.out.println(ancho);
|
||||
|
||||
Text text;
|
||||
for (int i = 0; i < altura; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user