package skeb

import scala.gui._

/** Skeb's main object. When instanciated, this object will create a sheeet
  * and attach it to a GUI window. */
object application extends scala.gui.Application {
  
  /** The unique sheet instance for this spreadsheet. */
  val sheet = new Sheet(100, 100)
  
  /** The window showing the sheet. It will become visible as soon as the
    * application object is instanciated. */
  val mainWindow = new glue.Spreadsheet(sheet.width, sheet.height) {
    val sheet = application.this.sheet
  }
  
}
