/**
* Adds the magnifier button.
*/
private void addMagnifierButton() {
final MagnifierViewMode magnifierMode = new MagnifierViewMode();
magnifierMode.setMagnifierRadius(100);
magnifierMode.setMagnifierZoomFactor(2.0);
final JToggleButton magnifierButton = new JToggleButton(
new ImageIcon(getClass().getResource(IMAGE_PATH + "Zoom16.gif")));
magnifierButton.setToolTipText("Allows you to zoom into a local area of the graph");
magnifierButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {