for (SystemInfo info : getSystems()) { if (rect.y <= info.getAreaBottom() && (rect.y + rect.height >= info.getAreaTop())) { list.add(info);
if (rect != null) { for (SystemInfo info : getSystems()) { if (rect.y <= info.getAreaBottom() && (rect.y + rect.height >= info.getAreaTop())) { list.add(info); }
    public List<SystemInfo> getSystemsAt (Rectangle rect)    {        List<SystemInfo> list = new ArrayList<SystemInfo>();        for (SystemInfo info : getSystems()) {            if (rect.y <= info.getAreaBottom() &&                (rect.y + rect.height >= info.getAreaTop())) {                list.add(info);            }        }        return list;    }