Commit f8ecec58 authored by acq1305's avatar acq1305
Browse files

control para evitar se habra dos veces la aplicación

parent 3d950b54
......@@ -39,6 +39,7 @@ import javax.swing.filechooser.FileNameExtensionFilter;
*/
public class FormServidor extends JPanel implements ActionListener {
private GestorSlot gestorSlot;
private ServidorRest rest;
JButton botonCargar, botonIniciar, botonDetener, botonConfig;
JTextField textURL;
......@@ -119,7 +120,7 @@ public class FormServidor extends JPanel implements ActionListener {
public void run() {
try {
GestorSlot gestorSlot = GestorSlot.getInstance();
gestorSlot = GestorSlot.getInstance();
gestorSlot.adicionarProveedor(proveedores(textURL.getText()));
rest = new ServidorRest();
botonCargar.setEnabled(false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment