/** * 查找指定坐标点成员 * * @param x * @param y * @return */ private LComponent findComponent(int x, int y) { if (this.modal != null && !this.modal.isContainer()) { return null; } // 返回子容器 LContainer panel = (this.modal == null) ? this.contentPane : ((LContainer) this.modal); LComponent comp = panel.findComponent(x, y); return comp; }