How do MessageCountChangeEvents get sent?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alex_Donaldson
Posted On:   Monday, May 24, 2004 05:26 PM

I am reading a newsgroup and want to know when and what new messages come in. Every time a new message is added to the newsgroup the folder.hasNewMessages() will return true, but a MessageCountChangeEvent is never sent, so I have no way of knowing what messages were added, etc. Also, the folder.getNewMessageCount() returns the number of all the messages in the folder, even if only 1 message is added. Is there a trick to making this work?

About | Sitemap | Contact