Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.File
- import scalafx.Includes._
- import scalafx.application._
- import scalafx.application.JFXApp._
- import scalafx.geometry._
- import scalafx.Includes._
- import scalafx.scene._
- import scalafx.scene.paint._
- import scalafx.scene.layout._
- import scalafx.scene.control._
- import scalafx.scene.text._
- object Main extends JFXApp {
- stage = new PrimaryStage {
- width = 640;height = 480
- scene = new Scene {
- root = new VBox {
- content.addAll(new StackPane{content = new Text("Demo")})
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement