JavaFX 8 Tutorial - Text Node #14

preview_player
Показать описание
In this video We are going to learn how to use the JavaFX 8 Text Node...

- Text Class
- Font Class ( formatting Text)
- DropShadow Effect
- Reflection Effect

JavaFX 8 Life FX Tutorial Playlist

JavaFX 8 API - Text

JavaFX 8 API - Font

JavaFX 8 API - DropShadow

JavaFX 8 API - Reflection

For more Videos and Books visit:

FaceBook - JavaFX Easy Way

Google+ - JavaFX Easy Way

Thank you!
Рекомендации по теме
Комментарии
Автор

Hey i am facing a problem. My code is compiling without any error, but i don't get any output. My output screen comes out totally white.
Here is my code. I wrote it on codeblocks.

import
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.paint.Color;
import javafx.scene.text.*;

public class DXBALL extends Application{

public void start(Stage stage){
Group root= new Group();
Scene scene=new Scene(root, 700, 700);

Text t=new Text();
t.setText("Score");
t.setFont(Font.font ("Verdana", 20));
t.setFill(Color.BLACK);
t.setStroke(Color.BLACK);

root.getChildren().add(t);

stage.setTitle("Untitled");
stage.setScene(scene);
stage.show();
}
}

cityylights
visit shbcf.ru