Search:

Type: Posts; User: vivek rajput

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    166

    Re: client- server program not working

    thanks..was inserting the wrong ip..but still its giving wrong output.. and will wrap the programs in future.thanks :)

    --- Update ---

    thanks..was inserting the wrong ip..but still its giving...
  2. Replies
    2
    Views
    166

    client- server program not working

    import java.io.*;
    import java.net.*;
    public class Client1
    {
    public static void main(String args[])throws IOException
    {
    try
    {
    Socket socket=new Socket("59.177.97.229",5001);
    DataInputStream...
  3. Replies
    4
    Views
    236

    Re: GUI based program

    Thanks a lot Kevin :) it worked finally
  4. Replies
    4
    Views
    236

    Re: GUI based program

    thanks. but its now showing one error :
    non-static variable this cannot be referenced from a static context
    jb.addActionListener(this);
  5. Replies
    4
    Views
    236

    GUI based program

    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    class GUI2 extends JFrame implements ActionListener
    {
    public static void main(String s[])
    {

    JFrame jf=new...
Results 1 to 5 of 5