public void handleStopClicked(StopClickedEvent event) {
final StopBean stop = event.getStop();
FlowPanel panel = new FlowPanel();
panel.add(new DivWidget(stop.getName()));
StringBuilder b = new StringBuilder();
if (stop.getDirection() != null)
b.append(stop.getDirection()).append(" - ");
b.append("Routes: ");
boolean first = true;
for (RouteBean route : stop.getRoutes()) {
if (!first)
b.append(",");
b.append(" ").append(route.getShortName());
}
panel.add(new DivWidget(b.toString()));
Anchor anchor = new Anchor("Show Real-Time Arrivals");
anchor.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent arg0) {