[SNMP4J] addMOTableModelListener question

Frank Fock fock at agentpp.com
Fri May 12 22:40:10 CEST 2006


Hello Anthony,

The ROW_CHANGED event is (currently?) not supported
by the DefaultMOMutableTableModel. To get informed
about cell updates, I recommend using the
MOChangeEvent.

Hope this helps.

Best regards,
Frank

Zinger, Anthony J wrote:
> Hello Frank,
> 
>  
> 
>   I am using snmp4j version 1.7.
> 
>  
> 
>   I have added a listener to my table entry via the
> addMOTableModelListener() method.  When I add or remove an entry from
> this table my listener gets called via an event with the appropriate
> event type, i.e. ROW_ADDED or ROW_REMOVED.  However, when I modify an
> entry, my listener does NOT get called via an event and I do NOT receive
> a ROW_CHANGED event type.  Is this the correct behavior?  Or do I need
> to configure a different listener someplace else?  The reason I need
> this capability is that I want to transfer the modified information to
> another application.
> 
>  
> 
>   Thanks for all of your help in answering my question.
> 
>  
> 
> Anthony J. Zinger
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list