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));
StackedTablesPanel tablestack = new StackedTablesPanel("tablestack");
tablestack.addTable(new TablePanel(tablestack.nextTableId(),