Commit 7aad4031 authored by acq1305's avatar acq1305
Browse files

Java Doc

parent f8ecec58
......@@ -45,6 +45,9 @@ public class FormServidor extends JPanel implements ActionListener {
JTextField textURL;
JFileChooser fc;
/**
* Constructor por Defecto
*/
public FormServidor() {
super(new BorderLayout());
botonCargar = new JButton("Cargar Config");
......@@ -86,6 +89,11 @@ public class FormServidor extends JPanel implements ActionListener {
add(logScrollPane, BorderLayout.CENTER);
}
/**
* Controlador de los eventos del Formulario
*
* @param e
*/
public void actionPerformed(ActionEvent e) {
if (e.getSource() == botonCargar) {
int returnVal = fc.showOpenDialog(FormServidor.this);
......@@ -116,6 +124,9 @@ public class FormServidor extends JPanel implements ActionListener {
}
}
/**
* Hilo que controla el Inicio del Servidor REST
*/
class Hilo implements Runnable {
public void run() {
......@@ -156,6 +167,11 @@ public class FormServidor extends JPanel implements ActionListener {
return librerias;
}
/**
* Llamada al visor controlador de Formulario Servidor
*
* @param args
*/
public static void main(String[] args) {
if (new Control().comprobar()) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
......
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