コード例 #1
0
 @Override
 boolean mouseReleased(MouseEvent e, ImageDisplay ic) {
   tool.mouseReleased(e, ic);
   return true;
 }
コード例 #2
0
 @Override
 boolean mousePressed(MouseEvent e, ImageDisplay ic) {
   tool.mousePressed(e, ic);
   // this is the last handler in the chain, therefore it always returns true
   return true;
 }