File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 144
    
    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: 144
    
    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: 144
    
    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