new PropertyModel<String>(this, "mode")));
ArrayList<Class<? extends DataSource<? extends Number>>> datasources = new ArrayList<Class<? extends DataSource<? extends Number>>>();
datasources.add(NumberOfUsers.class);
datasources.add(AverageRequestTime.class);
datasources.add(RequestsPerMinute.class);
add(new BarGraphPanel("bargraph",
new ListModel<Class<? extends DataSource<? extends Number>>>(
datasources)));
add(new StatusTablePanel("table"));
add(new TablePanel("ns", Trains.class, WicketApplication.get()
.getRepository().getKeys(Location.class).get(0), true));