Recognising a collision.

If I wanted to find when 2 particular collision nodes collide (e.g. the view & a tree) & then produced notification e.g. An awt dialogue when this happen, how would I do this or rather test for this?

EBTTRT