java, javafx, android and spring programing collection
java standard edition
addObject
arraylist
bufferedreader
colors
comparator
createTable
datatypes
date
enum
generateHTML
hashmap
inheritance
insertSQL
interface
JSONfromWEB
jsoup
list
loop
pointMatrix
queue
readCSV
regex
sqlToObject
stack
static
super
treemap
updateTable
writeCSV
java FX
3DCharacterMoving
3DMaterialList
DroneMotor
FlowPane
Hello
KeyCode
KeyMovement
ObservableList
Pane
RotateImage
rotateSphere
android
APIview
listview
ToastTimer
touchMovement
WriteReadFile
spring framework
HelloWorld
RESTful
TomcatServlet
java objects
Apple
starseite
/
lessons
/
se
fx
android
spring
/
star wars api
Pane
2022-06-17 07:48:48
tags:
fx
pane
view source
FlowPane
2022-06-17 07:48:41
tags:
fx
pane
view source
Pane
screenshot
description
source code
import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.effect.Reflection; import javafx.scene.layout.Pane; import javafx.stage.Stage; public class HelloApplication extends Application { @Override public void start(Stage stage) { Label label1 = new Label("hello1"); label1.relocate(1,50); label1.setPadding(new Insets(100,100,100,100)); label1.setEffect(new Reflection()); label1.setStyle("-fx-background-color: #ff0000"); Label label2 = new Label("hello2"); label2.relocate(50,50); label2.setRotate(123); Pane pane = new Pane(); pane.getChildren().add(label1); pane.getChildren().add(label2); pane.setRotate(110); Scene scene = new Scene(pane, 300, 300); stage.setScene(scene); stage.show(); } public static void main(String[] args) { launch(); } }