This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JavaFX and the fly likes How to use JdesktopPane in javafx Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "How to use JdesktopPane in javafx" Watch "How to use JdesktopPane in javafx" New topic
Author

How to use JdesktopPane in javafx

shalini chaurasia
Greenhorn

Joined: Jun 28, 2013
Posts: 9
I want the window which can work same as JDesktopPane, so whenever i open child window it should be contained by parent window only and there should be single open window in taskbar. so is there any alternate to use JdesktopPane in javafx.
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 130
    
    9
There is no equivalent of JDesktopPane in JavaFX 2.2.

There are some 3rd party controls which provide some similar functionality (see also DromblerFX).

JavaFX can be embedded in Swing applications, so you could create a Swing application making use of JDesktopPane, and use JFXPanels for the pane content so you are still building and rendering the majority of your UI in JavaFX, just using a swing wrapper for the internal pane management. Java 8 also includes a SwingNode allowing the vice-versa situation of a JavaFX app with Swing components (like JDesktopPane) embedded in it.
shalini chaurasia
Greenhorn

Joined: Jun 28, 2013
Posts: 9
Hi

Can you send me some links relate to DromblerFX because i did not found much while search.
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 130
    
    9
My reply contained a link to DromblerFX.
shalini chaurasia
Greenhorn

Joined: Jun 28, 2013
Posts: 9
Hii

Actually i need one more help, when i'll run my JavaFXapplication with web Browser it should be fit to screen so how can i make it possible.
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 130
    
    9
Shalini, fitting a JavaFX app to a browser window is a different question, please ask it in a new thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use JdesktopPane in javafx
 
Similar Threads
Connecting Database From JavaFX on Windows Mobile
Maximizing Applet window with shortcut key
opening a frame on click on JMenuItem
Parent and child window cncept in java swing
LINKING JAVAFX GUI'S