help on image slider

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #16
    Originally posted by fatfatpopo
    Do you know what does the error mean?
    Below is the error message shown in Java Console:


    java.security.A ccessControlExc eption: access denied (java.io.FilePe rmission images\t1.gif read)
    at java.security.A ccessControlCon text.checkPermi ssion(Unknown Source)
    at java.security.A ccessController .checkPermissio n(Unknown Source)
    at java.lang.Secur ityManager.chec kPermission(Unk nown Source)
    at java.lang.Secur ityManager.chec kRead(Unknown Source)
    at java.io.File.ca nRead(Unknown Source)
    at javax.imageio.I mageIO.read(Unk nown Source)
    at ImageSlider.get Images(ImageSli der.java:48)
    at ImageSlider.ini t(ImageSlider.j ava:15)
    at sun.applet.Appl etPanel.run(Unk nown Source)
    at java.lang.Threa d.run(Unknown Source)
    Read an applet tutorial and find out about how to display images on an applet. Applets are not allowed to open files on your computer unless they are signed. You need to use a URL and the code base for the path of the images.

    Comment

    • fatfatpopo
      New Member
      • Jun 2007
      • 16

      #17
      Originally posted by r035198x
      Read an applet tutorial and find out about how to display images on an applet. Applets are not allowed to open files on your computer unless they are signed. You need to use a URL and the code base for the path of the images.
      hmmm. i cannot signed for my applet because they give it to company but im only individual.

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #18
        Originally posted by fatfatpopo
        hmmm. i cannot signed for my applet because they give it to company but im only individual.
        Read my reply again. If you read the tutorial you will know how to display the images without needing to sign the applet.

        Comment

        • fatfatpopo
          New Member
          • Jun 2007
          • 16

          #19
          Originally posted by r035198x
          Read my reply again. If you read the tutorial you will know how to display the images without needing to sign the applet.

          Can tell me what changes must i make? because i view it very nicely at my appletviewer.. Thanks again

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #20
            Originally posted by fatfatpopo
            Can tell me what changes must i make? because i view it very nicely at my appletviewer.. Thanks again
            Please read* my responses.

            *Reading - an extinct art that students used to get information (paraphrased from Jos)

            We're not going anywhere here. I really would like it for you to read those tutorials.

            Comment

            • fatfatpopo
              New Member
              • Jun 2007
              • 16

              #21
              Originally posted by r035198x
              Please read* my responses.

              *Reading - an extinct art that students used to get information (paraphrased from Jos)

              We're not going anywhere here. I really would like it for you to read those tutorials.
              I have read from java tutorial and lots more.. But im quite confused over my problem.. If not i won't have stucked in the problem for so long..

              Comment

              Working...