JavaFX: Difference between revisions

Content deleted Content added
m top: Updated latest version to 24.0.2
Tags: Mobile edit Mobile app edit Android app edit App section source
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{short description|Java softwareGUI platform for GUIFramework}}
{{Infobox software
| name = JavaFX
Line 5:
| developer = [[Oracle Corporation]]
| released = {{Start date and age|2008|12|04}}
| latest release version = 2124.0.2
| latest release date = {{Start date and age|20242025|0106|1615}}<ref>{{Cite web|url=https://gluonhq.com/products/javafx/|title=Products » JavaFX|access-date=20232025-0608-2029}}</ref>
| latest preview version =
| latest preview date =
Line 54:
 
=== Example ===
To launch a JavaFX application, the main class extends <code>javafx.application.Application</code> and <code>main()</code> calls <code>Application::launch</code> which internally calls <code>Application::start</code>, which is overriden by the main class and acts as the entry point of the application itself.
<syntaxhighlight lang="java">
import javafx.application.Application;