<?xml version="1.0" encoding="UTF-8"?> <?import java.lang.*?> <?import javafx.scene.*?> <?import javafx.scene.control.*?> <?import javafx.scene.layout.*?> <?import javafx.scene.image.*?> <TilePane fx:controller="javafxml.Sample" xmlns:fx="http://javafx.com/fxml" prefHeight="200" prefWidth="300" > <ImageView> <image> <Image url="http://goo.gl/kYEQl"/> </image> </ImageView> <ImageView> <image> <Image url="http://goo.gl/kYEQl"/> </image> </ImageView> <ImageView> <image> <Image url="http://goo.gl/kYEQl"/> </image> </ImageView> <ImageView> <image> <Image url="http://goo.gl/kYEQl"/> </image> </ImageView> <ImageView> <image> <Image url="http://goo.gl/kYEQl"/> </image> </ImageView> <ImageView> <image> <Image url="http://goo.gl/kYEQl"/> </image> </ImageView> </TilePane>
Related:
- Create TilePane using Java code
- TilePane in vertical
No comments:
Post a Comment