elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  Java
| | | |-+  Duda con con codigo chat ayuda!!!
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Duda con con codigo chat ayuda!!!  (Leído 3,743 veces)
shin_akuma

Desconectado Desconectado

Mensajes: 32



Ver Perfil
Duda con con codigo chat ayuda!!!
« en: 26 Marzo 2008, 19:38 pm »

haber aqui va de nuevo moderadores

Mi problema es con Java ya que estoy intentando hacer un programa donde haya una comunicacion entre un cliente y un servidor (un chat) el problema es que ya revise mi codigo de arriba para ver si habia algun error e consultado con maestros y en otros foros y en teorial en el codigo fuente no deberia haber ningun erro vien este es el problema

tengo dos programas un que es el cliente en este no hay ningun problema pero lo pondre para mayor referencia

 codigo de el cliente
Código:
import java.io.PrintStream;
import java.net.*;
import java.awt.*;
import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.awt.event.*;

public class ClienteGraficoChat extends JFrame
{
    private static final int PUERTO=9000;
    protected Socket socketCliente;
    private Sesion sesion;
    protected PrintStream salida;
    protected BufferedReader entrada;
   
    private JPanel contentPane;
    private JTextField txtMensaje=new JTextField ();
    protected JTextArea txtArea=new JTextArea ();
    private JButton btnCerrar=new JButton ();
    private JScrollPane scrollPane = new JScrollPane ();
    private JLabel lblTexto = new JLabel ();
   
    public ClienteGraficoChat ()
    {
        enableEvents(AWTEvent.WINDOW_EVENT_MASK);
        iniciar();
        try
        {
            socketCliente = new Socket ("Local Host",PUERTO);
            salida = new PrintStream(socketCliente.getOutputStream());
            entrada = new BufferedReader (new InputStreamReader(socketCliente.getInputStream()));
            sesion = new Sesion(this);
            System.out.println("Arrancando cliente");           
        }
        catch (IOException e2)
        {
            if (socketCliente != null)
            {
                try
                {
                    socketCliente.close();
                }
                catch (IOException e3)
                {
                }
               
               
            }
            errorFatal(e2,"Fallo Al Intentar Conectar Con el servidor");
        }       
    }
     
