24 lines
917 B
Markdown
24 lines
917 B
Markdown
---
|
|
layout: post
|
|
title: "Short Introduction to JavaFX"
|
|
categories:
|
|
- Tutorials
|
|
tags:
|
|
- English
|
|
- Java
|
|
- JavaFX
|
|
- Swift
|
|
- macOS
|
|
|
|
last_modified_at:
|
|
excerpt_separator: <!-- more -->
|
|
---
|
|
|
|
| General Term | Swift | JavaFX |
|
|
| ------------ | -------- | ----------------------------------------------------------------------------------------- |
|
|
| Window | NSWindow | **Stage**: A stage can display one Scene at a time, but you can change Scenes at runtime. |
|
|
| Content Area | NSView | **Scene**: A Scenes has a Scene graph consisting of Nodes. |
|
|
| Layout | | **Layouts** or **Partents**: Layouts are a way to structure the element within a Scene. |
|
|
| UI Elements | | **Controls**: Controls are things like Buttons, Sliders, etc. |
|
|
|