This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 580




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

Joined: May 03, 2008
Posts: 4522
    
    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: 580
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: 580


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: 4522
    
    5

No, you can't add a JFXPanel to a Group. JFXPanel doesn't extend Node.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How come JFXPanel doesn't show up?
 
Similar Threads
JMF from JAR
JXPanel is not loading
Tableview with TextField in Javafx
How to create Popup box
How to load ImageView in TilePane