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 Link icon

    • PamJFXPanel Link icon

      public PamJFXPanel()
  • Method Details Link icon

    • setRoot Link icon

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

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