NetBean/Eclipse compat

This commit is contained in:
Chris Cromer 2017-07-07 19:58:49 -04:00
parent 28b89d488a
commit 4f58dd897a
5 changed files with 37 additions and 2 deletions

7
.classpath Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/1.8"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="ejemplos"/>
<classpathentry kind="output" path="out/production/MT"/>
</classpath>

15
.project Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MT</name>
<comment/>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

10
MT.eml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<component inherit-compiler-output="true" jdk="1.8" jdk_type="JavaSDK">
<output-test url="file://$MODULE_DIR$/out/test/MT"/>
<exclude-output/>
<contentEntry url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.idea"/>
<excludeFolder url="file://$MODULE_DIR$/doc"/>
<excludeFolder url="file://$MODULE_DIR$/xmltests"/>
</contentEntry>
</component>

3
MT.userlibraries Normal file
View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<eclipse-userlibraries />

View File

@ -202,7 +202,7 @@ public class IndividualController extends VBox {
} }
if (mover) { if (mover) {
String move = ""; String move;
switch (maquina.getEnlaceActual().getMovimiento()) { switch (maquina.getEnlaceActual().getMovimiento()) {
case 'L': { case 'L': {
move = "se movio a la izquierda"; move = "se movio a la izquierda";
@ -217,7 +217,7 @@ public class IndividualController extends VBox {
break; break;
} }
} }
descripcion.setText("La cinta "+move+"\nCambia del estado q" + estadoPrevio + " al estado q" + maquina.getEstadoActual().getQ()); descripcion.setText("La cinta " + move + "\nCambia del estado q" + estadoPrevio + " al estado q" + maquina.getEstadoActual().getQ());
// Undo cabezel anterior // Undo cabezel anterior
Rectangle rectangle = (Rectangle) scene.lookup("#caja_" + cabezalAnterior); Rectangle rectangle = (Rectangle) scene.lookup("#caja_" + cabezalAnterior);