Search code examples
javajavafxpane

Free scroll pane (JavaFX)


What pane can I use to add anchorpanes(setting y and z). Initially it is of a certain size, and if it is too many anchorpanes to show, i`d like to add a scroller with which I can scroll down the pane to see more elements.

P.S. sry for my bad english


Solution

  • This Question is very simple to answer. Just use a Scroll Pane and a Element to group your Anchor-Panes, for example : ScrollPane with VBox as Grouping

    Or you can also use Frameworks for this like :

    http://www.jfoenix.com/

    http://fxexperience.com/controlsfx/

    When I remember correctly, they designed a Pane which is automatically placing nodes like a Gallery. These nodes get moved when necessary.