The lack of support of Open GL in Java FX 2 forces us to use Swing?

Hello

We are about to begin the development of a major UI in Java. Of course, we prefer this implementation in Java FX 2, rather than Swing. However, we need return 3D models heavy (generated from several CAD files) with superposition of 3D point clouds with ~ 400 K points. We already have an implementation of Swing that supports this, based on the JOGL API. What I understand, there is no support for JOGL or similar OpenGL wrapper Java FX 2. Instead, Java FX 2 seems to aim at a high level 3D API. Based on previous attempts to use similar high-level API in .NET (for example WPF 3D) world, high-level 3D API usually are not suitable when working with complex 3D models and.

Therefore, I would like to ask for suggestions on what to do here. Do we have to develop our new Interface in Swing because of this? Or the JavaFX announced SwingNode can be used to encapsulate such a complex Swing component? If so, how performance would suffer from the packaging of JavaFX? If the SwingNode does not resolve the problem and so we need to implement the main application in the swing, consider still implement the subviews non - 3D with Java FX 2 or must go us to Swing all the way? Our developer group has experience of the swing, but no Java FX. Yet he felt no good start the development of a new user interface - what we maintain for many years from now - using an application framework obsolete. We are about to decide our way forward here and would appreciate any thoughts on this topic.

Thank you

Thomas Berglund

See this StackOverflow question: How to use OpenGL in JavaFX?

It seems that the best answer for you is the addition of a node OpenGL JavaFX.

An OpenGL node not yet added to the JavaFX platform.

