Can i open a ppt file in java applet?

is there any to show a power point presentation through java applet i

None readily available as far as I know (Jakarta HSSF POI doesn't seem to be there yet IIRC), but I'm sure it's possible to write one oneself...

Similar Messages

  • I can't open or save file with Java Web Start

    Hi,
    i can't open or save file with Java Web Start:
    import java.io.*;
    import java.util.*;
    public class MetaDataFileCreator {
    public String fileNameSpace = null;
    public String fileName = null;
    protected Properties file = null;
    public MetaDataFileCreator(String fileNameSpace, String fileName) {
    this.fileNameSpace = fileNameSpace;
    this.fileName = fileName;
    public void createMetaDataFile() {
    try {
    System.out.println("file METADATA");
    ClassLoader cl = this.getClass().getClassLoader();
    String nameFileMetaData = fileNameSpace + fileName + ".txt";
    FileOutputStream fileOS = new FileOutputStream(cl.getResource(nameFileMetaData).getFile());
    file = new Properties();
    file.setProperty("aaaaa", "aaaa");
    file.store(fileOS, "");
    fileOS.close();
    } catch (Exception e) {
    System.out.println("Error writing metadata-file: " + e);
    System.exit(1);
    e.printStackTrace();
    I have try also to open a file like this:
    ClassLoader cl = this.getClass().getClassLoader();
    file.load(cl.getResourceAsStream(nameFile));
    also like this:
    try {
    fos = (FileOpenService)ServiceManager.lookup("javax.jnlp.FileOpenService");
    fss = (FileSaveService)ServiceManager.lookup("javax.jnlp.FileSaveService");
    } catch (UnavailableServiceException e) {
    fss = null;
    fos = null;
    System.out.println("Error with JNLP");
    System.exit(1);
    if (fss != null && fos != null) {
    try {
    // get a FileContents object to work with from the
    // FileOpenService
    FileContents fc = fos.openFileDialog(null, null);
    //FileContents newfc2 = fss.saveAsFileDialog(null, null, fc);
    // get the OutputStream and write the file back out
    if (fc.canWrite()) {
    // don't append
    os = fc.getOutputStream(false);
    } catch (Exception e) {
    e.printStackTrace();
    also like this:
    File f = new File((System.getProperty("user.home")+"x.txt").toString());
    FileOutputStream fileX = new FileOutputStream(f);
    OutputX = new PrintWriter(new BufferedWriter(new OutputStreamWriter(fileX, "UTF8")));
    OutputX.println(....
    but it doesn't work with Java Web Start.
    Can someone help me?
    How can I open or save file?
    thank you.
    Sebastiano

    Did you specify <all-permissions/> in your JNLP file? Did you sign your code? What error are you getting?

  • Why I can't open any ppt files in power point?

    When I receiv e.ppt files as attachments I cannot see them in PowerPoint,only as .pdf. But I cannot edite them. I have an I-MAc.
    Thank you
    coco

    http://answers.microsoft.com/en-us/mac/forum/macpowerpoint?tab=Threads

  • How can i open a ppt files or a work document on my ipad and save it?

    I have been opening ppt or .doc from school on safari, but i don't know how to save it in my ipad so i don't have to go back online eveytime for those documents. So far i have been only able to save pdf in ibooks.
    I appreciate your help.
    Thanks

    You first need one or more apps on your iPad that support word and/or powerpoint documents - unlike a 'normal' computer the iPad doesn't have a file system, and everything on it has to be associated with an app.
    The options include Apple's Pages app for Word documents, Numbers for Excel spreadsheets and Keynote for Powerpoint. And from third-parties apps such as Documents To Go ('premium' version which allows you to create and edit Powerpoint docs) and QuickOffice Pro HD.

  • How can I open/save .xlsx file using java

    Hi
    I have a jsp whose contenttype of response is application/vnd.ms-excel.
    When I am saving the file as .xlsx and opening from disk it displays error message.
    How can I save and/or open the file as .xlsx?
    Any advice will be appreciated.
    Thanks
    Rohini Kumar J

    sunshine_vennela wrote:
    I have a jsp whose contenttype of response is application/vnd.ms-excel.That's not the way to create excel files. You're just creating a plain vanilla HTML file and fooling the browser with a wrong content type.
    Checkout the Apache POI XSSF API or the OpenXML4J API's to create xlsx files and use a servlet to write it to the outputstream.

  • Can i open a flase file from java application?

    i want that when the user click a button on my java application,
    a flash file i made (Not html)will be showen .

    is it an executable(*.exe?), if it is then you could try using runtime.exec() to run it, but it would not be in a window that you created

  • I can't open a .psd file in Illustrator CS4 after upgrading to Yosemite

    I can't open a .psd file in Illustrator CS4 after upgrading to Yosemite.

    Can you open any file, i.e. jpeg, etc.? Have you installed the Apple legacy Java: Java for OS X 2014-001? I'm guessing you have because you wouldn't be able to open PS at all without it. But have to ask.

  • Can't open the Zipped file

    Hi
    I am making a zip file using GZIPOutputStream. But I am not able to open the zip file that is created using win zip.The size of the zipped file is 81 KB and the input file is 3,245 KB.I have closed all the streams still I am not able to figure out the problem.Any idea where I am going wrong ? Any help would be greatly appreciated.
    Here my code goes:
    import java.util.zip.*;
    import java.io.*;
    public class ZipFile
         public static void main(String[] args) throws FileNotFoundException,IOException
              ZipFile("D:\\Java\\Test\\INPUTXML_bkp_1.xml");
         public static String ZipFile(String fileName) throws FileNotFoundException,IOException
              String name = fileName.substring(fileName.lastIndexOf('\\') +1 ,fileName.lastIndexOf('.'));
              String filePath = fileName.substring(0,fileName.indexOf(name));
              String newFileName = new StringBuffer(name).append(".zip").toString();
              FileOutputStream outputStream = new FileOutputStream(newFileName);
              GZIPOutputStream zipOutputStream = new GZIPOutputStream(outputStream);
              FileInputStream inputStream = new FileInputStream(fileName);
              byte[] temp = new byte[10000000];
              int counter = inputStream.read(temp,0,temp.length);
              zipOutputStream.write(temp,0,counter);
              inputStream.close();
              zipOutputStream.finish();
              zipOutputStream.close();
              return newFileName;
    Thanks
    Ritesh

    Thanks for the reply.
    I changed my code to look like this:
    import java.util.zip.*;
    import java.io.*;
    public class ZipFile
         public static void main(String[] args) throws FileNotFoundException,IOException
              ZipFile("D:\\Java\\Test\\INPUTXML_bkp_1.xml");
         public static String ZipFile(String fileName) throws FileNotFoundException,IOException
              String name = fileName.substring(fileName.lastIndexOf('\\') +1 ,fileName.lastIndexOf('.'));
              String filePath = fileName.substring(0,fileName.indexOf(name));
              String newFileName = new StringBuffer(name).append(".zip").toString();
              FileOutputStream outputStream = new FileOutputStream(newFileName);
              ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream);
              ZipEntry zipEntry = new ZipEntry(fileName);
              zipOutputStream.putNextEntry(zipEntry);
              zipOutputStream.finish();
              zipOutputStream.close();
              return newFileName;
    Now I can atleast open the zip file. But the problem is the size of the file is 0 kb. Probably because, I am not populating the Zip entry. Can u pls let me know how do I do that.
    Thanks
    Ritesh

  • Opening jpg/pdf files from Java

    Hi,
    How can I open jpg/pdf files or any file in general from Java, such that they open up in the default program in Windows?
    I dont want to read in the files using Java. Just open them in their default program. Eg. PDF should open in Adobe.
    thanks,
    parsifal

    Thanks both of you for answering.
    You don't need to make a map. You need the "cmd /c
    start" command in Windows.This is what I was missing. I looked up DOS commands to open a files in window but couldnt get it. So I thought java would have some command that equals double-clicking icons on window.
    Thanks.
    best,
    parsifal

  • Powerpoint can't open Keynote '.ppt' presentations...

    Hi,
    I've just got MS Office for Mac and while Word is quite happy opening Pages documents I saved as '.doc's, Powerpoint won't open the Keynote presentations I have saved as '.ppt's. I've tried all the workarounds I've come across on the web (exporting, inserting, copying) but none seem to work.
    When I try to open the '.ppt' file, the error messages I get are: first, 'Powerpoint can attempt to repair the file. If you trust the source of this file, click Repair.'; second, 'PowerPoint cannot open /Users/username/etc. because part of the file is missing'.
    All advice gratefully received.
    Tim

    Everyone is having this problem right now. Seems like there may be more to it than just the grouping issue that laurent commented about. I also read that you need to convert all graphics to RGB instead of CYMK.
    I for one, don't understand why it is taking so long for them to get this figured out - they should just convert the images and groups to support PPT - I know MS cares less and will never support us Apple users. Maybe Apple could give us a break on this one...

  • How can I open a cc2014 file in my cs6 version of Indesign ?

    How can I open a cc2014 file in my cs6 version of Indesign ?
    I have several files that has been saved in a cc2014 version and I can't open them in my CS6 version of Indesign.
    I don t have access to anyone who have the cc 2014 version to convert the file.
    How can I do it from my cs6 version?
    THANKS!

    You can't do it from CS6.
    You have to export to IDML from InDesign CC2014 (or whatever the version it was created in) and then open the IDML in the earlier versoin of InDesign.
    All explained in the FAQ on the main forum page.

  • I can't open a pdf file since updating to firefox 4.0. I have foxit reader installed and it worked before. Adobe is not compatible with Firefox. What do I need to do. I need to file my income tax online and can't because of this issue

    Just can't open any pdf files. Having no luck trying to fix myself.

    For Firefox users, there might be a built in pdf viewer, or a preferred viewer that handles pdf files.
    I am not having any trouble logging in, so lets try this:
    * Remove any cookies from the cache: [[Delete cookies to remove the information websites have stored on your computer]]
    *[[Refresh Firefox - reset add-ons and settings]] if there is stored user data that is removed in this process: [[Back up and restore information in Firefox profiles]]

  • Why i can't open my raw file in adobe photoshop cs6... and i use camera Canon 650D

    why i can't open my raw file?

    You probably need to update your Camera Raw plug-in for CS6 to something new enough to understand the 650D raw files.
    The usual way you’d do this would be Help / Updates in PS.

  • How can I open Microsoft Word files on my iMac?

    How can I open Microsoft Word files on my iMac?

    You can even use the Pages app that is installed on your computer. Finally you can buy a license of Office for Mac and have Word, Excel, PowerPoint and if you want Outlook too.

  • I can only open 1 .Ai file at a time from explorer

    Okay.  Googling is getting me nowhere and posting this is a last resort.
    computer is running:
    Windows 7 x64 SP1
    Creative Suite 5.5
    Illustrator 5.1
    The problem is:
    From within Windows Explorer, I can only open 1 Illustrator file at a time.  To get a different file to open, I either have to drag and drop the second file into the tabs under the menubar, or I need to quit Illustrator and re-open it.  Also,  I can not open additional files from Explorer one-at-a-time if one is already open.
    Quirks:
    If I go to File -> Open I can select multiple files from within the Open File dialogue window and they open just fine.  but i can't do it from within windows explorer.  This used to work and now it doesn't and I have no idea why.  Can anyone help me out?
    Seriously? 137 views and no replies?  No one has run into this before?

    This is a long shot but try going to Preferences/Type and uncheck "Show Font Names in English".
    Quit illustrator and restart, does it work now?
    The reason I´m suggesting this is that unless I have this box unchecked, some internal function in illustrator crashes after I´ve opened one document and I have to quit & restart if I wan´t to open another one. A rather silly bug and I stumpled upon the solution by accident after cursing illustrator for a couple of months...

Maybe you are looking for

  • N93 still exists?

    Dear Nokia, It's been more than 6 months since the last firmware upgrade of N93... and for sure the device is not perfect, with some flaws and bugs to be solved. So Nokia, d'you remember about N93? I know, it's not as popular as N73 or N80, but we pa

  • System expanding to use all RAM when idle

    Just had my Mac Book at the Apple Store for tests because the fan was running a lot & computer was running really slow.  They found no hardware problem but suggested my problem was that the 2G of Ram was not enough because the system with nothing ope

  • Connections.properties

    Hi, My problem is: the connections.properties file is always deploy in my Project.jar even if I do not check the check box "Always include connections.properties files in the generated archive". Is it a bug? how to create this file outside the archiv

  • New Time Capsule: Assign DHCP address and backup to USB disk?

    Hi all, I am setting up a new Time Capsule and have two questions: - I am successfully backing up my MacBook Pro to the internal TC disk. I like loooong backup histories, so I would like to backup my iMac to a separate Time Machine disk attached to t

  • Sound Distortion/Crackling

    Pavilion Dv6-6146tx Windows 7 64-bit Occasionally my sound will distort and have a slight crackling sound before a sound is played. This occasionally happens when opening applications but i have mainly noticed it when playing games. Sometimes the sou