    public static void main (String []args) throws IOException, ConnectException
     {
        try
        {
            System.out.println("Arrancando CLiente");
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            ClienteGraficoChat f=new ClienteGraficoChat ();
       
            Dimension ScreenSize = Toolkit.getDefaultToolkit().getScreenSize();
            Dimension frameSize = f.getSize();
       
            if (frameSize.height > ScreenSize.height)
            {
                frameSize.height =ScreenSize.height;           
            }
            if (frameSize.width > ScreenSize.width)
            {
                frameSize.width = ScreenSize.width;
            }
            f.setLocation((ScreenSize.height - frameSize.height)/2, (ScreenSize.width - frameSize.width)/2);
            f.show();
        }
        catch (Exception e)
        {
            e.printStackTrace();
            errorFatal(e,"Error al Gestionar la apariencioa y el estilo");
        }
       
     }
    private void iniciar ()
        {
            contentPane = (JPanel)this.getContentPane();
            txtMensaje.setBounds(new Rectangle(117,49,256,29));
            txtMensaje.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(ActionEvent e)
                {
                    txtMensaje_actionPerformed(e);
                }
            });
            contentPane.setLayout(null);
            this.setSize(new Dimension (400,400));
            this.setTitle("Chat");
            btnCerrar.setText("CERRAR");
            btnCerrar.setBounds(new Rectangle(150, 323, 76 ,29));
            btnCerrar.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(ActionEvent e)
                {
                    btnCerrar_actionPerformed(e);
                }
            });
            scrollPane.setBounds(new Rectangle(9,106,370,205));
            lblTexto.setBackground(Color.red);
            lblTexto.setFont(new java.awt.Font("Dialogo",1,12));
            lblTexto.setText("Escriba el texto");
            lblTexto.setBounds(new Rectangle(17, 49, 87, 32));
            contentPane.add(txtMensaje, null);
            contentPane.add(btnCerrar, null);
            contentPane.add(lblTexto, null);
            contentPane.add(scrollPane, null);
            scrollPane.getViewport().add(txtArea, null);
      }   
     
    protected void processWindowEvent(WindowEvent e)
    {
        super.processWindowEvent(e);
        if (e.getID() == WindowEvent.WINDOW_CLOSING)
        {
            salida.println("Desconectar");
        }
    }
    void txtMensaje_actionPerformed(ActionEvent e)
    {
        salida.println(txtMensaje.getText());
        txtMensaje.setText("");
    }
    void btnCerrar_actionPerformed(ActionEvent e)
    {
        salida.println("Desconectar");
    }
    private static void errorFatal(Exception exception,String mensajeError)
    {
        exception.printStackTrace();
        JOptionPane.showMessageDialog(null,"Error Fatal"+System.getProperty("line.separator")+mensajeError, "Informacion para el usuario",JOptionPane.WARNING_MESSAGE);
        System.exit(-1);
    }
    class Sesion extends Thread
    {
        private ClienteGraficoChat clienteChat;
        public Sesion(ClienteGraficoChat clienteChat) throws IOException
        {
            this.clienteChat = clienteChat;
            start();
        }
       
        public void run()
        {
            String fin1="Adios";
            String fin2="Hasta la vista";
            String linea = null;
            try
            {
                while ((linea=clienteChat.entrada.readLine())!=null)
                {
                    clienteChat.txtArea.setText(clienteChat.txtArea.getText()+linea+System.getProperty("linea Separador"));
                    if (linea.equals(fin1)|| linea.equals(fin2))
                    {
                        try
                        {
                            this.sleep(5000);
                        }
                        catch (java.lang.InterruptedException e1)
                        {
                           
                        }
                        break;
                    }
                }                   
            }
        catch (IOException e2)
        {
            e2.printStackTrace();
        }
            finally
            {
                try
                {
                    clienteChat.dispose();
                    clienteChat.entrada.close();
                    clienteChat.salida.close();
                    clienteChat.socketCliente.close();
                }
           
                catch (IOException e3){}
                System.exit(-1);
            }
            }
        }

    }

Bien el problema esta en el servidor ya que el la linea 108 hay un error de compilacion el cual me dice (no se encuentra identificado).

Código:

import java.io.*;
import java.net.*;
import javax.swing.*;
import java.util.*;

public class ServidorChat
{
    private static final int PUERTO=9000;
    protected static final int TIEMPO_DE_DESCONEXION_AUTOMATICA=600000;
    private ServerSocket socketServidor;   
   
    public static void main (String []args)
    {
        new ServidorChat();       
    }
   
    public ServidorChat()
    {
        System.out.println("Arrancando Servidor por el puerto "+PUERTO);
        arrancarServidor();
        procesarClientes();       
    }
   
