DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: JList Problem

Hybrid View

  1. #1
    Join Date
    Apr 2006

    JList Problem

    Hi all,
    I have developed a simple chat application and I am having problems updating the onlineUserlist dynamically after a user logs in
    or a user logs off.

    As you can see below the contacstFrame class implements the ListSelectionListener, ListDataListener
    My problem is that i don't know how to tell the model that a user have logged or a user have logged off so it can update dynamically.

    Any suggestions...?
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2004
    When a user has logged on or off, the server needs to trigger an event for all those who have that user on their list. On AOL's chat service, you would receive an "updated_buddy2" command whenever the status of a buddy on your list has changed.
    I've documented how AOL's protocol works, perhaps it might help you with designing your own.

Similar Threads

  1. Replies: 0
    Last Post: 12-13-2001, 12:06 PM
  2. a problem with font and language
    By Roseta in forum VB Classic
    Replies: 0
    Last Post: 11-14-2001, 03:24 AM
  3. Replies: 1
    Last Post: 07-12-2001, 06:15 PM
  4. Arabic problem view
    By Ayman in forum VB Classic
    Replies: 0
    Last Post: 04-03-2000, 01:08 AM
  5. Problem with CryptoAPI and JCE
    By Jason Bock in forum VB Classic
    Replies: 0
    Last Post: 03-21-2000, 06:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.