J
Jack Dowson
Hello Everybody:
I am indulging in java's gui programing these days.
Yesterday,I created a tree using class JTree.I've tried two ways to
response TreeSelectEvent,one is by implementing interface
treeSelectionListener,the other is by MosueListener.
They both worked well when applied alone.But when I employed them both
at the same time,only MouseListener worked,so I think there might be
some concepts like priority level in java's event response system?
Am I right? Or there might have something else happened?
Thanks.
Dowson.
I am indulging in java's gui programing these days.
Yesterday,I created a tree using class JTree.I've tried two ways to
response TreeSelectEvent,one is by implementing interface
treeSelectionListener,the other is by MosueListener.
They both worked well when applied alone.But when I employed them both
at the same time,only MouseListener worked,so I think there might be
some concepts like priority level in java's event response system?
Am I right? Or there might have something else happened?
Thanks.
Dowson.