    private void arrancarServidor()
    {
        try
        {
            socketServidor = new ServerSocket(PUERTO);
            System.out.println("El servidor esta en marcha escuchando por el puerto: "+PUERTO);
        }
        catch (java.net.BindException e1)
        {
            String mensaje="No se puede arrancar el servido es posible que el puerto "+PUERTO+" este ocupado";
            errorFatal(e1,mansaje);
        }
        catch (java.lang.SecurityException e2)
        {
            String mansaje="No se puede arrancar el servidor es posible que el puerto "+PUERTO+" Tenga restricciones de seguridad";
            errorFatal(e2,mensaje);
        }
        catch (IOException e3)               
        {
            String mansaje="IMposible arrancar el servidor";
            errorFatal(e3,mensaje);
        }
    }
    private void procesarClientes()
    {
        Socket socketCliente =null;
        while (true)
        {
            try
            {
                socketCliente = socketServidor.accept();
                try
                {
                    new ThreadServidor(socketCliente);
                }
                catch (IOException e1)
                {
                    if (socketCliente !=null)
                    {
                        try
                        {
                            socketCliente.close();
                        }
                        catch (IOException e2)
                        {
                           
                        }
                    }
                }
            }
            catch (java.lang.SecurityException e3)
            {
                if (socketServidor !=null)
                {
                    try
                    {
                        socketServidor.close();
                    }
                    catch (IOException e4)
                    {
                        //nothing
                    }
                }
                String mensaje="Con su configuracion de seguridad, Los clientes no podran conectarse por el puerto "+PUERTO;
                errorFatal(e3,mensaje);               
            }
            catch (IOException e5)
            {
                //no se hace nada por que no se pudo crear el socket
            }
        }
    }
    public static void errorFatal(Exception excepcion, String mensajeError)
    {
        excepcion.printStackTrace();
        JOptionPane.showMessageDialog(null,"Error Fatal."+System.getProperty("line.separator")+mensajeError,"Informacion Para el usuario",JOptionPane.WARNING_MESSAGE);
        System.exit(-1);
    }
}

class ThreadServidor extends Thread
{
    private String nombreCliente;
    private static String historial = "C:historial.txt";
    private static clientesActivos = new ArryList();
    private Socket socket;
    private BufferedReader entrada;
    private PrintWriter salida;
   
    public ThreadServidor(Socket socket) throws IOException
    {
        this.socket = socket;
        PrintWriter salidaArchivo=null;
        salida=new PrintWriter(socket.getOutputStream(),true);
        entrada = new BufferedReader (new InputStreamReader(socket.getInputStream()));
        escribirHistorial("conexion desde la direccion");
        start();       
    }
   
    public void run()
    {
        String textoUsuario="";
        try
        {
            salida.println("> Bienvenido a este chat.");
            salida.println(">introduce tu nombre");
            nombreCliente = (entrada.readLine()).trim();
            if ((nombreCliente.equals(""))||(nombreCliente==null))
            {
                nombreCliente="invitado";
            }
            Iterator it= clientesActivos.iterator();
            while (it.hasNext())
            {
                if (nombreCliente.equals(((ThreadServidor)it.next()).nombreCliente))
                {
                    nombreCliente = nombreCliente + socket.getPort();
                    break;
                }
            }
            anyadirConexion(this);
            salida.println(">Se le asigno el alias de"+nombreCliente);
            socket.setSoTimeout(ServidorChat.TIEMPO_DESCONEXION_AUTOMATICA);
            while ((textoUsuario=entrada.readLine())!=null)
            {
                if ((textoUsuario=entrada.equals("DESCONECTAR")))
                {
                    salida.println("****************adios************");
                    break;
                }
                else if ((textoUsuario.equals("LISTAR")))
                {
                    escribirCliente (this,">"+clientesActivos());
                }
                else
                {
                    escribirATODOS(nombreCliente+">"+textoUsuario);
                }
            }
        }
        catch (java.io.InterruptedIOException e1)
        {
            escribirCliente(this,">"+"Se paso el tiempo:Conexion Cerrada");
            escribirCliente(this,">"+"Si desea continuar, abra otra sesion");
            escribirHistorial("desconexion Involuntaria por fin de tiempo desde la direccion:");
        }
        catch (IOException e2)
        {
            escribirHistorial("desconexion Involuntaria desde la direccion:");
        }
        finally
        {
            eliminarConexion(this);
            limpiar();
        }
    }
    private void limpiar ()
    {
        if (entrada !=null)
        {
            try
            {
                entrada.close();
            }
            catch(IOException e1)
            {
               
            }       
        }
        if (salida!=null)
        {
            salida.close();
            salida=null;
        }
        if (socket !=null)
        {
            try
            {
                socket.close();
            }
            catch (IOException e2)
            {
               
            }
            socket=null;
        }       
    }
   
