}
Integer selectedRoute = Integer.parseInt(params.get(0));
RobberyCar rcar = ObjectStore.getInstance().getRobberyCar();
Cross rcross = rcar.getCross();
//hozzunk letre egy kozos listat
ArrayList<Route> al_routes = new ArrayList<Route>();
//bejovo
List<Route> inR = rcross.getInRoutes();
al_routes.addAll(inR);
//kimeno
List<Route> outR = rcross.getOutRoutes();
al_routes.addAll(outR);
//ha olyan szamot kaptunk ami nagyobb a tombtol
if(selectedRoute > al_routes.size() || selectedRoute < 0){
return MessageBox.get().getMessage(Messages.WrongParameter) + "\r\n";