TabPane tabPane = new TabPane();
tabPane.setPrefWidth(218);
AquaFx.createTabPaneStyler().setType(TabPaneType.SMALL_ICON_BUTTONS).style(tabPane);
Tab tab1 = new Tab();
Image image = new Image(AquaFx.class.getResource("demo/images/pages/pages.png").toExternalForm());
ImageView pages = new ImageView(image);
pages.setPreserveRatio(true);
pages.setFitHeight(16);
tab1.setGraphic(pages);
Label label = new Label("Dokument...");
label.setPadding(new Insets(15));
tab1.setContent(label);
tabPane.getTabs().add(tab1);
Tab tab2 = new Tab();
Image image2 = new Image(AquaFx.class.getResource("demo/images/pages/layout.png").toExternalForm());
ImageView layout = new ImageView(image2);
layout.setPreserveRatio(true);
layout.setFitHeight(16);
tab2.setGraphic(layout);
Label label2 = new Label("layout");
label2.setPadding(new Insets(15));
tab2.setContent(label2);
tabPane.getTabs().add(tab2);
Tab tab3 = new Tab();
Image image3 = new Image(AquaFx.class.getResource("demo/images/pages/umbruch.png").toExternalForm());
ImageView umbruch = new ImageView(image3);
umbruch.setPreserveRatio(true);
umbruch.setFitHeight(16);
tab3.setGraphic(umbruch);
Label label3 = new Label("Zeilenumbruch...");
label3.setPadding(new Insets(15));
tab3.setContent(label3);
tabPane.getTabs().add(tab3);
Tab tab4 = new Tab();
Image image4 = new Image(AquaFx.class.getResource("demo/images/pages/text.png").toExternalForm());
ImageView text = new ImageView(image4);
text.setPreserveRatio(true);
text.setFitHeight(16);
tab4.setGraphic(text);
Label label4 = new Label("Zeilenumbruch...");
label4.setPadding(new Insets(15));
tab4.setContent(label4);
tabPane.getTabs().add(tab4);
Tab tab5 = new Tab();
Image image5 = new Image(AquaFx.class.getResource("demo/images/pages/grafik.png").toExternalForm());
ImageView grafik = new ImageView(image5);
grafik.setPreserveRatio(true);
grafik.setFitHeight(16);
tab5.setGraphic(grafik);
Label label5 = new Label("Zeilenumbruch...");
label5.setPadding(new Insets(15));
tab5.setContent(label5);
tabPane.getTabs().add(tab5);
Tab tab6 = new Tab();
Image image6 = new Image(AquaFx.class.getResource("demo/images/pages/lineal.png").toExternalForm());
ImageView lineal = new ImageView(image6);
lineal.setPreserveRatio(true);
lineal.setFitHeight(16);
tab6.setGraphic(lineal);
Label label6 = new Label("Lienal lineal lineal lineal lineal...");
label6.setPadding(new Insets(15));
tab6.setContent(label6);
tabPane.getTabs().add(tab6);
Tab tab7 = new Tab();
Image image7 = new Image(AquaFx.class.getResource("demo/images/pages/diagramm.png").toExternalForm());
ImageView diagramm = new ImageView(image7);
diagramm.setPreserveRatio(true);
diagramm.setFitHeight(16);
tab7.setGraphic(diagramm);
Label label7 = new Label("diagramm...");
label7.setPadding(new Insets(15));
tab7.setContent(label7);
tabPane.getTabs().add(tab7);
Tab tab8 = new Tab();
Image image8 = new Image(AquaFx.class.getResource("demo/images/pages/verknuepfung.png").toExternalForm());
ImageView verknuepfung = new ImageView(image8);
verknuepfung.setPreserveRatio(true);
verknuepfung.setFitHeight(16);
tab8.setGraphic(verknuepfung);
Label label8 = new Label("verknuepfung...");
label8.setPadding(new Insets(15));
tab8.setContent(label8);
tabPane.getTabs().add(tab8);
Tab tab9 = new Tab();
Image image9 = new Image(AquaFx.class.getResource("demo/images/pages/quicktime.png").toExternalForm());
ImageView quicktime = new ImageView(image9);
quicktime.setPreserveRatio(true);
quicktime.setFitHeight(16);
tab9.setGraphic(quicktime);
Label label9 = new Label("quicktime...");