This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I think you are talking about having JavaFX in a Swing application.
Did you go through the documentation to understand more about it?
The createScene() method would have all JavaFX stuff added to the scene. This scene is then set to the JFXPanel which is a Swing panel - which can then be freely added to a Swing container like JFrame.
So, the SalesReportTopPanel should be JavaFX stuff.