Ideas for a "buddy list"

hi i am trying to design and create a buddy list for my instant messenger. i have created a Jtree with online and offline has the child nodes.
i then going to create a vector list stored in a txt file with users names, and i will load that list in a jtree..
the problem im having is how can i load data from the vector list into the jtree? And most importantly how can the Jtree autmaticly updates itself when a user is offline/online?
BTW i have a sMYSQL erver that knows when a user is offline/online..
any suggetsions?

> i read about mvc but i dont see it helping me in this situation.
With more experience, you'll hopefully learn the relevance.
> i read about tree listeners and thats more
relivent than mvc patterns.
I don't agree that it's "more" relevant at all. The view listens to the model in this case, which a JTree does (it listens to the TreeModel).
> i added tree listeners to
my program and insterted this code below...
I don't see that there's a need to add any tree listeners in your case. Update the model, and the view will update itself automagically.
Please refer to the following:
How to Use Trees
Dynamically Changing a Tree
DynamicTreeDemo
Good luck!

Similar Messages

  • Ideas for a Price Lists

    We are about to start implementing another site and they have some specific price schedules we are trying to meet the requirements for. I thought I would get some ideas from the group on the Price Structure to handle it.
    There are three Customer Groups, A, B , an C.
    Each item has a SRP associated with each group that can vary between items from which the discounts are applied against. ( A=25, B=50, C=75).
    Each Item also has Volume Discounts ( the qty breaks can vary between Customer groups as well ) ( Item A in Group A breaks at 1-49 @ 65% * SRP, but for Group B breaks at 1-75 @ 70% * SRP; etc )
    Individual Items will be maintained in Item Groups. These items will have the same breaks and discounts.
    Initially I can see how to set all this up but they also add 1 to 2 Items per week. which means trying to associate the new items with the correct customer group, volume breaks and discounts would be a nightmare.
    How can this scenario be made more manageable so that new items can be put in with ease?
    Would the Configurator tool be useful?
    TIA
    Jeff Cooper

    Hi!
    We can achive this using Price List Hierarchies and Expansions  under Inventory.
    Please see this threads to have a better understanding
    Price List Hierarchies and Expansions
    [Special Prices for Business Partners] and [Hierarchies and Expansions]
    Special Prices - Hierarchies

  • Buddy list not showing

    When I open my iChat, the offline buddies appear but will not display as online. I know that people are online and using their chat, but I cannot seem to get Chat to display available contacts. Have I done something wrong?

    Hi,
    GO to iChat > Preferences > Accounts > Server settings tab and change the port to 443
    This is for the TCP login.
    iChat also uses this port on the UDP protocol to get feedback for the Buddy list so this port needs to be open on UDP in the Mac Firewall IF ON and in any routing device.
    10:57 PM Monday; October 29, 2007

  • How to get the iChat Buddy List to automatically appear on the Desktop

    On my friends computer iChat is set to launch whenever he logs into his account, but the Buddy List does not appear on his Desktop. So when I see him online there is no green video camera mark next to his name.
    If I want to do a screen share with him, I have to ask him to go to the iChat icon towards the right side of the Menubar (the round 'speech ballon') and click on Show AIM Buddy List at the bottom. Once he has the Buddy List on his Desktop, I can screen share with him.
    Surely there must be a way for the Buddy List to always appear on the Desktop when logging into his computer... Can anyone help out?

    Hi,
    Interesting one.
    If I were telling you how to create this it would be like this:-
    1) Go to System Preferences > Accounts > Your account and enter iChat in the Login items. (Makes iChat launch at Computer Start Up)
    2) to Hide the Window (Buddy List(s) ) at Start Up click the Red Button to close the Window/Buddy List before Quitting.
    This will cause the next Start Up to not show th Buddy List.
    How you make the Buddy List appear after that depends on how you bring it in to View.
    NOTES:
    Some Windows in iChat from Buddy List to the Preferences to th Actual Chat Windows will appear in the places you left them for the most part.
    The Exceptions are Incoming Invites.
    This means the Buddy List will be were you left it, your Outgoing Invite/Preview whilst waiting for Connection will always be where the last outgoing Video Chat window was.
    Using the Red Button on a Open Chat Window will end the Chat (All types).
    However doing it to a Buddy List only Hides it.
    In addition to this using the Item (or the Keystrokes) from the Window Menu of iChat for a Buddy list when it is On view will Hide it (or Bring it back if Hidden)
    The Show AIM option in the Menu Bar icon's drop down is a two edge thing as it shows All Buddies (Available ones) from all AIM Buddy lists if you have more than one (Apple names are also AIM Names in this case).
    Does he want to change this Behaviour ?
    He would be better off using the iChat Window menu (or Keystrokes) after he has clicked the icon in the Dock to bring the app to the Front so he can access the Menu bar with ichat in it.
    He could also click and Hold the icon for iChat in the DOCK and select the Account Name there. This, if I remember correctly, will have the same effect as presenting the Buddy List from the Menu Bar icon (it will be hidden at Next Start Up)
    9:58 PM Saturday; November 13, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Idea for an alternative buddy list-

    i think it would be cool if instead of names, ichat gave you an option where it would only display your buddie's icons (and the name would appear when your mouse hovered over the icon). you could have the ability to increase or decrease sizes, so your significant other's icon could be at the top of the window, a full two-square-inches; while eight or however many people you don't know as well could occupy a line beneath it.
    if you could arrange and resize the icons, i think that would be really handy; as it would allow you to have the same information in a less cluttered way.
    i find it frustrating both that i have to display everyone- even if they are off; and that i get multiple copies of the same person if they have two screen names.

    Hi Jordon,
    I currently have 179 Buddies in my list.
    The largest group is one of 67 for new testers that I keep for a while when they test with me.
    Even if I keep it showing On-Line Buddies (See Defcom's instructions) like I do I still can't get all-oline Buddies on the screen.
    However your suggestions do seem to have some merit. I could also see theat a Pop-up Buddy icon might suit some people, such as top of the Buddy list near yuo own Buddy pic and linking arrows when Chatting with possibly a small icon to show type.
    At present it is not possible to have the list apart in some form of order and short of redoing people's "Real" names their is no way of changing this (Although combos of doing one and then another will produce Alphbetical Availablity). I could see that people would also want the abiliy to order the list to their own spefications or just drag them into the order they want.
    I could see that some would even want the Buddy List to Display Columns.
    Feedback is certainly the place to go with this.
    Ralph

  • How do I create an auto reply for one person in my buddy list?

    I want to be able to have an automatic reply to one person in my buddy list whenever they IM me so that i dont have to reply myself. I dont want to block them but i sometimes want to be able to just avoid them and so does anyone know any applescript that i can run whenever they send me a message??

    Hi,
    In the Buddy List highlight a Buddy.
    Use the CMD and I keys together (Get Info)
    This brings up their Info Card.
    Select Actions  (Same as Alerts in the Preferences In Fact some versions do Read  "Alerts" )
    Change the top item to Invite (Text)
    Select the AppleScript option.
    Set the Script to be Auto-Decline.
    This will produce no response on the Buddies end.
    For that go to the General Section of the Preferences and set  the option to "Auto-Reply with my Away Message"
    This will then send the Away message to the Buddy set in the first bit but to no--one else.
    If you wish to be able to Reply when you have an Available Message up, that is a little more difficult.
    9:19 PM      Thursday; September 29, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Ichat auto accept for file transfer?  way to combine buddy lists?

    1) on the new leopard ichat, is there an auto-accept mode for file transfers so that anyone on my buddy list can automatically send me files?
    2) i have a google chat and aim accounts running. they run on separate buddy lists. is there a way to combine them to only have one buddy list window?

    You can actually. Go to iChat > Preferences > Alerts, select "Incoming File Transfers" from the pull-down menu, check "Run AppleScript", select "Auto Accept.applescript". Your file transfers will be accepted by default

  • I am looking for new buddies to add to my buddy list.

    I have used iChat for several years, but my "Buddy" list has got smaller over time. I would like to locate new people. I am 70 years old, I am a Christian, a retired commercial artist.

    Other lists are also listed here but may not be current as they drop fairly frequently
    http://www.ralphjohns.co.uk/page5.html#_lists
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    11:07 PM Monday; January 18, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • How do I add a googlemail user onto my buddy list on my ichat?

    I bought my macbook a few weeks ago and, while I adore it to bits so far, I seem to have a bit of a problem with ichat (version 4.0.6). I tried to add my friend who uses a googlemail account (with jabber) onto my buddy list in ichat but, according to ichat, it seems that it only accepts mac.com, aim and mobile me account holders. So that was no good so I tried it on adium and I got it ok but for some reason, I cant see him online nor can he see me online. I logged out of adium and logged back into ichat and there it was his username there with googlemail.com but still cant reach him even though I said a couple of lines to check. Im stuck! Any idea how to add googlemail users onto buddy list on ichat?

    http://www.google.com/support/talk/bin/answer.py?answer=24076
    http://mail.google.com/videochat

  • One other user & I can no longer see each other in the buddy list

    My friend & I, who have used iChat for years, and also recently, and neither of us has changed anything, can no longer see each other in either one of our buddy lists.
    We've checked:
    - That neither of us is blocking the other
    - That other people can see us - they can
    - That we can see other people - we can - we can even see the same people as each other, just not each other
    We've tried blocking & unblocking each other, in case that would reset something, and both rebooted our Mac's several times.
    Any ideas???

    Ralph Johns (UK) wrote:
    Hi,
    I can see that Accounts/Screen Names can get messed up on the various flags set by an App to and therefore On the AIM servers.
    What I can not see in this case is why it seems to be limited to just one Buddy on each computer.
    As the Block list (And therefore presumably Allow Lists) are not actually shown in the .p0list I ma hoping that deleting it and restarting ichat at one end at least will reset that iChat form the Defaults haled in the app when you do this.
    (you could delete that Account Screen Name from iChat ? Preferences > Accounts to achieve the same things in a more destructive way as it would tend to rewrite all the .plists which may included Jabber ones that are OK
    We both did delete our screen names in iChat, and also deleted ALL the prefs manually.
    Also, we've tried using entirely different computers to log-in to those same accounts, with the same results - somehow we're blocked from each other.
    I think we're both giving up at this stage. We have additional accounts we can use to see each other. But it would be really nice to get to the bottom of it, because if it happens once it can happen again. Who knows? Maybe there are other people in my buddy list that this is happening with right now, but we don't know it. This person just happens to be someone I chat with a lot, and we noticed we weren't seeing each other.

  • User not showing in Buddy List 10.9.4 Server/3.1.2

    I have added a new user to our server, but for some reason they are not showing up in others' Buddy Lists to be able to message them on a local network. If I enable Bonjour they show there, and they are able to access the file server just fine. To make the situation more confusing, looking into the logs I see them appear to be connecting to the chat server correctly. Any ideas as to what may be wrong?
    Aug 21 05:47:08 mavserve.local jabberd/c2s[3995]: Authentication succeeded, mech: DIGEST-MD5 client IP: ::ffff:192.168.1.46 client port: 49190 username: krislg
    Aug 21 05:47:08 mavserve.local jabberd/c2s[3995]: int od_auth_check_service_membership(const char *, const char *): checking user "krislg" access for service "chat"
    Aug 21 05:47:08 mavserve.local jabberd/c2s[3995]: int od_auth_check_service_membership(const char *, const char *): mbr_check_service_membership returned 0
    Aug 21 05:47:08 mavserve.local jabberd/c2s[3995]: int od_auth_check_service_membership(const char *, const char *): user "krislg" is authorized to access service "chat"
    Aug 21 05:47:08 mavserve.local jabberd/c2s[3995]: [10] DIGEST-MD5 authentication succeeded: [email protected] ::ffff:192.168.1.46:49190 TLS
    Aug 21 05:47:08 mavserve.local jabberd/c2s[3995]: [10] bound: jid=[email protected]/kris's iMac
    Aug 21 05:47:08 mavserve.local jabberd/sm[3993]: session started: jid=[email protected]/kris's iMac
    Thanks in advance!

    I was able to message the user directly [email protected] and he received it fine, apparently he is just invisible in the Buddies window. Stumped.

  • Black Horizontal Line in Buddy List...

    ...Although this appears to be mostly cosmetic, I can't figure out where it came from. In my buddy list, there is a horizontal black line, that divides my buddy list in half, with no seeming relation to status, audio, video, etc,etc. It is just there and never moves.
    Any ideas?
    Thanks.

    Hi Steven,
    I have been in iChat 3 myself for some while. IS this a divider between on line and Off line Buddies ?
    Ralph

  • IChat - empty buddy list

    Hi all,
    yesterday I downloaded and installed the iChat Update (Universal) 1.0. Afterwards I was able to connect through AIM, but the buddy list is empty now. Everything worked fine before the update was installed. I didn't change any of the settings. So what's going on? Any ideas how to get this fixed?
    Jörg
    Mac Pro   Mac OS X (10.4.8)  

    Changing port didn't work. The failure occured for me while logged on and before installing any updates. I have since installed the update, and changed the port, and threw away all iChat preferences, and it still doesn't work. No buddies, can't add buddies, can't chat with a buddy by name ("Your security settings prevent you from chatting with this person"). I can't be seen by them either.
    G4   Mac OS X (10.4.8)  

  • Lion Issue - Buddies not in Buddy List

    I can see my Buddies in the menu bar drop down but not in my buddy list. Any ideas?

    Hi,
    If you have several Buddy Lists that Login to AIM then the Menu Bar iCon drop down will show all those that are On line.
    There may be some that are Not in a Buddy List when you view it.
    It does similar thing with multi-Jabber Buddy lists
    The Drop down will show All  but lets say you have  Google List, that will only show you  your Google Buddies (Buddies added to the Google List)
    Of course the other thing is that the Drop Down can display Jabber Buddies whilst you look at a AIM (Login) Buddy list or vice versa)
    8:14 PM      Monday; November 28, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • 10.4.6 Update killed my Buddy List. Why?

    I just installed the 10.4.6 updater, and my iChat Buddy List has disappeared. When I start iChat, the list appears, but it's blank. I tried adding buddies from my saved chats, but the list remains blank. Has anyone else had this problem? Does anyone have any ideas for solving the problem?

    Did you repair permissions after updating?
    You might try iChat with another User account.
    You also might try downloading and installing again using the 10.4.6 Combo.

Maybe you are looking for

  • Go do I move my iTunes from one computer to another.

    How do I move my iTunes from one computer to another.

  • Hard Drive And RAM upgrade queries

    I have a Mid 2010 Unibody White MacBook. I want to upgrade the Hard Drive and the RAM. I currently have a 250GB hard drive and 2GB of RAM that came with the MacBook. I want to upgrade the Hard Drive to either 640 GB or 750 GB. On checking a few other

  • No AVCHD or any HD supported in CS 5.5 ?!

    Hello everybody, Today i installed the Adobe CD 5.5 master package, and when i started Premiere Pro i immediately noticed that there where no video presets supporting any kind of modern HD video such as AVCHD or XDCAM. So i made my own preset and tri

  • Bapi fm for the transaction FS10n

    Hi friends, Can any ine tell the bapi fm for t code FS10n. Thanks , Ankitha

  • Asynchrono​us to synchronou​s data

    I have a vi with several sub vis collecting data from a variety of more or less asynchronous processes. In some cases the instruments are triggered but mostly they are supplying serial ASCII strings of various lengths at about 1 second intervals. Som