    private static synchronized void eliminarConexion(ThreadServidor threadServidor)
    {
        clientesActivos.remove(threadServidor);
    }
   
    private static synchronized void anyadirConexion(ThreadServidor threadServidor)
    {
        clientesActivos.add(threadServidor);
    }
   
    private synchronized void escribirATODOS(string textoUsuario)
    {
        Iterator it=clientesActivos.iterator();
        while (it.hasNext())
        {
            ThreadServidor tmp=(ThreadServidor) it.next();
            if (!(tmp.equals(this)))
           
                escribirCliente(tmp.textoUsuario);
           
        }
       
    }
   
    private synchronized void escribirCliente(ThreadServidor threadServidor,String textoUsuario)
    {
        (threadServidor.salida).println(textoUsuario);
    }
   
    private static synchronized StringBuffer clientesActivos()
    {
        StringBuffer cadena = new StringBuffer();
        for (int i=o;i<clientesActivos.size();i++)
        {
            ThreadServidor tmp = (ThreadServidor) (clientesActivos.get(i));
            cadena.append((((ThreadServidor) clientesActivos.get(i)).nombreCliente)).append("||");
        }
        return cadena;
    }
   
    private synchronized void escribirHistorial(String mensaje)
    {
        PrintWriter salidaArchivo=null;
        try
        {
            salidaArchivo = new PrintWriter(new BufferedWriter(new FileWriter(historial,true)));
            salidaArchivo.println(mensaje+""+socket.getInetAddress().getHostName()+" Por el puerto "+socket.getPort()+" en la fecha "+new Date());
        }
        catch(IOException e1)
        {
            System.out.prinln("Fallo en el archivo historial.");
        }
        finally
        {
            if (salidaArchivo !=null)
            {
                salidaArchivo.close();
                salidaArchivo=null;
            }
        }
    }
}



bueno lo que no e podido descifrar es por que  no la encuentra puesto que se declara un arreglo para reunir todos los clientes conectados al servidor y regresa cadena como resultado entonces no se por que el compilador me dice que no encuentra el identificador

posdata:

Espero deverdad que alguien pueda ayudamer deverdad se los agradecería mucho

posdata2:

Porfavor moderadores ya revise el reglamento y en ningun momento vi que faltara a ninguna regla esepto el de no poner mi codigo en las etiquetas y que por eso borraran el tema, por favor mi unico deseo es aprender y ser parte de foro por lo tanto espero que respeten mi duda y no borren el tema por su atencion gracias.


En línea

El conocimiento es poder!!!

Saludos!!


Casidiablo
Desarrollador
Colaborador
***
Desconectado Desconectado

Mensajes: 2.919



Ver Perfil WWW
Re: Duda con con codigo chat ayuda!!!
« Respuesta #1 en: 26 Marzo 2008, 19:50 pm »

Exacto... fue por no poner las etiquetas de code que te borre el post... con respecto al problema, debería ser así la línea 108:

Código:
private static ArrayList clientesActivos = new ArrayList();

O algo por el estilo... además tienes un montón de errores más. Por ejemplo, intentas hacer "string variable" y es "String variable".

Un saludo!


En línea

Casidiablo
Desarrollador
Colaborador
***
Desconectado Desconectado

Mensajes: 2.919



Ver Perfil WWW
Re: Duda con con codigo chat ayuda!!!
« Respuesta #2 en: 26 Marzo 2008, 19:57 pm »

Después de corregir 12 errores:

