Java FX vs Flash
Hello,
I would try to develop with some RichClient Systems (Most simple Games).
On the first site is Java FX. I would like to develop it for my company and because I developing with java since 5 year. But I think that all example on the javafx.com page are so slow and if they startet 10 seconds or more left..
On the other site Flash. It starts very fast and the flash player is installed on every computer. But I must lean a new programming language.. I tried to develop with Flash but I found no way to progamm it, there are only designer tools or something else.. not like eclipse... So I never get a simple example running...
That you think? I need a fast api with network and thread features.. Is Java fx "good" and fast enough for Games and other applications? Or do I need Flash for developing games into a Browser?
Thanks for your opinion!
You can develop games with JavaFX and I have found FX's performance fast, once JavaFX loads. That though is the frustration for me. JavaFX applications take too long to load. It isn't that Java apps load slowly, you can make a very fast loading Java applet or application.
For an example, I watched the US President's weekly address yesterday. The video was in Flash. It loaded instantly. I then went over to JavaFX.com and watched some JavaFX videos. First the applet had to load, then the video had to buffer! A total of 10 seconds from going to the page and the video starting to play. I have a Dual core PC with Vista and high speed cable internet, so it isn't my pc.
Developing with JavaFX is a brease with NetBeans or the SDK, and the documentation is good. Also, deployment is super easy with webstart or just the applet. The thing you have to weigh is how important start up time is to you.
Similar Messages
-
How do I update Java for Adobe Flash CS3?
Hi,
When I ran Secunia Software Inspector today it told me that
the version of Java I have installed on my computer is out of date.
It tells me that it is finding 3 out-of-date files:
Once here:
C:\Program Files\Java\jre1.6.0_04\bin\java.exe
Twice here:
C:\Windows\System32\java.exe
and three times here:
C:\Program Files\Adobe\Adobe Flash CS3\JVM\bin\java.exe
I updated Java via the Sun website and consequently the first
and second warnings disappeared when I reran the Software
Inspector.
The software inspector however is still finding an
out-of-date Java version here:
C:\Program Files\Adobe\Adobe Flash CS3\JVM\bin\java.exe
Question is: How do I update Java for Adobe Flash CS3?
Is it adequate to copy the updated file "java.exe" from
"C:\Program Files\Java\jre1.6.0_04\bin\" to "C:\Program
Files\Adobe\Adobe Flash CS3\JVM\bin\" or do I need to do anything
else?
Any help will be much appreciated.Hi
I have the same problem of you, and the same dont find a
solution. Me it's Kaspersky Anti Virus (AV) which find this
problem.
So (and I dont know if this solution is perfect), but I open
Flash CS3 with the Java update choiced and apparently Flash
fonctionnely well and Kaspersky dont find this
prob now. But I dont never use Java in Flash (or without that
I know that..), and same, I dont know at what Java is used in Flash
I think that "JRE v 1.6.0_04" and more recent Java version is
not good, because it's not quite the same Java application that in
Flash CS3, In Flash CS3 it's "J2RE" and
not "JRE".
The history of all Java versions (and this) is here (
http://java.sun.com/products/archive/)
(but in all this versions... seriousely it's a true shambles !)
If you want the last version for J2RE in this archives it's v
1.4.2.18 but the last version is J2RE 1.4.2.19 but dont again in
this archives
(search on Java site, maybe first page ? I dont remember
where I to find it...). But the problem... it's that this last
version (19) is always detected bad by my AV...
So I decide to use just the next version (v 1.5) and last
version in this series (in archives site) which is the "JDK/JRE -
5.0 v 5.0.16" but again named "Java 2 Platform
Standard Edition (J2SE) 5.0 Update 16" in this dowload next
archives page
http://java.sun.com/products/archive/j2se/5.0_16/index.html),
so well again named "Java 2" in this page (that which dont
the case for the equivalent same download page for Java 6...)
(Choice "JRE 5.0 Update 16" in this page)
For instal "JRE 5.0 Update 16":
1) Supp all files and folders in "JVM" (Java Virtual Machine)
folder in Flash CS3 (but dont supp this folder, empty now) and save
this contents in archive in you have
affraid.
2) dl "JRE 5.0 Update 16", directly in this page if you want:
(https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/View ProductDetail-Start?ProductRef=jre-1.5.0_16-oth-JPR@CDS-CDS_Dev
eloper)
3) In install, choice "personal instal" (or +/- the same
terms) and choice the "JVM" folder of you Flash CS3
and AV dont detect this version same a bad file -
Java projects in Flash Builder
Hi all,
I previously used Flex Builder 3 on Vista x64. Inside Flex Builder 3, I had both flex projects and java projects. I needed both because I use BlazeDS and kept the java code in a separate project. I would only like 1 development environment.
I recently upgraded to Windows 7 x64 and went ahead and upgraded my Flex Builder 3 to Flash Builder 4.
It was a simple measure to import my flex projects into Flash Builder 4.
When I tried to import the Flex 3 java projects into Flash Builder 4, Flash Builder responded with:
" The folder does not contain a valid Flash Builder Project."
Short of installing Eclipse, a 32bit version of java, and using the Flash Builder Plugin, is there a way to get my java projects to import and compile in Flash Builder 4 while running on Windows 7 x64?
Thanks in advance for any thoughts,
- Steve
P.S. I may have had to import something special to get it to work in Flex Builder 3, I just can't remember.If you're trying to compile Java projects in FB4, you'll need to add eclipse's Java Development Tools (JDT).
You can add the JDT this way:
- quit FB4, and launch with "Run as Administrator" from the context (right-click) menu
- from the Help menu choose "Install New Software..."
- in the resulting dialog click "Add", and enter a name of your choosing such as "Galileo Updates" in the Name field
- enter this URL into the Location field:
http://download.eclipse.org/releases/galileo/
- hit OK and then browse the available Galileo Updates
- select Programming Languages > Eclipse Java Development Tools
- continue on with the usual Update workflow, and after finishing it will prompt you to relaunch automatically.
Allow FB4 to relaunch, and you should now have the JDT available for compiling Java projects.
-Chris -
How to embed java application into flash player
By using SWT flash, I able to embed flash player into java
UI. But then now I want to embed the java application in flash
player... Do it possible ?? or any export can help me or advice me
on this? Thanks
Regards,
SosseresHi,
In this case, you need to setup Single Sign-On (SSO) between your SAP Portal and Websphere.
Please refer to the following URL:
IBM WebSphere
Here, you will find all the guides that explain how this SSO can be established. Under the General Section, you will find documentation that describe the SSO cases. Under the section of interoperability, you can find the guides like "How to Set Up SSO Between SAP NetWeaver Portal and IBM WebSphere Portal Using TAI".
Use these guides to setup SSO.
Regards,
Shitij -
Java Applet in Flash CS4 (ActionScript 3.0)
Hi Guys,
I wonder if anyone can help me as I am a little confused.
Is it possible to insert a Java Applet into Flash CS4 (ActionScript 3.0)
Any advice is much appreciated
ThanksI wouldn't swear to it, but I don't think you can "import" and run an applet internally in flash, but you can call it as an external file from flash and display/run it in an html container for example.
Just as flash (swf) is run through FlashPlayer as the runtime environment, Applets use the Java Console as its runtime environment. -
Java Applets in Flash CS4 (ActionScript 3.0)
Hi Guys,
I wonder if anyone can help me as I am a little confused.
Is it possible to insert a Java Applet into Flash CS4 (ActionScript 3.0)
Any advice is much appreciated
ThanksPerhaps one can do it using AIR but not Flash IDE (CS4) or ActionScript.
-
Hi,
Can any tell me that the usage of java queries in flash banners?
Buy AcaicodingMonkey wrote:
Buyacai wrote:
Buy AcaiDoes anyone else think this looks like a link spammer who forgot about his link?Yes, I realized that after I had posted. I reported it in the "report abuse thread". I don't want to remove the tread since I have posted in it. -
Java.lang.NoClassDefFoundError: flash/localization/ILocalizer
After I installed Flex_Module_for_Apache_and_IIS in Linux, I
found that it doesn't work.
Then I try to compile the mxml file using compiler.sh, but
the error found:
compiler.sh SubmitUsingGet.mxml
Exception in thread "main" java.lang.NoClassDefFoundError:
flash/localization/ILocalizer
at flex2.tools.apache.Client.main(Unknown Source)
But the class flash.localization.ILocalizer can be found in
swfkit.jar, and I have added it to CLASSPATH.
Any idea?
Thanks very much!Remove the below entry in web.xml and try
<context-param>
<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
<param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
</context-param> -
Do I need to pass a applet test with Java before the Flash player will function?
I have downloaded the unstall and install programs for Adobe Flash Player and followed all the steps poster, "eidnolb" noted to prior poster greenie41180 on March 6th, 2010, 8:05PM. The flash player test did not work. I also do not see applets, when I use the latest version of Java on an applet test. I might try reinstalling IE8, or going to IE7 and reinstalling Flash Player. Gawd! hours have been used, just trying to get Flash Player going so I can resume watching the tutorials at Mathtutordvd.com.
What other troubleshooting steps can be taken? I have tried everything eidnolb suggested in prior posts.
Hello everyone, When I try to download the Flash player I get the error message listed above. I turned off the firewall and virus modes on my TrendMicro protection program, when downloading the player. I already have Java 6, update 18 in the system. I restarted the computer. I also adjusted the configurations for Javascript and ActiveX under the "Tools" menu for the Security and Advanced tabs of Internet options. I have Windows XP, service pack 3, with Internet Explorer 8.
Also, I tested the recent, most updated program, Java and I still can not see an applet. I have spent 7 or more hours on this. I thought initially this process was going to be straight forward. I desperately need this Flash player so I can learn math at the streaming video site called, Mathtutordvd.com Oh! gosh maybe someone here can help me help myself by giving me more troubleshooting steps. I did follow Adobe's troubleshooting steps, but I still get the same, above error box with, MSXML2.XSL Template 3.0 (Original exception: undefined)
I hope, eventually to watch the streaming site, once this Flash Player is loaded. I really do not understand what is going on here. Thanks for your help.
Information: Windows\System32\Macromed\Flash
These items are in the Flash folder:
Flash10e.ocx version 10.0.45.2
Install text document
Uninstall_activeX 10.0.45.2
FlashUtil10e Adobe Flash Player Helper 10.0.45.2
Should not FlashUtil10e be listed as FlashUtil10e.exe ???
FlashInstall text document
Genuinst Microsoft application file version
6.0.2800.1531 KB913433 Setup Information
This is the Java version and also, these are listed and enabled in the “Manage add-ons” for Internet Explorer 8: C:\Program Files\Java\jre\bin
Java Plug-in 1.6.0_18 ActiveX control
File: npjpi160_18.dll version: 1.6.0.18
Java™Plug-in 2 SSV version: 6.0.180.7 , file: jp2ssv.dll
JQSIEStartDetectorImpl Class version: 6.0.180.7, file: jqs_plugin.dll for program Files\Java\jre6\lib\deploy\jqs\ie
Adobe PDF link Helper, version 9.0.0.332
File: AcroIEHelperShim.dll
For C:\Program Files\Adobe the listed files are:
Reader 9.0
Acrobat.com
Photoshop 7.0
Also, under common files: C:\Program Files\Common Files\Adobe\Acrobat\ActiveX the following files are present:
Pdfshell.dll
AcroIE HelperShim.dll
AcroPDF.dll
AcroIEHelper.dll
There is also a file called Adobe AIR under the Common Files category.
Next, there are some Java undate files listed as: C:\program Files\Common Files\Java\Java Update
Also, listed in the “Manage add-ons” is: Shockwave Flash Object, Flash10e.ocx,
which is enabled.
When I checked the C:\program Files I reviewed all listed folders and did not see folders named, Adobe Flash Player 10 ActiveX, or Adobe Flash Player 10 plug-in. The only folder found label with Adobe, was the prior mentioned folder, Adobe containing Reader9.0, Acrobat.com, and Photoshop7.0.Hi, May I suggest that you read your previous 3 threads that have been responded to?
You need to stop starting threads, this is the 4th one. You need to stop copying and pasting from the first thread to the new threads that you are starting. It serves no positive purpose.
eidnolb -
Running a java applet from flash
Hi,
How do you run a java applet from within a Flash movie?
Is it necessary for the user to download a java interpreter, or is there an interpreter somehow built into their browser that can run applets?I was wondering , I don't know too much about Flash
I remember seeing some classes in amongst the Flash
files when it installed , but couldn't tell you whart they
do (at the moment , but you've got me interested)
maybe you should rethink your strategy for building your page (and your movie) maybe build the movie around
your applet , or preload it then replace a an area of your movie area with your applet (the way you handle rollovers).
the advantage is you can make calls to applet methods
from Flash as it supports Javascript.
jus remember to set the scriptable <PARAM> to true
Users shouldn't have to download the plug-in or JRE
you should specify it in the OBJECT or EMBED tag so
if they don't have it , the browser will tell them.
of course this is going to change as Microsoft are stopping support for JAVA , users will then have to download the plug-in from Sun in order to view or use JAVA on the internet. -
Data connection between Java Webdynpro - Flex Flash Island
Hi,
I'm developing a Java Webdynpro with connection to a Flex Flash Island. I'm using Flex 3.2.
I've already set up the connection from WDJ to Flex, by using Events and the FlashIsland.fireEvent method, this all works fine. Now I'm trying to update a value in WDJ, to be updated in Flex. This gives the following error:
Error: Error #1023: Stack overflow occurred.
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Watcher/wrapUpdate()
at mx.binding::PropertyWatcher/eventHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at UWLApplication/set opentask_updated()
at MethodInfo-4234()
at Function/http://adobe.com/AS3/2006/builtin::call()
at sap.core.wd.context::WDContextListener/execute()
at sap.core.wd.context::WDContext/notifyListeners()
at sap.core.wd.context::WDContext/_set()
at sap.core.wd.context::WDContext/set()
at sap.wd.island::WDIsland/storeProperty()
at sap.wd.island::WDIsland/onUpdateProperty()
at mx.binding.utils::ChangeWatcher/wrapHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at UWLApplication/set opentask_updated()
at MethodInfo-4234()
This is especially strange, cause before I had a refresh button in which I updated my entire item collection. Now, I have added this field and suddenly I get this error !
Does anybody has any idea what this could mean? Any help would be much appreciated ...
My field in Flex:
\[Bindable\]
public var opentask_updated:Number;
<mx:Text id="opentask_updated_text" text="{opentask_updated.toString()}" />
My adaptions in WDJ:
public void getInbox( ) {
wdContext.currentInboxElement().setOpentask_updated(0);
public void wdDoInit() {
getInbox();Solved!
It appeared to be a "long" parameter and I was trying to put it in a "Number" parameter in Flex (because there is no long in Flex)
When I changed both to String, it worked! -
Can I embed java app in flash (mp3 recorder)
I need to provide an mp3 recorder from the user's sound card functionality to a flash application. It will be strictly a web app hosted on a server, not an install. User's may or may not have admin priviledges.
I am mostly a vb guy so I was wondering if this could be accomplished with Java, if so how many MS security windows will the user need to wade through?It sounds like an applet is what you want, but I have no idea if an applet can be embedded or communicate with flash. Try googling "embed applet in flash" or something to that effect.
How much of this sound card functionality do you need to use in java? Java has a separation between the software and the hardware, so unless you have a library already, it will be hard to access native functionality. -
Hi.
I don't speak english, but I will try to communicate...
I would like to know if can I build Java
DESKTOP applications with the appearance of Flash web
applications...
Can I do it???
[ ] s,Hi. I dont think there is an easy explanation for this, but
what you can do is
the following:
1. Use flex/flash to communicate via flash remoting to an
external app server running j2ee, such as openamf or the commercial
servers available from adobe.
2. Then build your front-end in flash and the major
application services you need you send these as requests to the
java back end server.
3. There are some lighter weight solutions to running the jre
as well. I dont know any offhand, as opposed to running a full
tomcat server with a service.
Does this help? -
Hi,
After having seen a number of Flash GUI applications in the market which are attractive and producing high-impact experiences to customers, some questions popup in my mind.
For instance,
1. How is the ActionScript (scripting language used in HFlash) compared to Java Swing API.
2. Can Java Swing do the same thing as easy as Flash?
3. Will Flash eventually (already) replaces Java or other media in GUI? Is Flash a complement to Java or vice verse?
4. Which one should we choose for our next GUI project?
Any ideas and comments are welcome!
BCR27I agree with Mitch that in determining which one to use, their capabilities should be the key consideration.
I would like to add my comment that the decision should also be based upon the purpose of the application. I think that Java Swing is more suitable for "utility like" applications which do not require extensive graphics animation. For example, we don't expect writing an e-mail GUI application with Flash because I guess most people only want to send an email quickly and easily. Fancy animation is annoying and simply not appropriate. Another example, what do you think of writing a GUI application for use in the Space Shuttle using Flash. I guess Java Swing may be the better choice.
On the other hand, I think that Flash is prefect for "entertainment like" applications which do require heavy graphics animation in order to attract the customers. Examples include Interactive TV and kiosk applications. No customer would find the "technical" look of the Swing application attractive and interesting.
Does anyone have more ideas and comments, please join and discuss it!
P.S. Mitch, Wish you a success with your new book!
BCR27 -
Java hijacks the flash update page and will not let me update flash
when I use the update page for flash, it quickly passes from that page to the update page for java.com. I am unable to update flash, or even visit the update checker page.
First, please update Firefox [[Update Firefox to the latest version]]
Then visit http://get.adobe.com/flashplayer/?promoid=JZEFT to download and install Flash. Don't accept any other programs or applications the installer tries to bundle (McAfee, etc.)
Maybe you are looking for
-
How to modify numbers in a arraylist?
Say I have an arraylist with these values: [item1, 65, 555.5]item1 represents the name of an item type, 65 represents the number in stock, and 555.5 represents the value of one item. Now say I want to add 10 item1's to the number in stock. So I want
-
How do I get SD video (4:3 aspect ratio) to fill the entire screen?
Any 4:3 video I stream has black bars on either side of the picture. I have a Samsung HDTV, and I can stream content using its own pc to tv streaming software and 4:3 videos fill the entire screen. Or if I play a DVD with 4:3 aspect ratio that will a
-
End loop then advance to next frame
I'm building a presentation and I'd like it if I could set up the following: There's a looping animation. It starts and ends with a solid transition to something else. However, I'm building this for a separate presenter (seveal, in fact) and I don't
-
Contart act (customers)
hi all, i configu the following steps to process Entended withholding tax for contract act (customers): check withholding tax countries. define official withholding tax codes. Maintain calender. Define business places. Assign factory calender to busi
-
Query using connectionpool impossible on oracle instance
Hi, I have a question for a system that was to be released in production mode april 1st, 2003, but could not be because of this problem: When connecting to a Oracle 8.1.7r3 DB using WL 6.1SP3, I have a problem using connection pooling with both the o