nicky
nicky

Reputation: 3898

flash .swf file run in java swing

how to load flash swf inside jlabel of swing in java.

Upvotes: 1

Views: 3956

Answers (3)

Marcos Marcos
Marcos Marcos

Reputation: 1

You try API DJ NativeSwing look at here: https://dzone.com/articles/dj-nativeswing-reloaded-jwebbr

 JFlashPlayer flashPlayer = new JFlashPlayer();
    flashPlayer.setURL(myFlashURL);

Upvotes: 0

RedPandaCurios
RedPandaCurios

Reputation: 2324

You cannot load it as a image in a label, but there is an implementation of embedding Flash in Swing using JFlashPlayer

Note that a previous question, with this and other answers is the first result in a google query for 'flash embed java swing'. Google is often a lot quicker than submitting a question...

Upvotes: 2

Peter
Peter

Reputation: 5798

That sounds like a bad idea.

but anyway read lots of java and flash integration on http://www.adobe.com/devnet/java/cross_product_integration.html

Upvotes: 0

Related Questions