What's out there that lets you do this? Are there any OSS projects or maybe something a little more popular than this: http://www.jpackages.com/jflashplayer/ ? This does exactly what I'm suggesting (i.e. cuts out the need for Swing UI for the most part) but for a number of reasons I'd be interested in any better alternatives. Are there any? Any alternatives would need to support the Flex SDK.
+1
A:
Use the SWT GUI toolkit, which has an embedded browser. You can even deploy you own webkit with it, and let flash run in this browser, so you are platform independent, and don't rely on native browsers.
It will however be a large deployment, because of the browsers size.
EDIT: You can also emed the Flash ActiveX control directly in an SWT composite (Composite is the JPanel of SWT)
Daniel
2010-10-10 17:41:42
See comment above, sorry. This is for a non-browser dependent application. For a browser app I just use plain Flash/Flex, cross platform and no reliance on native browsers.
Crusader
2010-10-10 17:47:21
Oh I think I may have misread, still, a Flash solution to take advantage of my Flex experience rather than having to learn a whole new toolkit would be ideal.
Crusader
2010-10-10 18:16:00
Another possibility is still to use SWT, and embed the Flash ActiveX Control. We already were able to embed Word and OpenOffice apps directly in our Java Windows (still using SWT here), because SWT is a native toolkit.
Daniel
2010-10-13 14:43:37
Ooh, that's an interesting idea. In a situation like that how would (could?) the Flash control communicate with the Java "container" it's embedded in? I had no idea such a thing was possible w/SWT.
Crusader
2010-10-14 04:30:40
http://www.javalobby.org/java/forums/t105291.html
Crusader
2010-10-14 06:01:25
You communicate by calling the COM methods by name. SWT contains an OLE bridge for that. http://www.darronschall.com/weblog/2003/11/swt-flash.cfm and http://stackoverflow.com/questions/660887/can-you-embed-flash-swf-in-eclipse-rcp-apps
Daniel
2010-10-14 07:32:31