wood burning stoves 2.0*
The moose likes JavaFX and the fly likes How come JFXPanel doesn't show up? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "How come JFXPanel doesn Watch "How come JFXPanel doesn New topic
Author

How come JFXPanel doesn't show up?

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590




Why
findCustomerPanel = new findCustomerPanel();
displays nothing
Thanks
Jack
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Jacky Luk wrote:Why
findCustomerPanel = new findCustomerPanel();
displays nothing


Well, the new panel isn't added to any visible component hierarchy, so where should it display? JFXPanel isn't a top level window.


luck, db
There are no new questions, but there may be new answers.
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590
Darryl Burke wrote:
Jacky Luk wrote:Why
findCustomerPanel = new findCustomerPanel();
displays nothing


Well, the new panel isn't added to any visible component hierarchy, so where should it display? JFXPanel isn't a top level window.


Ah, you just refreshed my memory, it should be JFrame, thanks
got it working now
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590


Now I am working on this one, the problem I am having is I can't add JFXPanel to Group, should be a JavaFX question....
Thanks
Jack
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

No, you can't add a JFXPanel to a Group. JFXPanel doesn't extend Node.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How come JFXPanel doesn't show up?
 
Similar Threads
JMF from JAR
How to load ImageView in TilePane
How to create Popup box
Tableview with TextField in Javafx
JXPanel is not loading