• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Swing and Flash  RSS feed

 
Payam Fard
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to create flash components (swf files) and include them in a Swing JFrame and be able to post data from and to it.

For example, if the swf gui is showing a list of items, the list is coming from the Java application and then the SWF file gets included in a Swing JFrame. When user chooses an item from the list and clicks a button then the results is passed back to the Java application.

Has anyone done something similar to this? How is this possible? Code samples would be appreciated.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both JMF and QuickTime for Java can play al teast some SWF files (links are here). You'd have to consult their documentation to see what kind of interaction is possible; my hunch is very little, if any, but that's really just a guess.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!