IDE:Netbeans 8.2
JDK:1.8.0_102
ich habe das Standard "Hello World" von NetBeans. Ziel ist es jetzt herauszubekommen wie ich den Button ein "Dark-Thema" mittels CSS verpassen kann.
Code (CSS):#button {
-fx-color: black;
-fx-background-color: black;
-fx-fill: thistle;
-fx-border-color: thistle;
}
Code (Java):package csstest;
import javafx.application.Application;
import javafx.event.ActionEvent;
import...
wie funktioniert CSS und javaFX
wie funktioniert CSS und javaFX
0 commentaires:
Enregistrer un commentaire