Added DefaultListener in ObjectPanel. It appears to work