private FriendsStatusListener makeFriendsStatusListener() {
		return new FriendsStatusListener() {
			@Override
			public void statusChange(Long friendId, SkypeStatus newStatus) {
				System.out.println(" !! Status msg receiv: userID:"+friendId+"  newStatus:"+newStatus.name());
				
				switch (newStatus) {
					case OFFLINE : {
						Friend friend = findListEntryById(friendId);
						if(friend != null) {
							friend.setStatus(newStatus);
							friendsList.setModel(friendslistModel);
							ChatWindow win = getActivChatWindow(friendId);
							if(win != null) {
								win.setOnOffStyle(false);
							}
						}
					} break;
					case ONLINE : {
						Friend friend = findListEntryById(friendId);
						if(friend != null) {
							friend.setStatus(newStatus);
							friendsList.setModel(friendslistModel);
							friendsList.repaint();
						//	listModel.addElement(entry);
							ChatWindow win = getActivChatWindow(friendId);
							if(win != null) {
								win.setOnOffStyle(true);
							}
						}
					} break;
					
					default: break;
				}
			}
		};
	}