How to Embed MS Excel in Swing Application?

Hi all,
Is that possible to embed MS Excel in a Swing application? How to do it? Or is there any JComponents that similar to the spreadsheet? Thanks for any advance.
Charoite

maybe this one is what you are finding.
http://www.jxcell.net

Similar Messages

  • How to embed/perform a Java Swing form into webased Swing form

    How to embed/perform a Java Swing form into webased Swing form or any alternative.
    Suppose i have 2 or more swing forms which are desktop applications but i want those forms to be now webbased..so how can i do this.Will i need to change the swing coding or will have to keep the swing design same.what can be the best Solution.

    You can launch your existing desktop app via the web using [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp]

  • How to embed an excel file or word doc in a pdf doc

    How to embed an excel file or word doc in a pdf

    Hi Maxpkh
    Do you mean attachment? You can't do that with free Adobe Reader you need Acrobat to do this.
    ~Deepak

  • How to embed flash video in HTA Application

    How to embed flash video in HTA Application?

    How to embed flash video in HTA Application?
    It is exactly the same as embedding in a normal HTML page.  Check with flash forum on how to use flash.
    ¯\_(ツ)_/¯

  • How to embed html-file into swing

    hello,
    can anybody help me how to embed a html-file into a swing application??
    I try to write a swing-application, that connects to a Internetpage via Sockets.
    The problem is, that I can only see the sourcecode of the InternetPage in my JTextArea, but I want to see the whole Page just like in a browser.
    I hope anybody can help me to solve this problem, thanx mina

    u will need to use the JEditorPane component instead of Jtextarea.here is a url to help u get started
    http://java.sun.com/docs/books/tutorial/uiswing/components/simpletext.html#editorpane

  • How can I unit test my Swing application?

    Hi All,
    In my application I came across a situation where I have to automate the unit testing of my application.
    Using my application user can able to draw polylines and rectangles on a BufferedImage added to a JFrame.
    Can any one please help/suggest me, how to automate the drawing process (this process consists of drawing the polylines with mouse and few action/mouse events)?
    your help will be highly helpful to me.
    Satya

    What exactly will that unit test prove? That you can mock the drawing of lines?
    Unit test are supposed to test certain parts of your application code - I'd concentrate on unit tests that are actually useful and for example in the future can help to catch regressions.
    If anywhere you can get help creating unit tests of this magnitude, I'd look in the unit testing support for Swing applications. Google for "java swing unit test" to see what you can come up with. Probably you'll need to create some plumbing yourself to make custom painting unit-testable; perhaps you could do something with painting to a BufferedImage in stead of to a Swing component for example.

  • How to connect ms access in swing application  JDeveloper

    hi guys,
    How do I do to connect MSAccess database in a swing application in JDeveloper?

    Just wondering, you asked how to connect to MS Access from a swing app being developed on JDev...
    Are you using ADF ? Or just using JDev to develop a plain vanilla java swing app ?
    If not using ADF :
    You could try the JDBC ODBC bridge. http://download.oracle.com/javase/6/docs/technotes/guides/jdbc/bridge.html
    Might be better than half baked JDBC type 4 drivers for Access.
    If using ADF, I'm assuming you have an ADF model project and an ADF swing project. If you can manage to use the JDBC-ODBC bridge, you should be able to configure a DataSource for your model project as javax.sql.DataSource and javax.sql.ConnectionPoolDataSource are now supported though the bridge.
    Please keep in mind the warnings on http://download.oracle.com/javase/6/docs/technotes/guides/jdbc/bridge.html, especially the limited scalability and performance.

  • Embed Google Maps into Swing Application

    Hi,
    I am trying to build a swing application and i need to embed Google map into it.Is there any way to do this? Which component do i use?
    I guess i am having some difficulty with this because the Swing component needs to support the complex javascript that Gmaps uses.
    Please suggest some solution or API.
    Thanks!

    look on google's site. they have some java component.

  • How to embed video player in iPhone application?

    Hello Everybody,
    I want to embed video player in my application. I have one sample code provided by the iPhone developer documentation. But it is not running properly , it is just showing one rounded progress indicator and it is rotating n rotating and never coming to an end. Can any one here , tell me how do I proceed to embed video player in my application?
    Any information regarding this is highly appreciable.
    Thanks,
    Pandit Pakhurde

    Hi Roger,
    Actually, Code is running fine and not giving any error. When I am clicking on "Play Movie" button then iPhone is getting flipped with one window having black screen and round progress indicator is rotating in middle of the screen. But no picture. I also debug the code , all the necessory paths of the video files are same. I think there are two possibilities in this issue, either video is not getting loaded properly or iPhone simulator is not providing the necessary requirement to run video file.
    Is there anything I am missing then please let me know.
    Thanks,
    Pandit Pakhurde

  • How to Call Crystal Reports from Swing Application

    Hi All,
    I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
    Thanks in advance.
    Chandra

    hi
    this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
        import java.awt.*;
        import javax.swing.*;
        import com.crystaldecisions.ReportViewer.*;
        import com.crystaldecisions.reports.sdk.*;
        import com.crystaldecisions.sdk.occa.report.reportsource.*;
       public class HelloSwing
            public static void createAndShowGUI()
                try
                    //Make sure we have nice window decorations.
                    JFrame.setDefaultLookAndFeelDecorated(true);
                    //Create and set up the window.
                    JFrame frame = new JFrame("HelloWorldSwing");
                    frame.setTitle( "Testing Reports");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                    viewer.init( new String[0], null, null, null);
                  ReportClientDocument rpt = new ReportClientDocument();
                    rpt.open( "report path", 1 );
                    IReportSource rptSource = rpt.getReportSource();
                    viewer.setReportSource( rptSource );
                    frame.getContentPane().add( viewer, BorderLayout.CENTER );
                    frame.setSize( 700, 500 );
                    frame.setVisible(true);
                    viewer.start();
                catch ( Exception exception )
                    System.out.println( exception.toString() );
            public static void main(String[] args)
                javax.swing.SwingUtilities.invokeLater(new Runnable()
                    public void run()
                        createAndShowGUI();
       there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
    specify the key in the CRConfig.xml file (which also has to be imported in the package)
    u can find these jar files in the common objects folder in your program files.
    hope it helps. best of luck

  • How to setup JAWS for Java Swing applications

    Hello All,
    I am having one swing application and need to test with JAWS.Could you please let me know the configuration steps.I tried with the following steps and it is not working properly.
    1. Install JDK1.5.0_08
    2. Install JAWS 7.0
    3. Install SUN accessbridge-2_0_1
    4. Copied access-bridge, jaccess-1_4 and accessibility.properties to jre\lib\ext
    it is not identifying even buttons also.
    Thanks & Regards,
    Gana

    Hello there,
    Gana, Ana
    I have the same problem
    1. Install JDK1.5.0_08
    2. Install JAWS 7.0
    3. Install SUN accessbridge-2_0_1
    4. Copied access-bridge, jaccess-1_4 and accessibility.properties to jre\lib\ext
    and nothing

  • How to disable html for whole swing application.

    Hi,
    As we can disable html for individual swing components , for example JLabel
    label.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(label,"html.disable");
    is there any way to disable html rendering in swing components for system wide / whole application?.
    Thanks
    Kiran

    Better use a utility method in the application like this
    public static void disableHtml(JComponent component)
    component.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(component,"html.disable");
    call disableHtml(Component u want to set html disable) for any component in the application.

  • How to improve the performance of Swing Application?

    My project is a Swing based application which uses java 1.2.1 API.
    The problem is my application is very slow and gets hung many times, inspite of the system configuration being good ( 256 Mb RAM, 733MHz processor).
    Do give me some suggestions to improve the performance.
    Regards,
    sudhakar

    The system configuration is more than enough to run java applications.
    You are probalbly doing time-consuming operations in the event thread. Which blocks the event thread and the gui seems not to be responding. If you you have a very bad design.
    Use a thread for time consuming operations.

  • How to embed exsisting image into Swing programme?

    Just wondering, is there anyway to embed an exsiting image into swing programme, like a .jpg or .gif? Thanks!

    It's also nice to package it in the .jar file. If you put it in "rc/image.jpg" (relative to the root of the jar file) you can do something like this:
    new ImageIcon(getClass().getResource("/rc/image.jpg"));

  • How to embed Passcode mechanism in flex application

    Hi,
    I'm developing a flex based application. Almost everything is done. Now I would like to let the users to install this product only for 3 times on their machine.
    For this, Passcode mechanism is a good idea. The user has to enter this passcode which went alongwith the CD / DVD product after installing the product.
    They shall use this code for only 3 times. After that the product should not accept this passcode. Could anyone suggest me how to accomplish this task in flex ?
    Any tutorials for this ?
    Thanks in advance.

    The AIR desktop application is already made. The user will have to purchase the CD to install it. He/She should have to input the Code which went along with the CD while installing the product.
    He / She should be able to use this CD only for 3 times in the same computer OR use this CD in 3 different computers for 1 time in each.
    Simply it should be used only for 3 times.
    Could anyone suggest me how to accomplish this task ?

Maybe you are looking for