Like you have a team of people experienced in 3D development and Java and all corresponding JavaFX code is open source, I encourage you to consider creating an OpenGL or working with Oracle to create node one and (if you're inclined) contributing to the development of back to the JavaFX code base.  If you are interested in this, contact the openjfx-dev mailing list.

> Don't we need to develop our new Interface in Swing because of this?

I don't think so.

> Or the JavaFX announced SwingNode can be used to encapsulate such a complex Swing component?

I don't know, but apparently not quite the right approach for me.

It seems that a dedicated OpenGL rendering node would be a better fit, as long as you don't need other functions of Swing in your SwingNode.

> If Yes, how performance would suffer from the packaging of JavaFX?

I think that if you had a JavaFX node that was a Swing node that has treated OpenGL performance would be probably worse than a knot of JavaFX managed OpenGL directly.

> If the SwingNode does not resolve the problem and so we need to implement the main application in the swing, consider still implement the subviews non - 3D with Java FX 2 or must go us to Swing all the way?

Of either way would work, but I do not recommend mixing technology for your application, unless you have to.

There are a few considerations with mixture of JavaFX and Swing:

1 swing widgets a different aspect of the JavaFX widgets (and it's not trivial to make it look the same).

2. you get two boxes to tools and then mentally switch between them during the development (it's all just annoying).

3. He must be (very) attention to the problems of thread as each toolkit has its own main thread.

4. There are some bugs mix JavaFX and Swing (Search JFXPanel in the incident manager) that would not just happen if you weren't mix libraries (most of these bugs have been addressed, but some are exceptional).

5. the Swing features will not change, he's good at what he does, but he won't change and improve.

He wasn't there (very) experimental by merging the application threads to JavaFX and Swing, making it a model of combined programming a little more pleasant to deal with, but remains to be seen if this experimental feature becomes a default value for both platforms.

Unless you want to reuse existing extended Swing libraries (like NetBeans RCP), a pure JavaFX application seems better (as long as the node OpenGL can be developed).

> Our developer group has experience of the swing, but no Java FX.

There are similarities, prior knowledge of the Swing are an advantage, but there are a lot of new things to learn in JavaFX (and a few things to unlearn the likely swing).

My 2 c... good luck with your project.

Tags: Java

Similar Questions

  • Why the lack of support for iTunes store failures?

    As much as I love Apple products, being is not only an owner of an iMac, MacBook Pro, iPhone and iPad, but also a shareholder, I wonder why the company is either not willing to admit when there are interruptions in the iTunes store, or whether they are simply end in recognizing him on their map of the system state.

    When I called today (September 21, 2016 at about 11 p.m. EDT) to report the error, I was getting ("your application is temporarily unable to process'), when I tried to manage my subscriptions and activated the devices, Apple tech support person acknowledged that he also could not also see the same sections for himself under my account management. Yet, when he passed me along a representative of iTunes, the rep said that he knew no problems or outages at all. Yet, the "Downdetector" site said interruptions common to iTunes through the country. I live in Washington, D.C.

    Except for problems with the iTunes store, Apple has provided me with support superb customer whenever I called to solve the problem with my devices (iPhone, iPad, iMac and MacBook Pro). I'm frankly puzzled why they aren't equally useful when I called to solve problems of access while trying to access my account in the iTunes store.

    You know you talk to other users on these forums of users, and Apple are not here. And speculation on the policies or procedures of Apple is not allowed on these forums. If you wish to contact Apple use the "contact us" at the bottom right of each page here.

  • Official word on the lack of support for Ubuntu 9.10 as host?

    Is there any official word on why Ubuntu 9.10 is not supported as a host for Workstation 6.5 or 7 Workstation? Ubuntu 9.10 incorporates many features that are very useful, but I can't upgrade to it until I can be sure that VMware Workstation is supported in this regard.

    Looks like VMware Workstation 7.01 was released Friday and now includes support for Ubuntu 9.10 as a host and guest.

    http://www.VMware.com/support/WS7/doc/releasenotes_ws701.html

  • Windows Vista - all programs 'stopped working' and nothing does not open. McAfee is also not working and the help and support center/internet does not open even

    On my windows vista computer, whenever I turn on my computer and log on, none of my programs work. An error message appears saying that the program has stopped working and windows will try to find a solution to the problem.  The problem is that the help and support center opens either. None of my internet programs to be open, and the same error message for all. We have tried to turn off DEP, and that did not help. My computer is connected to the internet (2wire) but is not able to run due to the problems with my computer. I scanned my computer with windows defender, and we found no problem. Help, please

    Download the McAfee tool to remove it. Use it in safe mode.

    http://download.McAfee.com/Products/Licensed/cust_support_patches/MCPR.exe

    Reboot and install MSE.

  • I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 10:08 minutes or so.

    I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 8 concerts after 10 minutes. I have to force them to quit, but I don't know what I am closing or why they open in the first place. Applications downloaded on iTunes?

    In addition, the Console has opened with the same message several times, but I don't know what that means.

    Any help would be appreciated.

    Hello

    The last is a picture of the Terminal window.

    Just because it lists 'Console' does not mean that it has nothing to do with this application.

    You have not said why or what you're trying to install so I can't help with that.

    You can use the activity monitor to leave their.

    After you select an item, use the X in a type of stop sign icon and confirm force quit.

    21:36 Thursday; September 15, 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

  • My iCloud and shared calendars has stopped working in MS Outlook today.  They worked yesterday.  Now, I get the error message "cannot open this series of records.  The information store cannot be opened?  I tried the fix standard support.

    My iCloud and shared calendars has stopped working in MS Outlook today.  They worked yesterday.  Now, I get the error message "cannot open this series of records.  The information store cannot be opened?  I tried the fix standard support.

    Same thing here.  Looks like Windows did an automatic update during the night, and now nothing iCloud associated work (calendars, contacts, etc.)

    I also noticed that the error message: "could not load file or Assembly ' MOM." Implementation ' or one of its dependencies.  The system cannot find the specified file. "It started after restarting the Windows Update as well.  I imagine that the two are related in the same problem to iCloud.

  • Mr PRESIDENT, MY WINDOWS 7 32 BIT PC does not support to open 'Copy trans drivers install' to copy doc, to the iphone

    Mr PRESIDENT, MY WINDOWS 7-32 BIT PC does not support to open 'Copy trans drivers install' to copy doc, to the iphone

    Please help me solve this problem.

    Hello

    Thanks for posting the query on Microsoft Community. I'm happy to help you on this.

    I appreciate if you could answer a few questions to refine the question and provide you with better assistance.

    • Did you change the system before this problem?
    • Do you receive an error message when you try to open it?
    • Have you checked in uninstalling and reinstalling the application?

    If this isn't the case, I suggest you to uninstall the 'trans driver install' and reinstall it again and check if it helps.

    Meet us with information, so that we can better help you.

    Thank you.

  • Disable the Passport to the supplier portal Support does not

    I have an existing application for the sale which has been marked as being supported for all devices BB10.  When the passport was released, the current version has been updated automatically show their support for the Passport (which is a hell of an assumption to make, but not the topic of the post)

    As the app is not supported for the Passport, I opened a session in the supplier portal and disabled support for the passport of the current version.  Connection again today, I see that it is still the case.  All the changes you want devices are controlled and passport is not.

    Screen grap of audit this Passport is disabled: http://tinypic.com/r/34gscw9/8

    However, I have just confirmed that in AppWorld, this application is available for the Passport.  Downloaded and installed smoothly (appears broken due to lack of support of passport)

    Did I miss something?  Users are complaining it is understandable that the app is broken for passport and this is wrong our rating

    Thanks in advance

    Hi people,

    A few things;

    (a) before a new device being available in the provider portal (and more if you launch to the public) we send all the BlackBerry World suppliers and let them know the new device, to provide links to resources, etc.  We also note that if your application supports a similar device (and not fail all of the tests made in-house), we will add the new device to your list of supported devices.  The realization of this is not ideal for some/many publishers, we also provide a link where you can opt-out of this process; allowing you to take your time and add the new device on your own schedule.

    (b) If a new device has already been added to the list of devices supported for your applications through the process described above, and that you want to remove, you will need to check your releases which have previously supported the similar device.  In the case of the passport for BlackBerry, you will need to check any release that supports the Q10 BlackBerry and BlackBerry passport to remove from the list of supported devices.

    Hope this helps to clarify.

  • Book bought in the iBook store will not open

    I bought a book via iBook on my iPad, but when I try to open it, I get the following message:

    «Cannot open _.»  It is formatted incorrectly, or is not a format that can open iBooks. »

    I think that iBooks would sell only books to open the app...  How can I solve this problem?

    Try to remove the book and download the new updates > purchases.

    If this does not help, check the problem Apple.

    refunds to iTunes, billing issues

    https://www.Apple.com/EMEA/support/iTunes/contact.html

  • Why Apple Watch cannot show the heart rate all implement open outdoor execution on?

    Why Apple Watch cannot show the heart rate all implement open outdoor execution on?

    Technical data has shown that he can do, but in fact can not?

    It is not good advertising. During the race I'm not for the convenience of drag any function. It is wet.

    This link should help you your heart rate. What it means, and where on Apple Watch you will find. -Apple Support

  • I tried to erase and reset my iphone 6 s. But why is it taking so long? For more than 24 hours. Is this normal? The phone displays just the apple logo and wont open. Help, please. Thank you in advance.

    I tried to erase and reset my iphone 6 s. But why is it taking so long? For more than 24 hours. Is this normal? The phone displays just the apple logo and wont open. Help, please. Thank you in advance.

    Hello

    Follow the instructions here:

    If you are unable to update or restore your iPhone, iPad or iPod touch - Apple supports

  • In a pinned tab - how to force the link click here to open in a new tab?

    I'm trying to get all THE links you click to open in a new TAB. It worked before the upgrade to v37.0.02 wonder, but I started to notice some links are now updated the TAB PINS, rather than open the link in a new tab. Only some.

    All of these sites that I have used before the upgrade to v37.0.2.
    So I'm confused as to why. What has changed?

    I followed the advice of Co - rel here:
    https://support.Mozilla.org/PL/questions/970999

    [quote]

    You can set the browser.link.open_newwindow to 1 on the about:config page
     http://kb.mozillazine.org/about:config
    

    See:

     http://kb.mozillazine.org/browser.link.open_newwindow (default: 3)
     1: current tab; 2:new window; 3:new tab;
    

    This pref defined the behavior of JavaScript links:

     http://kb.mozillazine.org/browser.link.open_newwindow.restriction (default: 2)
     0:all; 1:none; 2:only special windows
    

    /quote

    Can you please tell me how will I know if the link is a "JavaScript links?

    Thank you

    You can middle - click a bookmark to open this bookmark in a new tab.
    Otherwise, you will need to use an extension to open a default bookmark in a new tab.

  • How do you the bookmarks and history buttrons open boxes in Firefox 33?

    How I make the bookmarks and history buttons open their respective boxes instead of having to use the submenu stupid button on the sidebar?

    Apparently, the Restorer of classic theme worked for Firefox 29, but it does not work for 33:
    https://support.Mozilla.org/en-us/questions/991080

    There are two sets of buttons of toolbar tools for history and bookmarks in the palette to customize with the CTR extension installed. You need those without drop marker to open the sidebar.

  • How can I get rid of the Search tab news that opens now?

    There are two things that have been changed recently. One is the new Search tab which opens. The second is that when I opened a second tab is wrong to my homepage. Instead, he goes to the search engine of Babylon.

    Try to use the extension SearchReset reset preferences to default values.

    Note that the SearchReset extension runs only once and then uninstalls automatically, so it will not appear on the page "> Firefox Add-ons" (topic: addons).

  • On my old iPod Touch (4th generation), the music application does not open

    On my old iPod Touch (4th generation), the music application does not open. Everything will work as before. I suspect it has something to do with the position that the app was (in podcast lists) before the last sync. How can I get the app to open again?

    If you have not already, restart the iPod touch

    Restart your iPhone, iPad or iPod touch - Apple Support

Maybe you are looking for