JavaFx with swing and Java 7 - swing

I have a swing application that in a couple of windows I use JavaFX scene to display the content. I deploy my application using Web Start to my clients. If a the client has Java 8 installed on their machine everything is fine but if they have Java 7 installed then the application shuts down as soon as the first JavaFX window appears. The even more weird thinks is that is I have Java Console to open with the application then everything works fine.???
What is there in the Java Console that is helping the application to overcome whatever is the problem?
I have follow the tips here JavaFX CSS Error ( Property Stylesheets does not exist ) and I also followed the jnlp instructions here http://docs.oracle.com/javafx/2/deployment/deploy_swing_apps.htm#BACFDACD
Both helped with other issues I had.
My application has many swing windows that I slowly want to migrate to JavaFX so for a while I want both technologies to be able to run. The fact that when console is showing is making the application run with no problems tells me that there is probably a settings or something that I am missing that could solve my problem.
Any help would be much appreciated.
Thanks

Related

Win 10 UWP App: Unable to upload app package to Windows Store

I am trying to deploy my windows 10 uwp app to the windows store. I got a validated developer account and everything set up. My app packages have been built and passed all tests of the testing kit. Now I am trying to perform the last step: uploading to the store.
The problem is, that the "Upload App Packages..." is greyed out! I tryed to clean the project, selected the project to no avail.
Has anyone got an idea what the problem might be or how to further debug it? As there is not error message I am not certain what is wrong in the first place...
Thank you!
According to the documentation, this option merely opens the Dev center dashboard. Save yourself the trouble and open it directly in your web browser: https://dev.windows.com
To be honest, for some reason I don't even have this option in my Visual Studio (maybe it was removed in VS 2015?). I've always generated the packages from VS then uploaded them with the web browser, without any trouble.
Goto in Release Configuration and Check .net native tool chain and optimize code then create app package again (Don't forget to associate app to store first)

WIndows phone app solution showing deployment error even after a successful build

Its saying "The project needs to be deployed before it can be started.
Verify the project is selected to be deployed or deploy it explicitly by clicking one of the deployment commands in the Build Menu."
I have tried to explicitly deploy it from the build menu but its all in vain. Not able to understand whats wrong.
It may be caused by the fact that no devices are detected.If you try to debug on a real device, it may no be detected by your computer or VS. If you use the emulator, it may be an error with the emulator (like for example, the emulator doesn't launch, so you can't deploy on nothing).
Try removing Apache Cordova Tools Package.
Worked for me.

IBM System i Access causes web application not to load

I have an web application that was developed in Visual Studio 13 using Visual Basic. When I switched it over to a virtual server to run, it was ran fine until I installed IBM System i Access. It was needed to connect to a db2 database. After its installation, removing it causes the application to stop working. It tries to load, but never does. After uninstalling it, the program worked fine, but I need it for the application. Do you have any idea of what may fix it?
Things to note:
MySQL is installed on the same virtual server as well, but uninstalling MySQL components didn't cause it to work.
Its ran using .NET 4.0
I figured out that the problem was due to the .NET Framework I was running. My application uses .NET 4.0. This was an issue because the version(6.1) of IBM System i Access for Windows only works with .NET 2.0. Hopes this helps someone eventually.

Flash Player 10.0 r2 has stopped working

I have developed my most complex Flash ActionScript app. I dont know how much complex they can get but I think mine is quite ordinary. it has about 1500 objects which are tween with zoom and colour changes only on click and connects to a database for data, eg, names of the objects are in a database. I have hard-coded the path to the web app that reads the database. The flash app reads the database from the web app (Visual Studio/server).
It works in my development environment (Flash CS4 > F12), with my required explores, ie, IE & FF.
However, when I try to run the the published version of it (.swf), which is in the same folder as the project, I simply get the error screen "Adobe Flash Player 10.0 r2 has stopped working", and nothing else happens. I am a little scared that I may have no way of publishing it for my client without having the whole code in the clients computer... Is there something I need to do to have it work in a server environment without Adobe Flash installed, ie, just the .swf file and the server settings with the database?
Note also that this worked when I started the project, when I was running a small file but as it grew bigger, even the debug mode stopped working...
I am running Win 7 64 bit, Flash CS4 and Visual Studio 2010 on my computer.
Thanks.
Sounds like a problem with the Adobe Flash Player web browser plugin you have installed, rather than a problem with your app or your swf. Try upgrading the plugin.
10.0 is a pretty old version by now, current version is 11.6. Also, it's a ".0" version, and 10.0 is known to have problems. It may or may not be important that your swf works in older Flash Players, including 10.0, but overall, not that many users have 10.0 installed today (http://www.statowl.com/flash.php).
Once upon a time,I have also meets up this issue, I found some root causes by using Vector class or invalid interfaces.

How to execute a custom Eclipse Editor

I have created a graphical editor using Eclipse-GMF. So now I can create diagram files. What I would like to do is execute the diagram files by clicking the green button.
So basically I would like to create a custom run configuration for a plugin that I have created.
I would like the custom run configuration to launch an Eclipse-RCP application that will read the runned diagram. But when i choose my RCP application in the Run as product or Run as application it opens normally for about 20secs then it crashes...
So my question is how do i configure this correctly??
You should extend the org.eclipse.debug.launch* extension points to have your own launch configuration, launchers, launch tabs, etc.
I believe these crashes that you mention are related to this bug. The crash log is identical to the one you posted in your comment. From what I can see, the issue was with Eclipse Helios on Windows 7 when Mylyn is installed on the target platform. The bug report states that it's solved in 3.7 M7. See this comment on how to prevent your plugin from crashing the workbench. Hope that this helps :).