Created
May 15, 2018 08:09
-
-
Save skht777/45fc2f234e7793b318cf4a0c9aebf3b2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import scalafx.Includes._ | |
| import scalafx.scene.text.Text | |
| import scalafx.event.ActionEvent | |
| import scalafxml.core.macros.sfxml | |
| @sfxml | |
| class SampleController(private val actiontarget: Text) { | |
| protected handleSubmitButtonAction(ActionEvent event): Unit = { | |
| actiontarget.text = "Sign in button pressed" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment