Class FxSwingSection
java.lang.Object
privbot.ui.fx.FxSwingSection
Wraps legacy Swing settings panels in JavaFX page chrome (title, subtitle, scroll).
-
Method Summary
Modifier and TypeMethodDescriptionstatic javafx.scene.Nodewrap(String title, String subtitle, JComponent swingPanel) wrap(String, String, JComponent, boolean)with an outer scroll pane.static javafx.scene.Nodewrap(String title, String subtitle, JComponent swingPanel, boolean wrapInScrollPane)
-
Method Details
-
wrap
wrap(String, String, JComponent, boolean)with an outer scroll pane. The Swing panel is attached on the EDT shortly after this returns. -
wrap
public static javafx.scene.Node wrap(String title, String subtitle, JComponent swingPanel, boolean wrapInScrollPane) - Parameters:
wrapInScrollPane- when false, embeds Swing directly (use when the Swing tree already contains scroll areas).
-