import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.html.HTMLEditorKit;

/**
  The application's Window Menu.
  <br><br><a href="../source/WindowMenu.java">View Source File</a>
*/
public class WindowMenu extends JMenu {
  public static final String cascade = "window-cascade";
  public static final String tile = "window-tile";
  public static final String arrange = "window-arrange";

  public WindowMenu(Mozart mozart) {
    super("Window");

    // Get Mozart's actions
    MozartActions actions = mozart.getActions();

    // Window menu
    add(new JMenuItem("Cascade Windows"));
    //add(new TileAction(((MozartFrame) mozart.getFrame()).getDesktop()));
    add(new JMenuItem("Arrange Icons"));
    addSeparator();
    add(new JMenuItem("<List Windows>"));
  }

  /** I think it's important to note here that I'm going
    to add support for listing the windows that are currently
    being edited. They'll be listed where the <List Windows>
    option is now.
  */
}
