mercredi 23 novembre 2016

wie funktioniert CSS und javaFX

mercredi 23 novembre 2016
Moin,
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.
css (open)

Code (CSS):
#button {
    -fx-color: black;
    -fx-background-color: black;
    -fx-fill: thistle;
    -fx-border-color: thistle;
}

UI (open)

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

 
◄Design by Pocket