Código
  1. import java.io.*;
  2. import java.net.*;
  3. import javax.swing.*;
  4. import java.util.*;
  5.  
  6. public class ServidorChat
  7. {
  8.    private static final int PUERTO=9000;
  9.    protected static final int TIEMPO_DESCONEXION_AUTOMATICA=600000;
  10.    private ServerSocket socketServidor;    
  11.  
  12.    public static void main (String []args)
  13.    {
  14.        new ServidorChat();        
  15.    }
  16.  
  17.    public ServidorChat()
  18.    {
  19.        System.out.println("Arrancando Servidor por el puerto "+PUERTO);
  20.        arrancarServidor();
  21.        procesarClientes();        
  22.    }
  23.  
  24.    private void arrancarServidor()
  25.    {
  26.        try
  27.        {
  28.            socketServidor = new ServerSocket(PUERTO);
  29.            System.out.println("El servidor esta en marcha escuchando por el puerto: "+PUERTO);
  30.        }
  31.        catch (java.net.BindException e1)
  32.        {
  33.            String mensaje="No se puede arrancar el servido es posible que el puerto "+PUERTO+" este ocupado";
  34.            errorFatal(e1, mensaje);
  35.        }
  36.        catch (java.lang.SecurityException e2)
  37.        {
  38.            String mensaje="No se puede arrancar el servidor es posible que el puerto "+PUERTO+" Tenga restricciones de seguridad";
  39.            errorFatal(e2, mensaje);
  40.        }
  41.        catch (IOException e3)                
  42.        {
  43.            String mensaje="IMposible arrancar el servidor";
  44.            errorFatal(e3, mensaje);
  45.        }
  46.    }
  47.    private void procesarClientes()
  48.    {
  49.        Socket socketCliente =null;
  50.        while (true)
  51.        {
  52.            try
  53.            {
  54.                socketCliente = socketServidor.accept();
  55.                try
  56.                {
  57.                    new ThreadServidor(socketCliente);
  58.                }
  59.                catch (IOException e1)
  60.                {
  61.                    if (socketCliente !=null)
  62.                    {
  63.                        try
  64.                        {
  65.                            socketCliente.close();
  66.                        }
  67.                        catch (IOException e2)
  68.                        {
  69.  
  70.                        }
  71.                    }
  72.                }
  73.            }
  74.            catch (java.lang.SecurityException e3)
  75.            {
  76.                if (socketServidor !=null)
  77.                {
  78.                    try
  79.                    {
  80.                        socketServidor.close();
  81.                    }
  82.                    catch (IOException e4)
  83.                    {
  84.                        //nothing
  85.                    }
  86.                }
  87.                String mensaje="Con su configuracion de seguridad, Los clientes no podran conectarse por el puerto "+PUERTO;
  88.                errorFatal(e3, mensaje);                
  89.            }
  90.            catch (IOException e5)
  91.            {
  92.                //no se hace nada por que no se pudo crear el socket
  93.            }
  94.        }
  95.    }
  96.    public static void errorFatal(Exception excepcion, String mensajeError)
  97.    {
  98.        excepcion.printStackTrace();
  99.        JOptionPane.showMessageDialog(null,"Error Fatal."+System.getProperty("line.separator")+mensajeError,"Informacion Para el usuario",JOptionPane.WARNING_MESSAGE);
  100.        System.exit(-1);
  101.    }
  102. }
  103.  
  104. class ThreadServidor extends Thread
  105. {
  106.    private String nombreCliente;
  107.    private static String historial = "C:historial.txt";
  108.    private static ArrayList clientesActivos = new ArrayList();
  109.    private Socket socket;
  110.    private BufferedReader entrada;
  111.    private PrintWriter salida;
  112.  
  113.    public ThreadServidor(Socket socket) throws IOException
  114.    {
  115.        this.socket = socket;
  116.        PrintWriter salidaArchivo=null;
  117.        salida=new PrintWriter(socket.getOutputStream(),true);
  118.        entrada = new BufferedReader (new InputStreamReader(socket.getInputStream()));
  119.        escribirHistorial("conexion desde la direccion");
  120.        start();        
  121.    }
  122.  
  123.    public void run()
  124.    {
  125.        String textoUsuario="";
  126.        try
  127.        {
  128.            salida.println("> Bienvenido a este chat.");
  129.            salida.println(">introduce tu nombre");
  130.            nombreCliente = (entrada.readLine()).trim();
  131.            if ((nombreCliente.equals(""))||(nombreCliente==null))
  132.            {
  133.                nombreCliente="invitado";
  134.            }
  135.            Iterator it= clientesActivos.iterator();
  136.            while (it.hasNext())
  137.            {
  138.                if (nombreCliente.equals(((ThreadServidor)it.next()).nombreCliente))
  139.                {
  140.                    nombreCliente = nombreCliente + socket.getPort();
  141.                    break;
  142.                }
  143.            }
  144.            anyadirConexion(this);
  145.            salida.println(">Se le asigno el alias de"+nombreCliente);
  146.            socket.setSoTimeout(ServidorChat.TIEMPO_DESCONEXION_AUTOMATICA);
  147.            while ((textoUsuario=entrada.readLine())!=null)
  148.            {
  149.                if (textoUsuario=="DESCONECTAR")
  150.                {
  151.                    salida.println("****************adios************");
  152.                    break;
  153.                }
  154.                else if ((textoUsuario.equals("LISTAR")))
  155.                {
  156.                    escribirCliente (this,">"+clientesActivos());
  157.                }
  158.                else
  159.                {
  160.                    escribirATODOS(nombreCliente+">"+textoUsuario);
  161.                }
  162.            }
  163.        }
  164.        catch (java.io.InterruptedIOException e1)
  165.        {
  166.            escribirCliente(this,">"+"Se paso el tiempo:Conexion Cerrada");
  167.            escribirCliente(this,">"+"Si desea continuar, abra otra sesion");
  168.            escribirHistorial("desconexion Involuntaria por fin de tiempo desde la direccion:");
  169.        }
  170.        catch (IOException e2)
  171.        {
  172.            escribirHistorial("desconexion Involuntaria desde la direccion:");
  173.        }
  174.        finally
  175.        {
  176.            eliminarConexion(this);
  177.            limpiar();
  178.        }
  179.    }
  180.    private void limpiar ()
  181.    {
  182.        if (entrada !=null)
  183.        {
  184.            try
  185.            {
  186.                entrada.close();
  187.            }
  188.            catch(IOException e1)
  189.            {
  190.  
  191.            }        
  192.        }
  193.        if (salida!=null)
  194.        {
  195.            salida.close();
  196.            salida=null;
  197.        }
  198.        if (socket !=null)
  199.        {
  200.            try
  201.            {
  202.                socket.close();
  203.            }
  204.            catch (IOException e2)
  205.            {
  206.  
  207.            }
  208.            socket=null;
  209.        }        
  210.    }
  211.  
  212.    private static synchronized void eliminarConexion(ThreadServidor threadServidor)
  213.    {
  214.        clientesActivos.remove(threadServidor);
  215.    }
  216.  
  217.    private static synchronized void anyadirConexion(ThreadServidor threadServidor)
  218.    {
  219.        clientesActivos.add(threadServidor);
  220.    }
  221.  
  222.    private synchronized void escribirATODOS(String textoUsuario)
  223.    {
  224.        Iterator it=clientesActivos.iterator();
  225.        while (it.hasNext())
  226.        {
  227.            ThreadServidor tmp=(ThreadServidor) it.next();
  228.            if (!(tmp.equals(this)))
  229.  
  230.                escribirCliente(tmp, textoUsuario);
  231.  
  232.        }
  233.  
  234.    }
  235.  
  236.    private synchronized void escribirCliente(ThreadServidor threadServidor,String textoUsuario)
  237.    {
  238.        (threadServidor.salida).println(textoUsuario);
  239.    }
  240.  
  241.    private static synchronized StringBuffer clientesActivos()
  242.    {
  243.        StringBuffer cadena = new StringBuffer();
  244.        for (int i=0;i<clientesActivos.size();i++)
  245.        {
  246.            ThreadServidor tmp = (ThreadServidor) (clientesActivos.get(i));
  247.            cadena.append((((ThreadServidor) clientesActivos.get(i)).nombreCliente)).append("||");
  248.        }
  249.        return cadena;
  250.    }
  251.  
  252.    private synchronized void escribirHistorial(String mensaje)
  253.    {
  254.        PrintWriter salidaArchivo=null;
  255.        try
  256.        {
  257.            salidaArchivo = new PrintWriter(new BufferedWriter(new FileWriter(historial,true)));
  258.            salidaArchivo.println(mensaje+""+socket.getInetAddress().getHostName()+" Por el puerto "+socket.getPort()+" en la fecha "+new Date());
  259.        }
  260.        catch(IOException e1)
  261.        {
  262.            System.out.println("Fallo en el archivo historial.");
  263.        }
  264.        finally
  265.        {
  266.            if (salidaArchivo !=null)
  267.            {
  268.                salidaArchivo.close();
  269.                salidaArchivo=null;
  270.            }
  271.        }
  272.    }
  273. }

