protected void setupThumbnailListeners() {
// Listen to the graph view resizing events, so the
// thumbnail can be updated appropriately
controller.getGraphView().addComponentListener(new ComponentAdapter() {
/**
* Invoked when the component's size changes.
*/
public void componentResized(ComponentEvent e) {
fireThumbnailViewSourceEvent(new ThumbnailViewSourceEvent(GraphComponent.this), THUMBNAIL_EVENT_BOUNDS_CHANGED);