Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
BorderPaneチェックボックスを使用して表示または非表示にできるコンポーネントがいくつかあります。コンポーネントが表示されないように設定すると、次のコンポーネントのサイズを変更して埋めたい空のスペースができます。component が に設定されている場合、空のスペースを埋めるようにコンポーネントを構成するために使用できるオプションは何.setVisible(false);ですか?
BorderPane
.setVisible(false);
電話する必要setManaged(false)もあります。
setManaged(false)
バインディングを利用して、可視性に基づいて管理プロパティを自動的に設定できます。例えばcomponent.managedProperty().bind(component.visibleProperty());
component.managedProperty().bind(component.visibleProperty());
特定の場所でと