User Tools

Site Tools


programming:java:javafx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
programming:java:javafx [2021/03/21 02:42]
nanodano [JavaFX]
programming:java:javafx [2021/03/21 03:44] (current)
nanodano
Line 1: Line 1:
-{{tags>Java JavaFX GUI Desktop Mobile}}+{{tag>Java JavaFX GUI Desktop Mobile}}
  
 ====== JavaFX ====== ====== JavaFX ======
Line 13: Line 13:
   * Scene Builder (Optional)   * Scene Builder (Optional)
  
-Download the JavaFX Modules from [[https://openjfx.io/]]. The ''jmods'' download is the one with the modules and the SDK contains the ''.jar'' files and dynamically linked libraries (e.g. ''.dylib''). The modules are for building runtimes with [[jlink]] and the library files are used for compiling. Optionally, also download the Scene Builder from [[https://gluonhq.com/products/scene-builder/]] which is a visual GUI designer to generate ''.fxml'' template files. +Download the JavaFX Modules from [[https://openjfx.io/]]. The ''jmods'' download is the one with the modules and the SDK contains the ''.jar'' files and dynamically linked libraries (e.g. ''.dylib''). The modules are for building runtimes with [[:jlink]] and the library files are used for compiling. Optionally, also download the Scene Builder from [[https://gluonhq.com/products/scene-builder/]] which is a visual GUI designer to generate ''.fxml'' template files. 
  
 ===== Hello World ===== ===== Hello World =====
  
-There are examples available at [[https://github.com/openjfx/samples]] including this simple Hello World:+ 
 +There are a few helpful resources to get started: 
 + 
 +  * Examples on GitHub [[https://github.com/openjfx/samples]] 
 +  * Running from the CLI [[https://openjfx.io/openjfx-docs/#install-javafx]] 
 +  * Run HelloWorld using Maven [[https://openjfx.io/openjfx-docs/#maven]] 
 + 
 +Here is a simple Hello World example:
  
 <code java HelloFX.java> <code java HelloFX.java>
programming/java/javafx.1616294578.txt.gz · Last modified: 2021/03/21 02:42 by nanodano