Last active
August 29, 2015 14:18
-
-
Save ttldtor/31c88769818601691368 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.mucode.scim | |
import scalafx.Includes._ | |
import scalafx.application.JFXApp | |
import scalafx.event.ActionEvent | |
import scalafx.scene.Scene | |
import scalafx.scene.layout.BorderPane | |
object Application extends JFXApp { | |
stage = new JFXApp.PrimaryStage { | |
title.value = "scim" | |
scene = new Scene { | |
content = new BorderPane { | |
top = new MainMenu { | |
onBeforeExit = (ae: ActionEvent) => { | |
println("BEFORE EXIT") | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment