Browse Source

NetBean/Eclipse compat

Chris Cromer 1 year ago
parent
commit
4f58dd897a
5 changed files with 37 additions and 2 deletions
  1. 7
    0
      .classpath
  2. 15
    0
      .project
  3. 10
    0
      MT.eml
  4. 3
    0
      MT.userlibraries
  5. 2
    2
      src/cl/cromer/mt/IndividualController.java

+ 7
- 0
.classpath View File

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

+ 15
- 0
.project View File

@@ -0,0 +1,15 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>MT</name>
4
+	<comment/>
5
+	<projects/>
6
+	<buildSpec>
7
+		<buildCommand>
8
+			<name>org.eclipse.jdt.core.javabuilder</name>
9
+			<arguments/>
10
+		</buildCommand>
11
+	</buildSpec>
12
+	<natures>
13
+		<nature>org.eclipse.jdt.core.javanature</nature>
14
+	</natures>
15
+</projectDescription>

+ 10
- 0
MT.eml View File

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

+ 3
- 0
MT.userlibraries View File

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

+ 2
- 2
src/cl/cromer/mt/IndividualController.java View File

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

Loading…
Cancel
Save