import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
Stage {
title: "The First JavaFX App"
scene: Scene {
width: 400
height: 300
content: [
Text: {
font: Font {
size: 30
}
x: 10
y: 10
content: "Application Content"
}
]
}
}
No comments:
Post a Comment