JavaFX Examples (Portable GUI Programming Using JavaFX)
Here a few links (as of 2016-12-06) for additional JavaFX information and JavaFX resources:
Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can
use the free and open-source editor "[g]vim"
, which is available for practically
all platforms and can be downloaded from its homepage at
http://www.vim.org/.
- . <directory> (List of this directory)
- Display all of this directory's files and directories.
- .. <directory> (List of parent directory)
- Display all of the parent directory's files and directories.
- fxml_01/ <directory>
- A simple cross-platform (running unchanged on Windows, Linux and MacOSX!) Rexx application
taking advantage of an FXML document to declare and run a portable JavaFX GUI.
The standalone version of this Rexx application can be found in javafx_01.rex.
- fxml_02/ <directory>
- A cross-platform (running unchanged on Windows, Linux and MacOSX!) Rexx application
taking advantage of an FXML document to declare and run a portable JavaFX GUI,
demonstrating automatic attribute fetching and automatic multilingual support (English,
German texts), displaying the content of the javax.script.ScriptScope's Bindings on each
press of the push button.
The standalone version of this Rexx application can be found in javafx_02.rex.
- fxml_03/ <directory>
- An application implementing a full-fledged, cross-platform (running unchanged on Windows, Linux and MacOSX!)
address book application in less than 1000 lines of code (LOC) in Rexx.
- javafx_01.rex
- This is the standalone, cross-platform (running unchanged on Windows, Linux and MacOSX!)
JavaFX-Rexx program of fxml_01/
that sets up the GUI, the event handler and starts
the JavaFX application. All formatting and positioning needs to be done in code.
An alternative is to use a FXML JavaFX definition file for formatting and positioning purposes.
This program corresponds to the application in "
fxml_01/
",
except for the used colors.
- javafx_02.rex
- This is a standalone, cross-platform (running unchanged on Windows, Linux and MacOSX!)
JavaFX-Rexx program of fxml_02/ that
sets up the GUI, the event handler and starts
the JavaFX application. All formatting and positioning needs to be done in code.
An alternative is to use a FXML JavaFX definition file for formatting and positioning purposes.
This program corresponds to the application in "
fxml_02/
"
and uses its language translation properties files for some of the labels.
- javafx_property_binding.rex
- A Rexx program demonstrating the use of JavaFX properties.
Rony G. Flatscher, 2016-12-06, Wien/Vienna, Austria, Europe