Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cyli
  • Order by date
  1. cyli

    After connecting with socket and sending data, unable to recv

    I'm trying to write a little script to send data to another machine, and just read any message I get in return. so I do something like: import socket import select s = socket.socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) s.connect((<host>, <port>)) s.send('sometext') [input...
  2. cyli

    Accessing Class and passing Collection object....

    If I'm understanding your code correctly (I just glanced at it) I think declaring myArray as a class variable instead of a method variable would help. So: public class ItsMe extends JFrame implements ActionListener { ... private ArrayList myArray; ...
  3. cyli

    JTable test not working...

    JTable takes a two-dimensional array of data, and a one-dimensional array of column names. your ia is only a one-dimensional array.
  4. cyli

    can i replace only one character from a string?

    You can do something like: String input = &quot;111111111&quot; char[] replaced = input.toCharArray(); replaced[3] = '0'; input = new String(replaced);
  5. cyli

    HashMap -- Whats happening ??? (Urgent)

    I'm not sure about TreeSelectionListener, but do you at any time alter the dmtn in your click-and-expand method? Or do you alter Node at all? If you get a set of the values in the HashMap, (by say doing HashMap.values()), and remove one of those values from the Set or the Vector that results...
  6. cyli

    Want to build a irc client

    try visiting: www.twistedmatrix.com This guy wrote both an irc client and irc server in Python. The code is open source. Maybe it might help. :)

Part and Inventory Search

Back
Top