How to load files into applets?

Hi,
I have developed a quiz applet. The quiz applet will have a button by clicking which one can start quiz. The quiz will open in a Jframe.
At first the frame shows screen to enter a username (no checking for present).
After you click login it takes the test quiz file as input and number of questions to appear in quiz.
After that quiz program will be reading the quiz file specified (available in the same directory), then parsing the file getting questions and answers into Objects of questionRecord.
From these questionRecords a question will be given in the frame at random.
Finally, score will be displayed to the user.
The program works well when it is compiled in eclipse. When I try the same program to run in browser (I'm using Mozilla), I can't load the quiz file. I dont find any errors as it running in the browser. I dont understand where the problem might be.
Here is the Url: http://csee.wvu.edu/~srikantv/Assign/Assignment4Applet1164649158249.html
If you want to look at.
Please help..
Thanx

You can configure the browser or the plugin so that the java console is displayed.
Your problem is probably that an applet which isn't signed isn't allowed to read files from the local filesystem.
Kaj

Similar Messages

  • Access denied by loading files into applet

    Hi!
    I have a problem with initializing my applet.
    When i try to load files from my harddisk in my applet, i get the
    "access denied" message and so the applet could not be initialized.
    I gave my program files "allPermission" in the java-policy-tool.
    Is there anybody who can tell me, what the problem is?
    Thanks for your help.
    Stefan

    You should load the URL of your file.
    URL url = null;
    try {
    url = new URL(getCodeBase(), getParameter("...your file..."));
    }catch(Exception e){;}
    loaders.load(url);
    Normally, that should be good !
    Bye !

  • How to create keyboard for Load Files into Photoshop

    does anyone know if there is a way to create or is there an existing keyboard shortcut to Load Files into Photoshop from Bridge?

    I should have been more specifc.
    Much like in bridge-tools-photoshop-load files into photoshop, I want to load multiple files into a layered photoshop document.
    Can't seem to find a keyboard shortcut for this action. Though I don't know how to write scripts very well but there are far too many keyboard shortcut posts I've searched and can't seem to find a way.
    thanks

  • How do you "load files into photoshop layers" in bridge cc

    I am having difficulty following on instruction in learning photoshop cc.
    The book says to load files as layers select(in Bridge) tools/photoshop/Load files into photoshop Layers.
    There is no Photoshop Option in the Tools Menu in my Bridge CC.
    Is ther another way?
    Dave

    I run Windows 7 Ultimate, I have 2.00GB of RAM with 1.74 usable, and I selected 40 images, each about 2MB.

  • Adobe Bridge CC 'Tools Load Files Into Photoshop Layers' missing from menu.

    Hi,
    After updated to bridge CC the 'Tools > Load Files Into Photoshop Layers' has simply disappeared from the menu! Is there a plug in that I'm missing or is this something similar to how the Output module works, where you have to install the files manually?
    Thank You

    I uninstalled all Adobe products -> reboot -> reinstall; which didn't work.
    So I had to uninstall all Adobe products again, then use the Adobe Creative Cloud Cleaner, reboot & reinstall everything again; then it finally worked.
    This seems to be a regular thing since the introduction of Adobe CC, almost every new update or new versions breaks functionality & requires a complete uninstall -> reinstall process.

  • "Load files into Photoshop layers" completely missing from Bridge CS6

    No options to load files into Photoshop layers. Why not, and how can I put several files into one Photoshop layer?
    I'm using Bridge CS6 and Photoshop CC.

    Hi JJMack - I just re-read your post. For some reason I thought you were suggesting to make sure "Open documents in Tabs" was selected, it was. Now I realize you were suggesting to turn it off! As another attemp to solve this problem I did de-select it today. Seemed to work for a good while. I was getting very excited, then, on the last set of images I had to do it displayed the same problem. But, it did go for quite a while without failing, and when it did I was thrashing about trying to make another app active. When loading documents like this - with "Open documents in Tabs" de-selected, Photoshop wants to put the loading images as the front-most window, no matter what other apps (Bridge, email, web etc) I click on in the dock. I think it is related to the bug you described effecting the "load files to stack" command.
    Hopefully Adobe is looking at this - mind you, I have read reports of people having this problem in CS5! Looks like that was never resolved sadly.
    I'll keep testing and post back.
    I am looking to upgrade my video card to see if it's a video memory thing.
    What is very weird though is the fact that this problem didn't present itself until after several weeks of working with this command with no problem. No additional apps installed, nothing changed. Why would it start happening only after a while?
    Thanks again for your suggestion.

  • Automate 'Load files into stack' and save as new file

    Hello there,
    I hope someone can help me with the following issue:
    I have 300 folders, each containing 100 images which I need to open as layers, change the opacity to 1% for every layer, flatten the image and then save as a new file. So for every folder I would need one new file generated from the 100 originals.
    I know how to do it manually, i.e. load every folder with the 'Load files into stack' command and let an action run for the rest, but that does take some time with 300 folders. Maybe someone knows how to manipulate the 'load files into stack' script so that it does the job independently.
    Thank you for your answers.

    I think you would be better off starting from scratch with a new script for the design and structure of the 'Load files into stack' script is not easy to comprehend.
    I guess that’s sound advice.
    But another point, leroybak:
    What are you trying to achieve here anyway?
    If you want to »blend a movie into one image« like a continuous exposure of the whole movie on photographic paper (and it has been done) changing all layers opacity to 1% might be not altogether the ideal route.
    Instead converting the Layers to one Smart Object and invoking Layer > Smart Layers > Stack Mode > Mean might be better in that all layers contribute to the resulting values equally.

  • Modify Load Files into Stack.jsx

    I am new to Photoshop Scripting so I am sorry if this has already been answered, but I can't seem to find out the answer or figure this one out.   I am writing a script that is doing an INCLUDE using the Photoshop script Load Files into Stack.jsx.  This script seems to name the layers the Filename.  I would like to figure out how to modify this script to not include the file name in the layer and just put Layer 1, Layer 2.  Any help would be greatly appreciated. 

    That may work, but I am not sure what to put into the script and where (sorry, yes I am new at this, this is my first attempt and Photoshop scripts).  Here is what I am doing and what I have coded so far.  I have created a droplet that would move files over into Photoshop do some reformating of the images and then when I get 4 images into Photoshop I am merging the open documents into a separt document and then kicking it back over to an action to do some more formatting with the combined document.  Here is the code I have so far. 
    var loadLayersFromScript = true;
    //@includepath "/C/Program Files/Adobe/Adobe Photoshop CS5.1 (64 Bit)/Presets/Scripts/"
    //@include "Load Files into Stack.jsx"
    var files = [];
    // declare local variables for close files
    var name = activeDocument.name;
    for(var d =0;d<app.documents.length;d++){
        try{
            files.push(app.documents[d].fullName.fsName);
        }catch(e){
            alert(localize('$$$/AdobePlugin/Exposuremerge/Mustsave=Documents must be saved before they can be merged'));
    if( d > 3 ){
    loadLayers.intoStack(files,true);
    // close documents except Untitled document
    while (documents.length > 1) {
      for (var i = 0; i < documents.length; i++) {
    // close all documents except the active document
      if  (documents[i].name != "Untitled1") {
                  documents[i].close(SaveOptions.DONOTSAVECHANGES);
    doAction("Resize Canvas", "Finish Document");
    The reason I need the Layers to not be names is because the document names change and I can not get the actions to work with the differences in the Layer Names when the new files come in. 
    Any help would be GREATLY appreciated.   

  • LOAD FILE INTO GRAPHIC IMAGE ON CANV

    How do I load file into graphic image on the canvas not the image item on the block?

    With the Layout Editor open, select Edit > Import > Image.

  • Load file into BPS - Excel File

    Hi Guys,
       Could someone please tell me how to load excel into BPS, the "Loading file
       Into BPS" loads text file but i need to load excel instead. I know we need to
       just change few lines of the ABAP code to make it work for excel, but don't
       how. Any help (code) is appreciated.
    Thanks All.

    Hi,
    You can try FM 'RSDRI_CUBE_WRITE_PACKAGE' for direct update to your cube.
    You need to pupulate an internal table as per your cube structure from your excel file.
    It may help you.
    regards
    rajesh

  • Loading file into BI

    Hi,
       I am trying to load file into BI using GUI. 
       When I tried an upload for cost centers to BI, but I got a message that it was locked by some other User.  Is there any functionality in BI that checks, if other users were in BI before it would perform the upload.
       If there is any such Locking concept in BI,  where can I get the documentation of the same.
    Thanks,
    Arshad

    Hi Arshad
    Try tcodes: RSPLSE for Lock Management.
    You could use process chains to check and delete locks and then perform the upload.
    Also check this blog of Marc's. It might give you some ideas.
    /people/marc.bernard/blog/2007/11/25/how-to-load-a-file-into-sap-netweaver-bi-integrated-planning-part-1
    Srikant

  • "Load files into Photoshop layers" fails to complete CS6

    Hi all,
    Hoping someone can help with the folling problem with Photoshop & Bridge CS6
    When in Bridge, after selecting 6 images (CR2) using the command TOOLS>LOAD FILES INTO PHOTOSHOP LAYERS the first file will load into Photoshop, Photoshop will then generate a second blank layer and then read the second file. At this point the "script" will stop. I am left with a document with 2 layers. The top layer has my first image, the bottom layer is empty.
    At this point when I quit Photoshop I am prompted to save this open document which appears to be the only open document. I choose not to save this as a file. I then get a dialogue box prompting to save another open document. Photoshop has loaded the second file to place as a layer but as the "script" has aborted I am left with an open, but invisible file.
    When I first loaded CS6 on Snow Leopard, it would demonstrate this behaviour every time I attempted to run this command from Bridge.
    I did a clean install on a blank HDD of OSX Lion. Installed CS6. The command worked without fail for about a month.
    Then I would get the command aborting occasionally. Restarting Photoshop would let me continue for a few hours before this aborted script problem would happen again.
    Over the last week it has become more frequent, to a point where this workflow is unusable.
    A restart of Photoshop may fix the problem for the next batch of images, only to fail again soon after, or fail on the first attempt after a relaunch of Photoshop.
    A reboot of my computer will allow my to load one or two sets of files before again failing to complete the command.
    I have tried the following:
    In Photoshop preferences:
    disabling the "Use graphics Processor"
    Increasing or decreasing the amount of RAM available to Photoshop
    Changing the cache levels or changing the cache tile size
    changing the scratch disk
    Trashing the Photoshop preferences file (Photoshop Settings.psp)
    In Bridge
    Purging the cache
    Increasing or decreasing the cache size
    Resetting Bridge preferences (holding Command on launch) and deleting all cache files.
    In general system
    Quitting extra programs (Safari, Thunderbird, iTunes)
    Sometimes this will seem to then allow Photoshop to load a full set of images, only to abort again after a few sets.
    Rebooting the computer - again will work for a few images sets before again failing.
    Now the fact that it worked fine for several weeks without presenting a problem would indicate that it is not a bug.
    The fact that is slowly started happening then became more frequent would indicate something changing slowly over time - a larger cache folder perhaps, although purging known Bridge cache folders has not filed the problem.
    Really at the end of my tether here. Even considering downgrading to CS5 - but don't want to have to use the older Adobe Camera Raw.
    System is as follows:
    Mac Pro 2 x 2.66 Quad Core
    24GB RAM
    ATI Radeon HD 4870 512
    OSX Lion 10.7.4
    I have seen a couple of others have posted having a the same problem, both with CS5 and CS6.
    Hoping someone has an answer.
    Thanks.

    Hi JJMack - I just re-read your post. For some reason I thought you were suggesting to make sure "Open documents in Tabs" was selected, it was. Now I realize you were suggesting to turn it off! As another attemp to solve this problem I did de-select it today. Seemed to work for a good while. I was getting very excited, then, on the last set of images I had to do it displayed the same problem. But, it did go for quite a while without failing, and when it did I was thrashing about trying to make another app active. When loading documents like this - with "Open documents in Tabs" de-selected, Photoshop wants to put the loading images as the front-most window, no matter what other apps (Bridge, email, web etc) I click on in the dock. I think it is related to the bug you described effecting the "load files to stack" command.
    Hopefully Adobe is looking at this - mind you, I have read reports of people having this problem in CS5! Looks like that was never resolved sadly.
    I'll keep testing and post back.
    I am looking to upgrade my video card to see if it's a video memory thing.
    What is very weird though is the fact that this problem didn't present itself until after several weeks of working with this command with no problem. No additional apps installed, nothing changed. Why would it start happening only after a while?
    Thanks again for your suggestion.

  • How to load file thru reader which contains non-english char in file name

    Hi ,
    I want to know how to load file in english machine thru reader which contains non-english chars in file names (eg. 置顶.pdf)
    as LoadFile gives error while passing unicode converted file name.
    Regards,
    Arvind

    You don't mention what version of Reader?  And you are using the AcroPDF.dll, yes?
    Sent from my iPad

  • MISALIGNMENT PROBLEMS USING "LOAD FILES INTO PHOTOSHOP LAYERS" FROM BRIDGE CC

    I'm having a persistent problem which technical support was unable to resolve after being on the phone with them for 1.5 hrs. I was told the issue would be escalated... That was five days ago, and I've heard nothing.
    Here is the problem: In ACR working on a bracketed group of five images shot from a solid tripod in Bridge CC. I carefully synchronize all parameters incl. crop, transform, exposure, etc. Then I go to Tools / Photoshop / Load files into Photoshop layers, and the images open in photoshop in a layered file..., BUT some are knocked out of alignment. Actually they have been cropped slightly smaller than the original file, always by the same number of pixels. Sometimes all layers are affected, sometimes not.
    Photoshop CC & Bridge CC are both up to date, as is the camera raw plugin. I’m on a new iMac i7 4-core, OSX 10.9.4. All software was newly downloaded from Adobe two weeks ago. I have reset preferences, reset tools in Photoshop, even uninstalled and reinstalled Bridge CC 6.1.0.115 all to no avail. Any suggestions? I am desperate for some help.

    I run Windows 7 Ultimate, I have 2.00GB of RAM with 1.74 usable, and I selected 40 images, each about 2MB.

  • Why while in Bridge Load Files into photoshop Layers does not work?

    In Bridge, Tools>Photoshop>Load Files into Photoshop Layers does not work.  I have two images selected and when I execute that comman in Bridge nothing happens.  I exited and restarted both PS and Bridge and still nothing.  I am working in Windows 7 and Photoshop cs6.

    No I tried File/scripts/load file into stack and still did not work.
    There was an update to bridge and now it works.  Thanks so much.

Maybe you are looking for

  • I still have problems with Error 1402 in Adobe Reader 9.5 Installation.  Can anyone help me?

    Hi, I have a Compaq Presario C500 Laptop with Windows Vista installed.  For the past year, I've been trying to upgrade from Adobe Reader version 8 to either a version 9 or 10.  However, when I download and begin the installation, I always get two err

  • IPhoto 6 display window

    Suddenly my iPhoto window opens with only one photo showing, no matter where I go. If I select "Library" or any other folder below, I see only one photo. How can I get back to where this was for years (since late 2004)? I just want all the photos to

  • Need help with mobily slider CSS

    Hi there, I have found a really nice slider which you can see a demo here: http://playground.mobily.pl/jquery/mobily-slider/demo.html Basically, I am trying to get the bullets currently underneath the images to sit on top of the image, but whatever I

  • X86 vs x64 socket issue

    I created a program to read data from a MulticastSocket and if I run the application explicitly with the x86 version of Java, I have no issues. However, if I run it explicitly with the x64 version, my application starts fine, but I read no data. Anyo

  • Can I sync facetime from my iphone4 to my MacBook Pro?

    Can I sync facetime from my iphone4 to my MacBook Pro?