Class FxSwingSection

java.lang.Object
privbot.ui.fx.FxSwingSection

public final class FxSwingSection extends Object
Wraps legacy Swing settings panels in JavaFX page chrome (title, subtitle, scroll).
  • Method Details

    • wrap

      public static javafx.scene.Node wrap(String title, String subtitle, JComponent swingPanel)
      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).