Class PamJFXPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javafx.embed.swing.JFXPanel
pamViewFX.fxNodes.pamDialogFX.PamJFXPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class PamJFXPanel extends javafx.embed.swing.JFXPanel
Daft panel that takes it's content out of a scene and then puts it pack in again which somehow convinces the scene to resize. This is used in the Swing dialog that wraps FX settings panes.
Author:
Doug Gillespie
See Also:
  • Constructor Details

    • PamJFXPanel

      public PamJFXPanel()
  • Method Details

    • setRoot

      public javafx.scene.Scene setRoot(javafx.scene.layout.Pane root)
    • prePackFX

      public void prePackFX()
      Repack the root panel into a new scene inside the JFXPanel in order to get it to resize correctly.