Content deleted Content added
Alexflatter (talk | contribs) No edit summary |
|||
Line 41:
JavaFX Script's declarative style for constructing user interfaces can provide shorter and more readable source code than the more verbose series of method calls required to construct an equivalent interface if written in JavaFX Script's procedural style.
Here is a simple [[Hello world program]] for JavaFX Script
<syntaxhighlight lang="java">
</syntaxhighlight>
It shows the following window/frame :
Line 69:
This program can also be written in JavaFX Script using a procedural style this way:
<syntaxhighlight lang="java">
</syntaxhighlight>
|