Skip to content

Instantly share code, notes, and snippets.

@oreoshake
Created January 9, 2015 21:02
Show Gist options
  • Save oreoshake/4b5ab7fb97318c699507 to your computer and use it in GitHub Desktop.
Save oreoshake/4b5ab7fb97318c699507 to your computer and use it in GitHub Desktop.
aquafx tab pane issue
<BorderPane fx:id="root_pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="800" minWidth="1000" prefHeight="800.0" prefWidth="1024.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<center>
<TabPane fx:id="tab_pane" tabClosingPolicy="ALL_TABS" BorderPane.alignment="CENTER" />
</center>
</BorderPane>
Result: https://i.imgur.com/CXcDorb.png
Tabs are added to the pane after it is created.
SEVERE: Failed to load skin 'com.aquafx_project.controls.skin.AquaTabPaneSkin' for control TabPane[id=tab_pane, styleClass=tab-pane]
java.lang.NoSuchMethodError: com.sun.javafx.scene.traversal.TraversalEngine.<init>(Ljavafx/scene/Parent;Z)V
at com.aquafx_project.controls.skin.rt21682.TabPaneSkinHack$TabContentRegion$4.<init>(TabPaneSkinHack.java:1527)
at com.aquafx_project.controls.skin.rt21682.TabPaneSkinHack$TabContentRegion.<init>(TabPaneSkinHack.java:1527)
at com.aquafx_project.controls.skin.rt21682.TabPaneSkinHack.addTabContent(TabPaneSkinHack.java:370)
at com.aquafx_project.controls.skin.rt21682.TabPaneSkinHack.<init>(TabPaneSkinHack.java:191)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment