Can i open a file using applet?

Hi,
I try to open a file using applet.. but an error said "access denied(java.io.FilePermission tempecg.out, read) ...."
tempecg.out is the file that I want to read.. below is part of my code.. what should I do...?
currently the file is in my harddisk, next time will be linked using URL, will this be another problem?
thanks!
public void run()
while (true)
try
LineNumberReader lr = new LineNumberReader(new FileReader("tempecg.out"));
while (dv.size() < 240)
int p = Integer.parseInt(lr.readLine().toString());
//int p = (int)(Math.random() * 260);
dv.add(new Point(0,p-130));
Thread.sleep(2000);
} catch (InterruptedException e) {}
catch (IOException e) {}

Hi pjustin1,
you must use the policytool.exe given with JDK 1.2.x (or more).
and with this tool you must add a permission on file (FilePermission) you want to access.
Christophe.

Similar Messages

  • Can I open raw files using photoshop elements

    Can I open raw files using photoshop elements

    Yes, depending on the Camera Model and version of PSE.
    All camera makers like to make slight changes to the RAW format for their new models. Adobe then take a few months to produce a camera RAW plug-in to process the new format.
    Give you PSE version and camera model and we could be more help.
    Brian

  • How can we open any file using JAVA...

    Hi all
    i trying to make code in that code i choose a file using a filechooser then put that file name in FILE object like (File file = fileChooser.getSelectedFile();)
    but the thing is how can i open that file for example if that file is HTML file then opens in IE or if that file is MS Word document that open in Word, like that
    is there any suggestions
    Thanx
    Regards
    Satinderjit

    start is a windows command-line utility.
    start foo.doc will start Word (or Star Office or Word Perfect or whatever is registered for the .doc extension),
    start bar.htmnl will start your registered browser etc.

  • Can't open PSD files using "Open With..." feature in 3rd party programs.

    I use MediaPro to manage my media assets and it allows me to pass files to PE10 with an "Open With..." feature.  So I can have a file selected in MediaPro, and then open that file with PE by using this feature.  It worked great with PE8, but for some reason I cannot get it to work with PE10.  When I use the feature, PE10 opens, but to a blank page - the actual image fails to come into the program.
    I know the problem is NOT with MediaPro, since this worked flawlessly with PE8.  The problem appears to be with PE10.  Any ideas???
    Carl...

    If this is on a mac, my guess is that you are choosing the obvious file as your external editor rather than the correct one. You want this one:
    The file at the top level of the PSE 10 folder is just an alias to the welcome screen.

  • Can't open pmd files using InDesign

    hi all
    I have a few pmd files created back in 1996 using Mac at the time, can someone help me to open the files or convert it so I can see them in Indesign please?
    Thanks

    I think there are two main reasons to reopen old PMD files. (1) Make new PDFs or ePUBS for tablets or (2) republish the publication, new edition etc. What I found is that we never know if a PMD will open whit In Design or not. If you did the right thing when you worked with Page Maker you should have saved your publications "packaged" ie, with pics, arts and fonts, using an option at PM "save" dialog. If you did so MAY BE your are half the way. As I noticed in other posts and forums, In Design needs that PMD, pics and fonts to be in the same directory. When you closed the files in PM, your disc contains PM, in root but pics and fonts each in their own directory, so, ID will not open and probably loop and stall without giving you any tip of what you are doing wrong. Create a correct directory at you computer and don't try to open from CDs or worst: old zip discs an even 3 1/4 rigid discs. Install all the fonts used at your PMD work. As Adobe's faqs say, In Design will open PM 6.5 up only.
    If you did the wrong things some years ago, o-ho... I are something lost. Is you do not know the what fonts to install and have no 1990s and 2000s font discs you have nothing to try with In Design.
    PM has the "conflict font" dialog, ever opening the files closed without proper fonts save too. ID has not (for PMD files) and crashes. I have CS5 installed. I found that some times I do what I said above and the file opens, other times, not.
    But there is 100% fail safe thing to do. Perhaps you have at the bottom of an old box your Page Maker installation disc. I found mine 6.5 and 7.0. Ok they where developed for Windows 3.1 (anyone remember?) and Intel 386 and 486 CPUs. But SURPRISE! At least Page Maker 7.0 installs and works perfect in a i7 (fast one with 8 gb), two screens, fast graphic cards and amazingly, Windows 7 Ultimate 64 bits without need of any reverse compatibility trick or system.
    So, I installed 7.0, installed the fonts, and opened PMDs at PM, not at IN. It works! It's the ONLY SOLUTION I FOUND for unable to open PMD files in In Design.
    But about the goals?  You will be really amazed how fast PM 7.0 works in a modern machine. I prepared a 360 pages book with some 60 pics to be printed as PDF. The i& took an impressive low 2.8 seconds to close the file and another 15 seconds to create the PDF with Nitro Pdf Creator (freeware), and this is the very point.
    As you remember, during PM era, you have to export for PDF via Adobe Acrobat Distiller that was very slow at the machines at the time. I did not tried to reinstall early 2000s Distiller because we know the amount of incompatibilities of Acrobats, and Readers, and Distillers. Old Distiller possibly will crash your actual Acrobat Reader. Then use PRINT, not EXPORT TO PDF, installing a freeware pdf printer as Primo PDF or it's big sister Nitro PDF. The Page Maker printing dialog permits to choose your PDF settings as exact size of the paper and color separation to bureaus print. Very simple and fast.
    So I am printing old books an articles as PDFs with PM 7.0 an then converting to ePUB using another great freeware called Calibre.
    I hope this can save a lot of time for someone and make people able reuse their old PMD files ever.
    If you did not work wiht this stuff pre In Design an have no PM installation disks, ok, you could blame the market that do not offers old "used" software, that sometimes can save the day. Ask for friends is they have a copy of PM 7.

  • Can't open pdf files using lion

    Hi!
    I really hoping someone can help me here. I can't seem to open PDF files. I get the spinning beachball for a while then the screen freezes.
    Is there a workaround for this?
    Many thanks in advance!
    Dave

    Choose one of the pdfs and Get Info "cmd-i". Is it set to Open With "Priview"? If not choose preview then Change All.
    If that's not it create a new User go to System Preferences > Users & Groups > "+" (make it an admin acct) and test the apps in this new account, if they work the problem is isolated to your User and not systemwide. Also put some pdf files in Shared folder, so you'll have some to test in the new account.
    If the issue is limited to your user account try starting up in Safe Mode  (It will take more time to startup because it runs a directory check.)
    If your apps functions correctly that way, go to System Preferences >> Accounts >> Login Items and remove them. Boot normally and test.
    If the issue is systemwide then, you may be able to repair by booting cmd-r to your recovery Volume and re-installing Lion. This will be an "install in place" and shouldn't effect your data and settings.

  • HELP...HELP...Can't open audio files using search...

    For whatever reason I can't open the audio files with the search tab located in the browser window. When I click a category like drums or horns it will list the different audio files below in RED, but won't let me select them and/or play them. At the very bottom of the page it does display the correct path name for that file.
    However when I click the file browser tab and go through the proper path directories it will list the files below in BLACK and allow me to select and/or play the audio file. It also displays the same correct path and directory information at the bottom of the window.
    Why won't it do this in the SEARCH tab, and why does it display all of the files in red??

    Where you have the sound-list in STP (the red ones) you also have at the top right something like -settings- or -advanced- (i have a non english-version...). There you will find a list of the places on your hard-drives where STP is looking for the files. Just let STP update all the different locations (it also can be one folder only - the folder where all your sounds are - but you can have sound-folders for STP on any Harddrive attached to your mac - without a limit so far i know). If you have sounds in other folders you can add these folders and let STP update these folders too.
    Hope this helped...

  • Can not open html files using a term

    When I use the command firefox %s some.html Firefox opens but to the home page not the local html document.

    The 600D should be supported in ACR 6.4 which is currently in beta so you'll have to wait until it's released, probably within days or weeks, for native support within Elements.
    While you're waiting, you can download the beta version of the DNG Converter 6.4 from Adobe Labs and use that to convert your CR2 files to DNGs which will open in older versions of Camera RAW.
    http://labs.adobe.com/
    Follow the Camera RAW 6.4 RC link and eventually you'll get a link to download the DNG Converter 6.4 RC.
    The Camera RAW 6.4 RC installer will only run if you have Photoshop, not Elements, so you can't use that, yet, but you can use the DNG Converter.
    Because the DNG Converter and Camera RAW 6.4 are in beta status there could be differences in how the RAW photos look compared to when you get the released version of ACR 6.4 but probably not too much difference.

  • Can you open powerpoint files using Gmail?

    I read that even if you don't have any application to open a power point file that if you use Gmail that you can open a pp file-?
    This seems to good to be true -

    You're Welcome susiecat.pat!
    As Google's help center did not specify, that the feature was not available for OS X, I was hoping that it would work for you.
    But as neoroanatomist has verified, unfortunately that is not the case.
    Sorry.
    I use NeoOffice, but I must admit, the only feature I use it for is to view PowerPoint slideshows.
    I haven't taken the time to learn all of it's other functions, as the application appears quite complicated!
    And thanks for the !
    ali b

  • Can you open multiple files using an advanced action?

    I have either Captivate 5.5 or Captivate 7 to work with. Currently my project is in 5.5.
    I have a button that I want to open three PDF files. I created an advanced action, selecting Open a new file/URL and selected the file name. Currently they are set to open in a new window.
    When I test the button, only one file opens.
    If I set one to open in a new window and another to open in the top window, I lose the course but get two to open.
    Is there a way for me to open each of these files in a new window using the same button?

    You could do it by executing javascript:
    in Captivate: open_win()
    add this to the head section of your html page that loads the captivate object:
    <script type="text/javascript">
    function open_win()
         var url1 =" http://www.google.com";
         var url2 =" http://www.yahoo.com";
         var url3 =" http://www.bing.com";
         window.open(url1);
         window.open(url2);
         window.open(url3);
    </script>

  • Can't open ASCM file using ADE

    I'm sorry if this is beating a dead horse and this has already been discussed - but I'm trying to open an ebook file just purchased.  It has the ".ascm" file extension and I understand that is the "key" to open the .pdf or .epub document.  I've installed the latest ADE but it won't open my .ascm file.  Nothing happens, I don't get an error message, just no file opening in my ADE.  Any advice please?  Thanks!

    nevermind, thanks.  It opened up as long as I didn't have the ADE program already up and running.

  • How can I open zip files using 'zipfileviewer'?

    The app ZipFileViewer does not work for me and I would like to know what to do to correct this

    You'll need to talk to the developer of that app.

  • OneNote recordings "We're sorry, we can't open the file because it is in use by another program."

    Constantly, OneNote breaks and screws up my recordings that are synced with my lectures. It is such a fragile process and very frustrating. As soon as I'm done recording, I press stop. When I test the recording, it says, "We're sorry, we can't open
    the file because it is in use by another program." I just recorded and then stopped it. If i close and reopen OneNote, it says, "oneNote is cleaning up from the last time it was open." And the recording still says it's in use by another program.
    I've even restarted the laptop and it still won't open. The only way i could salvage the file is if I copy and paste it into another folder, and then it will open through windows media player, but all the live syncing with my notes are gone. Where are these
    files stored? If I could save the sound and find the file/format that holds the syncing data again, I could work around this. They are no where to be found on my computer. Other forums give locations, but my folders are empty. Some other recordings work and
    sync nicely, but I have still lost many recordings to this error. However, if I play a file and then close it without stopping playback, that file, too, will now be unusable. It will be stuck as "We're sorry, we can't open..." no matter what i do
    and again i have to copy/paste it into a new folder and then move it back. I had the same problem on my last laptop. I record in Windows Media Audio 10 Professional at 192 kbs, 48 kHz, and stereo CBR. I need the high quality because the lecturer is too quiet.
    It seems to happen when I record long lectures, 45 min+. Shorter recordings tend to work fine.
    Please help, this would make note taking so much easier.

    A bit of a confusion on my part;
    Now we have created these REPORTS using Basic Crystal Report 10.5, which comes bundled with Visual Studio 2008 and .Net Framework 3.0. Now on our machines, we have never experienced any issues.
    Going by the above, you should have references to CR assemblies of version 10.5.3700 only. No other references.
    Now, looking at this paragraph:
    BUT on the DEV server (web server) which has .net Framework 3.0 and in its GAC its has CRYSTAL DLLs version 11.5 (required to create an Object of ReportClass and its related functions) ; sometimes we get the following error while exporting crystal report to pdf:
    I wonder what runtime was deployed to the server. E.g.; if you are using CR 10.5, your assemblies will be 10.5.3700 and you should be deploying the following runtime (depending on 32 bit / 64 bit, etc.):
    CRRedist2008_ia64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
    CRRedist2008_x64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
    CRRedist2008_x86.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100009351342008E/CRBasicVS2008_redist_x86.zip
    One way to check on what is actually loading is to use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility.
    - Ludek

  • I'm going back to cs4 after using cs6 and I can't open nef files in camera raw.

    I'm going back to cs4 after using cs6 and I can't open nef files in camera raw.

    Each camera needs a specific camera raw version (ACR).  And each ACR is tied to a specific version of PS.  See this list http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html

  • Some clients Can't open XLSX files in Libraries using template.dotx but can open xlsx files in libraries using template.doc

    If I create a new library using any Excel/Word template - DOC, DOTX, XLS, XLTX and then upload a XLSX document (or docx) then some of my clients experience issues opening the document.  My work around in the past has been to resave the document
    as XLS or DOC.  Interestingly Old Libraries (Libraries using template.doc) don't have a problem with xlsx or docx documents.  (This only works because most of the clients experiencing the problem only open a few documents and we only have to
    resave a few documents.  I don't know why these clients have this problem though.)
    We are now testing a new Terminal Server implementation.  One with OpenOffice instead of Microsoft Office.  We can't open xlsx files on new libraries but can on old libraries.  (docx files are not a problem though)  I found a couple of
    work arounds.  One work around is to click on the down arrow by the document name and select "Edit in Excel" which fails, but then clicking on the document name after will then prompt you to Open/save the document.  Clicking on Open
    successfully opens the document in OpenOffice.  (So rather tedious for the users but nothing has to be changed to make it work.)
    The other option is to create a template from one of the libraries that is working and then use it to create a new library and save my documents to the new library.  Then I'm prompted to Open/Save the xlsx documents in the library.  This
    option is less tedious for the user but then I have to go through and recreate any libraries using template.dotx.  Creating a new library using the standard Document Library option and selecting Word or Excel 2003 does not resolve the issue - it has to
    be created from a template created from an existing library that works in the Terminal Server implementation. 
    My boss is opting for the latter option unless I can come of with an alternative that doesn't mean additional steps for the users.  Training is an issue because most of the Terminal Server users are shop floor workers. 
    My question is, is there a patch or fix that addresses this issue or any other work arounds that would be less work? 
    Additional Info:  Our Sharepoint implementation is the Enterprise version is installed but we do not have the Excel related Features activated (and these can't be activated due to licensing).  I'm not sure if that matters or not but it is
    a different configuration from how most SharePoint installations are configured.  SP1 is installed.  I have not installed any recent CU's.  Versions I see in Patch Status screen include 14.0.6029.1 (primarily) with some additional features
    reporting 14.0.6105.5, 14.0.6107.5, 14.0.6112.5 and 14.0.6114.5.
    Nancy Forbes

    We have tried a couple of additional things.
    We uninstalled OpenOffice and are testing LibreOffice.  I also installed CMIS from the SharePoint Administrator's toolkit, added the solution, and deployed it to my sites.  The "Producer" feature is activated on the site I am testing with. 
    I created a new library and posted some docx, doc, and xlsx files to it.  All files can be opened as Read-only from the Library list.  The only way I have found that I can edit the files is to Open the Library with Explorer.   I then deactivated
    the producer feature and tested opening the SharePoint documents from Explorer and it worked the same. 
    So am I misunderstanding what the CMIS Producer feature is for?
    Nancy Forbes

Maybe you are looking for

  • Sale order to Production order

    When a sale order is created in Va01 it is not proposing any dates it is directly confirming the quantity. even for MTO also it is confirming the qts. Can any one throw light on this??? Regards Srinivas

  • How do I put text on the same line in CSS?

    Ok, I am placed three images on the page, and I like to have before, during, after underneath each images, and on the same line, I did the text-align:right and all that, but it keeps on putting the text on line below. Here is my CSS and html.Thanks!

  • Is it possible to organize the order of songs

    Hi, Is it possible to organize the play order of your songs? It seems like they are all just playing alphabetically. I'd like to be able to organize my one of my playlists that I use for exercise... Thanks for your help!

  • Write to SharePoint 2007 list using Web Services, getting Soap error

    Hello! I have never worked with XML or SharePoint's Web Services but am not facing a need to use it. I am attempting to write to my SharePoint 2007 list with the following code and am getting the following error : Exception of type 'Microsoft.SharePo

  • Problems with libs in jar and .bat file

    I have a third party library in a jar, let's say LIBRARY.JAR. Then I have my program which uses classes in that Jar, let's call it Program.JAR. The main class is program.Main.class. And I want to write a batch file so that it set's the classpath ro t