import java.awt.event.ActionEvent;
import javax.swing.*;

public class OpenLocationAction extends AbstractAction {
  LocationDialog ld;
  Mozart mozart;

  public OpenLocationAction(Mozart mz) {
    super("Open Location...");
    mozart = mz;
  }

  public void actionPerformed(ActionEvent event) {
    System.out.println("Specify a url to open.");
    mozart.locationDialog.setVisible(true);
  }
}