La próxima busca mejor los errores :P

Un saludo!
En línea

Burnhack


Desconectado Desconectado

Mensajes: 559


Hackers always fight


Ver Perfil WWW
Re: Duda con con codigo chat ayuda!!!
« Respuesta #3 en: 26 Marzo 2008, 20:04 pm »

Jejeje, CasiDiablo...sigues siendo The Best...no lo compilara ni nada pero solo se me ocurria decirle los fallos del "string" . No es nada facil coger codes ajenos y entenderlos.


Saludos
En línea




Cuentas Premium Gratis aquí

Petición partidos fútbol, F1, tenis, baloncesto...
aquí
Casidiablo
Desarrollador
Colaborador
***
Desconectado Desconectado

Mensajes: 2.919



Ver Perfil WWW
Re: Duda con con codigo chat ayuda!!!
« Respuesta #4 en: 26 Marzo 2008, 20:32 pm »

No es nada facil coger codes ajenos y entenderlos.

Es lo que iba yo a decir...
En línea

shin_akuma

Desconectado Desconectado

Mensajes: 32



Ver Perfil
Re: Duda con con codigo chat ayuda!!!
« Respuesta #5 en: 26 Marzo 2008, 21:07 pm »

Oky gracias por la ayuda me sirvio mucho

Tratare de no tener tantos errores :xD  de dedo pero ese error no me dejeba ver la los otros ya que uso el net beans de nuevo gracias  ;D
En línea

El conocimiento es poder!!!

Saludos!!


Burnhack


Desconectado Desconectado

Mensajes: 559


Hackers always fight


Ver Perfil WWW
Re: Duda con con codigo chat ayuda!!!
« Respuesta #6 en: 26 Marzo 2008, 21:09 pm »

Oky gracias por la ayuda me sirvio mucho

Tratare de no tener tantos errores :xD  de dedo pero ese error no me dejeba ver la los otros ya que uso el net beans de nuevo gracias  ;D

Deberias de trabajar con eclipse, yo creo que es mejor para aprender y trabajar java.Aunque este no es el debate.

Saludos
En línea




Cuentas Premium Gratis aquí

Petición partidos fútbol, F1, tenis, baloncesto...
aquí
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[Duda C] Ayuda a comprender un código.
Programación C/C++
josevc 3 1,921 Último mensaje 3 Noviembre 2012, 18:41 pm
por josevc
[Duda] Web Chat
Desarrollo Web
Raxion 1 1,567 Último mensaje 27 Julio 2015, 00:39 am
por Usuario Invitado
codigo chat
Desarrollo Web
tanquebond 0 1,545 Último mensaje 24 Octubre 2016, 20:14 pm
por tanquebond
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines