/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Sockets.SCliente.Control;
import Servidor.control.GestorUsuarios;
import javax.swing.JOptionPane;
/**
*
* @author AdriánEsteban
*/
public class ThreadCliente extends Thread{
private GestorUsuarios gestor;
public ThreadCliente(){
gestor = new GestorUsuarios();
}
@Override
public void run(){
String nick = JOptionPane.showInputDialog("Introducir Nick");
if (gestor.verificar(nick)){
String dirServer = JOptionPane.showInputDialog("Introducir IP_SERVER");
}else{
this.stop();
}
}
public static void main(String[] args){
ThreadCliente hilo;
hilo = new ThreadCliente();
hilo.run();
}
}