ComponentReference cr = getResolver().addComponent(target);
String methodName = "actionSelectRow";
ArrayList args = new ArrayList();
args.add(cr.getID());
args.add(getLocationArgument(list, x, y));
if (list.locationToIndex(new Point(x, y)) == -1) {
methodName = "actionClick";
}
if ((mods != 0 && mods != InputEvent.BUTTON1_MASK)
|| count > 1) {
methodName = "actionClick";