• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

How to use JdesktopPane in javafx

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 387
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Can you send me some links relate to DromblerFX because i did not found much while search.
 
John Damien Smith
Rancher
Posts: 387
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My reply contained a link to DromblerFX.
 
shalini chaurasia
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Rancher
Posts: 387
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shalini, fitting a JavaFX app to a browser window is a different question, please ask it in a new thread.
 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic