How to play flash files in java swings

Hi All ,
I have a requirement in java swings , i want to play advertisements ( flash files in swings )
can any one provide any example for the above requirement .
Thank you all for sharing knowledge in this great forum .
Jerry

I have a java desktop application which is actually a
kiosk application. I have to run some promotion
videos in my application when no user is using the
kiosk.Will the kiosks all be running the same OS?
The reason I ask is that JMF is available in both
standard and performance pack versions. The PP
provides a wider variety of formats, but runs only
on Win. and *nix.
videos can be any avi or neother which can easily be
played in java applications.That is handy. The JMF standard pack provides
support for a number of flavors of AVI, but not all.
What is the best way for me to play video files in a
java application??I would suggest checking if the 'standard' version
of the JMF can play* the current AVI's. If it can, use
the standard JMF for the project, if not, look to
converting the AVI's to something the JMF can
deal with, this might involve storing the video or
audio of the AVI's in a different format - you
might have to experiment to get the right
combination, but the JMF 'supported formats'
is a good guide.
http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
* To check if JMF can play them, install it and
try loading the AVI's in JMStudio - the default
player.

Similar Messages

  • How to connect autocad file to java swing

    hi,
    plz immediately tell me how to connect autocad file to java swing .
    plz help me
    it is very urgent

    Hi there
    See if the link below helps you out.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Playing flash file using java

    Hi all,
    i need to play a flash(*.swf) file within my desktop application. can anyone help me with a sample code.
    Thanks in advance
    Ravisenan

    here a way to that for windows..
    http://www.javaapis.com/jflashplayer/
    java can load quicktime, and quicktime can play swf files..
    try to search about that..
    goodluck!
    Nywled

  • How to play movie file using java tv

    hi,
    i am trying to play movie file(.mov or mpg or mp3) using java tv in linux plotform and also using jmf jar.
    problem is while running appear black screen and getting exception or errors like
    Unable to handle format: ima4, 480x320, FrameRate=25.0, Length=460800 0 extra bytes
    Thank in adv

    Well...
    I don't know how to load and play a video with JavaTV. But I've seen some posts telling that .mpg files aren't accepted by the JavaTV.
    Some people said that I had to use .avi files and these .avi files, if they were converted from a .mpg file, must had been converted with the Cinepack technology, but I don't know how to do this.
    If you find out how to load and play a video, I'd like to know, please send me an email or access my page and post there in the comments, so I can continue doing my application with a video.
    []'s
    Cauane B.S.
    Computer Science
    CNPq Researcher - TVDi
    http://cauanebs.blogspot.com
    UCPel - Pelotas - RS

  • How to display XML file in java swing

    hi all
    now i do my M.Sc., project on data maining.this time i have one problem,thats i can't display XML file in swing frame.so any one know this plz give me that idea or code.
    Thanks to all.
    RSK

    One way of doing that is to use JDOM...
    u create an xml tree, and then output using XMLOutputter class...it will be displayed in text...im not sure if thats what u want...however, if u do want to represent it visually then u may need to draw a tree...u may use the Graphics2D for that...there are alot of ways to do such thing, and the 2 possibilities arent the best...depends on what u want...elaborate more pls.

  • How to make .exe file in java swing

    dear friends;
    i am working on a project. I want to create a setup file so that we can install our software any where on the system and for that I have to make .exe file. pls gide me for making .exe file
    thanks and regards
    shashi_vns007

    prigas wrote:
    Make a .jar which is javas equivalent to .exe.Then for the "..setup file.." offer the end user a JWS *(<- link)* based launch that will offer desktop integration (desktop shortcut and menu item) as well as access to automatic updates and much more. JWS will, of course, also work for Mac and Linux OS's.

  • How to play flash in java

    Hi,
    I have a installer in java swing. I was wondering,is there some way by which I can play a flash animation file inside this app.
    I searched on google,but couldn't find anything that lets you play flash embedded in java swing.
    Anybody,any clues???

    You can play them using JMF. But i think it supports only flash version 2.

  • How to convert oracle form fmb file to java swing file using Jdeveloper

    how to convert oracle form fmb file to java swing file using Jdeveloper.Please explain with detailes steps if possible or please give a link where it is available
    thanks
    Message was edited by:
    user591884

    There is no automatic way to do this in JDeveloper. I know there are some Oracle Partners offering forms to java conversion, I don't know how much of their tools are automated and done with JDeveloper. With JDeveloper+ADF you basically rewriting the Forms application from scratch (and using ADF is helpful during this process).

  • Playing a flash file in java

    Hi all,
    i need to play a flash(*.swf) file within my desktop application. can anyone help me with a sample code.
    Thanks in advance
    Ravisenan

    Whoah! Does this mean that (by using this utility) you can play flash files anywhere you have Java installed? Because as I recall Macromedia's stuff is proprietary (i.e. not necessarily platform independent). For example, only Windows PDA's can play flash files. But if I can put Java on a non-Windows PDA and play Flash like that, I'd be interested to know.

  • Playing Flash File in Oracle Forms 9i

    Hi there,
    I used to Play flash files in Forms using active x controls. But they are no more there.
    So how can I include a flash file in my forms using Oracle Forms 9i.
    Plz help me.
    Thanks

    Ali,
    you would need to find a Java Bean environment to play Flash (quasi a flash runtime in java). this then can be added as a Java Bean to Forms.
    Check the Java Media Framework
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=MEDIA+FRAMEWORK&col=java&col=wireless
    Frank

  • Viewing and printing a PDF file from Java Swing Application

    Hello,
    I need to view and print PDF files from Java Swing Application.How do I do that?I appreciate your help.
    Thank you
    Sumana Somareddy

    If you have a link to the URL pointing to the PDF file, you can allow the browser to open it. Then use the print function of the browser to print the PDF document.
    Regards,
    Tak.

  • How to play video files that are in Drop box on iPod?

    How to play video files that are in Drop box on iPod?

    I am going to have to write a technote about this, because it comes up a lot.
    Flash Player itself is designed to play SWF content as a browser plugin or as an ActiveX control (when it's IE Windows).
    There is a standalone Flash Player, but that's something Adobe  provides directly as a feature of Flash CS4 Professional. It gets installed with Flash. We have made some standalone players available on http://www.adobe.com/support/flashplayer/downloads.html, but not all (and I don't know why.  Looking into it)
    There are numerous 3rd party standalone SWF players out there though.  Some designed to just play video, others that play full SWF. I suggest a google search of 'play SWF standalone' and read the results.
    On the Mac, consumers who want to play SWF content off their desktop can use the Adobe Media Player. You can import a local SWF (and FLV and other video) and play it in AMP.  Get it here:
    http://www.adobe.com/products/mediaplayer/
    That's Mac only, doesn't work on Windows.

  • How to play Swf files on the iPad??

    Just as the title sated, how to play sef files on the iPad, since the iPad lack of flash support, and I don't find any program to handle with the swf files to playing on my iPad

    Depending on what sites you are trying to access, you might find that some of them (probably more so if they are news sites) have their own apps in the App Store which might let you get some of the content that you want (and there is the built-in YouTube app). Also there are browsers such as Skyfire which 'work' on some sites - but judging by the reviews not all sites. If you want to play flash games then you are out of luck if you want to play on-line (unless something like the iSwiffter app work with it), but again some of them have app versions in the store.

  • How to run ear file in java application server

    i want how to run .ear file in java application server
    1. i m created ear file
    2. i m created jar file (bean,home,remote)
    3.i m created war file(in the form of jsp)
    but till now i couldnt run ear file
    how to run
    please hel me

    You must create :
    1.Jar file
    2.War file
    And then put them into an ear file
    Exemple : myapp.ear contains
    myappEJB.jar
    myappWEB.war
    META-INF/application.xml
    and application.xml looks like this :
    <application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
                            http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
        <display-name>myapp</display-name>
        <description>Demo application</description>
        <module>
            <ejb>myappEJB.jar</ejb>
        </module>
        <module>
          <web>
             <web-uri>myappWAR.war</web-uri>
             <context-root>/myapp</context-root>
          </web>
        </module>
    </application>Good luck

  • How To Read RTF file in JAVA?  Using  iText?

    How To Read RTF file in JAVA?  Using  iText?.....
    import java.io.*;
    import com.lowagie.text.*;
    import com.lowagie.text.rtf.*;
    public class RTF3 {
    public static void main(String[] args) {
    // System.out.println("This example generate a RTF file name Sample.rtf");
    // Create Document object
    Document myDoc = new Document();
    try {
    // Create writer to listen document object
    // and directs RTF Stream to the file Sample.rtf
    RtfWriter2.getInstance(myDoc, new FileOutputStream("Sample.rtf"));
    // open the document object
    myDoc.open();
    // Create a paragraph
         Paragraph p = new Paragraph();
         p.add("Helloworld in Rtf file..amazing isn't");
         // Add the paragraph to document object
    myDoc.add(p);
    catch(Exception e) {
    System.out.println(e);
    //close the document
    myDoc.close();
    Exception in thread "main" java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.width()F
         at com.lowagie.text.rtf.document.RtfPageSetting.rectEquals(RtfPageSetting.java:433)
         at com.lowagie.text.rtf.document.RtfPageSetting.guessFormat(RtfPageSetting.java:362)
         at com.lowagie.text.rtf.document.RtfPageSetting.setPageSize(RtfPageSetting.java:341)
         at com.lowagie.text.rtf.RtfWriter2.setPageSize(RtfWriter2.java:248)
         at com.lowagie.text.Document.open(Unknown Source)
         at view.RTF3.main(RTF3.java:23)
    CAN you HELP me?

    import com.lowagie.text.Document;
    import com.lowagie.text.rtf.parser.RtfParser;
    import java.io.FileInputStream;
    String inputFile = "sample.rtf";
    Document document = new Document();
    document.open();
    RtfParser parser = new RtfParser(null);
    parser.convertRtfDocument(new FileInputStream(inputFile), document);

Maybe you are looking for

  • MM50 : add new column in the material view

    Dear guru. I need to add a new column of material master in the material view of MM50. Do you have a solution (exit) in order to solve my problem ? Thanks.

  • Define Head office in Oracle HRMS R12

    Hi, Please I need to know how to define the head office of a group the best way: I have a defined business group under which is already defined many companies. I need now to define the head office with its own employees. Please advice. Thanks

  • Upgrade Windows 2008 R2 Standard to 2008 R2 Enterprise fails

    Hi, I am trying to perform an in place upgrade from Windows Server 2008 R2 Standard to Enterprise. I want to setup some things with failover clustering. The install goes all the way to the last step where it is transferring files and then it hangs. T

  • How to uninstall Weblogic 10.3.3

    Hi, I am new to weblogic installation. I have installed Oracle WebLogic Server 11gR1 (10.3.3) using the ZIP Distribution given at http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html I was trying to install SOA 11.1.1.3 but it

  • Best FCE Learning Resource?

    Hello FCE users, How did you learn to use FCE? I recently upgraded from iMovie 09 to FCE but am still scratching my head at its advanced interface and capabilities that I am not yet able to use. How did you learn to get to your current level of profi