Bug fixes.
This commit is contained in:
parent
fc6d94838f
commit
f0c1a51634
@ -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.
|
||||
|
@ -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,7 +68,9 @@ public class Main extends Application {
|
||||
catch (Exception exception) {
|
||||
Logs.log(Level.SEVERE, exception);
|
||||
}
|
||||
logs.close();
|
||||
if (logs != null) {
|
||||
logs.close();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user