Bug fixes.

This commit is contained in:
Chris Cromer 2016-07-11 01:59:34 -04:00
parent fc6d94838f
commit f0c1a51634
3 changed files with 6 additions and 4 deletions

View File

@ -17,7 +17,7 @@ public class Logs {
/**
* Estado de depuración.
*/
static final public boolean DEBUG = false;
static final public boolean DEBUG = true;
/**
* Tipos de depuración.

View File

@ -28,7 +28,7 @@ public class Main extends Application {
/**
* El logger.
*/
static private Logs logs;
static private Logs logs = null;
/**
* Crear el stage y la scene para la aplicación grafica.
@ -68,8 +68,10 @@ public class Main extends Application {
catch (Exception exception) {
Logs.log(Level.SEVERE, exception);
}
if (logs != null) {
logs.close();
}
}
/**
* Inicilizar el logeo y lanzar la interfaz grafica.

View File

@ -17,7 +17,7 @@
</HBox>
<HBox alignment="CENTER" spacing="10">
<Button text="%insertar" onAction="#botonInsertar"/>
<Button text="%eliminar" onAction="#botonEliminar"/>
<!--<Button text="%eliminar" onAction="#botonEliminar"/>-->
<TextFieldLimited fx:id="valorArbol" maxLength="3" prefWidth="50"/>
</HBox>
<GridPane fx:id="contenidoArbol" alignment="CENTER"/>