frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
TransferDisplay td = new TransferDisplay(aggregates, transfer);
ZoomPanHandler.installOn(td);
frame.add(td, BorderLayout.CENTER);
frame.setVisible(true);
frame.revalidate();
frame.validate();
//Full Display is more fully-featured than ARDisplay. It will run the whole render loop
//and includes zoom/pan listeners. It is harder to use though, because it takes control
//over the process in a more robust but somewhat opaque way.