Why can't I make my applets work in Explorer?

I know this is stupid but I've really checked almost every source to see what the problem is.. But it doesnt work... Here it is:
I write really really simple, "hello world" kinda applets just to see the java environment and stuff. I compile them using "javac" program. I view them using "appletviewer" in an applet window. But I can't see them in an explorer window, am I dumb or what? I checked my HTML code and I don't think there's a problem in it.The class name's correct, the path -i use codebase="."- is so... But I still see the error "class: blahblah not found" in explorer. Ok, there must be a prob. in my coding somewhere,but how do I view the working applet in "appletviewer"?

HTML is based on relative paths, so in the
codebase= make sure that you are using the
correct location, and if you are using a relative path
that the .class file actually is in that path.
Folder: HTML
Folder: java
File: applet.class
Folder: pages
File: appletTest.html
In the appletTest.html file in the applet tag, if I
use the code=applet.class then it is looking for it in
the "pages" folder and not where it actually is.
To fix this, simply change the codebase to point to
"../java" and then it will work, or you could just
move the applet file to the "pages" folder.
Make sure it is the .class file and not the
.java source code.

Similar Messages

  • Why can't I make the applet work?

    I have developed an applet to capture the video stream from a Logitech (usb) camera and display it in the applet. This is a clone of another program that captures a network camera video stream and does the same thing.
    I am using JBuilder 2005 and when I run the applet in the JBuilder applet viewer, it works fine, but not when I attempt to run it in the browser.
    In the network camera application, I was able to overcome this by signing the jar file and it would run in the browser.
    In the Logitech application signing the jar file does not work. I get the mesage that asks me if I want to accept the certificate, but it still does not initialize the camera.
    Since I can use it in the Applet Viewer, I have to assume that all the connections are set up OK.
    But the application fails when trying to get the capture device in:
    di = CaptureDeviceManager.getDevice(str2);
    I put the startup code in a thread and perform several iterations with a slight delay, suspecting that there may be a timing issue, but that was not the problem.
    This code also works in a stand-alone application version.
    The only thing I can think of is that there is some other connection or security issue that I am not addressing.
    Since signing the jar file works with network video streams, I have to think that there is something different between USB and network video streams, but I have no clue as to what it might be.
    Anyone have any suggestions?

    from the JMF readme file
    Security Note
    During the installation, you will be asked two security related questions:
    * Permit recording from an applet
    If you agree to this, JMF will allow applets to capture audio and video from the local capture devices. It is possible for a malicious hidden applet on a web page to quietly record sounds or video from your system and transmit the data back to a system on the internet. This is usually a risk only if you visit unfamiliar web sites.
    You can disable or enable this feature by running the JMFRegistry application (or choose Preferences from the JMStudio File menu), modify the setting in the User Settings tab and commit the changes.
    * Permit writing local files from an applet
    This is a greater security risk since a malicious applet can overwrite files on your hard disk without your knowledge. Enable this feature only if you need it for a specific application and are sure that you will not visit any possibly malicious web sites.
    You can disable or enable this feature by running the JMFRegistry application (or choose Preferences from the JMStudio File menu), modify the setting in the User Settings tab and commit the changes.

  • Why can't I make FaceTime to work?

    Hello --
    Maybe someone with more expertise than me could help me with FaceTime.
    Running OS X Yosemite (from a clean install).
    iMessages synch work very good. I receive a lot of messages during the day, and when I get home and turn my Macbook on, I see every message I received and replied to, and even the ones that I have deleted.
    But nothing happens with regards to FaceTime. I can make calls from the Mac, but when the iPhone rings and the Mac is on and in range, nothing happens. Not a single notification although I have set Notification Center to show alerts and sounds. Life if they could not establish a link between them. iPhone Cellular calls is set to on, and no further messages appeared.
    My Macbook is Handoff UNsupported. Handoff is set to off on the iPhone.
    Any ideas of what could be wrong? Is there a setting or a preference file I need to modify?
    Do I need to have FaceTime running in the background all the time in both my devices?
    This feature of being able to receive and make calls right up from my Mac is the one I was really looking forward to.
    Thanks a lot in advance!
    Mark.

    Can't give you an answer cos I have the same problem for a long time.
    Seems that no body has a solution for it. No help at all from Apple.

  • Why can't I make or receive calls but everything else is working fine.

    Why can't I make or receive calls but everything else is working fine?

    For that you have to talk to your carrier, what did they say?

  • Why can't I make a disk Image??

    getting Leopard tomorrow. system working great. plan to do an "upgrade installation". backed up all my files (106GB) to an external HDD. so I think I'm ready....
    question is - why can't I make a disk image of my "Macintish HD"?
    it starts to create the image but Disk Utility comes back and says "Unable to create disk0s2.dmg. Resource busy."
    I thought it might be a good idea to do a "complete system backup" just incase something goes wrong with the "upgrade installation".
    Since it didn't let me, I just dragged-n-dropped the Users folder to the external HDD, so I got my files backed up.
    curious why I can't make a disk image of my WHOLE HDD. can someone enlighten me....
    thanks, chris

    made changes in the iDVD, don't know what I did but it worked

  • Why can I not make a secure connection using safari?

    why can I not make a secure connection using safari?

    I have the exact same problem.  I just updated to 4.3.3 and now my inline controls on my earphones don't work.  The earphones work, but the controls don't.  It doesn't even recognize that there is a mic attached.  Even with the earphones in it still uses the built in mic. Why did my controls stop working?!

  • Why can I not make a call or receive a call using my earbuds/mic?

    Why can I not make a call or receive a call using my earbuds/mic?

    I have the exact same problem.  I just updated to 4.3.3 and now my inline controls on my earphones don't work.  The earphones work, but the controls don't.  It doesn't even recognize that there is a mic attached.  Even with the earphones in it still uses the built in mic. Why did my controls stop working?!

  • Why can't I make a playlist from the vdownload app since installing Iso7

    Why can't I make a playlist from the vdownload app since installing iso7

    So where do you do when apps just seem to stop working, particularly when you paid for an app.  I have now had then happen twice and there seems to be very little customer care from Apple when this occurs.  Just a note to let customers know that an app will no longer work or who to contact would be great. Thanks, Kevin

  • Why Can't I make a New Graphic Style in Illustrator CC?

    Why Can't I make a New Graphic Style in Illustrator CC?
    Nothing works. I've tried several options to make a Graphic Style. Even tried to copy another and change it.
    Kindly Regards
    Christina Saugmann

    Hi
    It was a simple fillcolor with opacity. It is as if it doesnt respond. I can clic the symbol for a new layer, but nothing happens. I've dragged the style from appearance-box, to symbol for new style - Nothing. I've dragged the box directly to Graphic Styles - again - nothing. I've tried with my CS4 that worked. But not in CC.

  • Why can't I make a call? Bills paid

    Why can't i make a call?  All morning my phone worked and now when I try to call even you I get told I am being sent to an outside operator where I can pay to make a call with my credit card.  I also pay for this service!!!!  Why can't I make a simple call are your towers down? I am in Klamath falls or.

        Charise820,
    We are dedicated to offering you the best possible service where you need it most, It does concern us to hear that the service has not be the best lately but will work to get this resolved as soon as possible. I can see that this happened yesterday but I do want to check to see if your service has been restored? Are you not able to access the internet or send and receive text messages? Please keep us posted.
    CandiceH_VZW
    Follow us on Twitter at @VZWSupport

  • HT204053 Why can't I make a purchase on my iPad

    Why can't I make a purchase on my iPad

    Most of the people on these forums, including myself, are fellow users - you're not talking to iTunes Support here.
    What happens when you try to buy them, does the 'buy' button not work, do you get any error messages ... ?, we won't know what is/isn't ha
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • A Playlist idiot. Why can't I get this to work?

    In iTunes I have music Playlists set to shuffle (blue double arrow button) and audio books Playlist set no shuffle. I have been unable to get my iPod to follow these settings. A suggested work around is to use the iPod Settings to set the shuffle function to "songs" when playing music and then switching to “off’ for audio books. There has to be a better way. How do I set the Playlists on my iPod to function the same as it does on iTunes?

    LeftyLucy,
    Using your process are you able to set your iPod to shuffle then listen to the audio book without it shuffling the chapters? I have tried your suggestion with the iPod setting set to shuffle and the chapters shuffled. This is the issue from my original post. I want to listen to music with the shuffle function and listen to audio books (no shuffle) without having to change the settings every time I switch.
    Keep in mind that is not a purchased audio nor a imported book.
    Using a tip from the following post:
    Tom Graves, "A Playlist idiot. Why can't I get this to work?" #11, 05:26pm Sep 28, 2005 CDT
    I have attempted to make the audio book file into an authenticate file but that did not help.

  • HT201304 Why can I not make purchases on casino now that I have installed iso7

    Why can I not make a purchase on the game casino now that I have installed iso7?  I can make purchases in other apps

    I'm having this problem on my iPhone and iPad when trying to purchase

  • Why can't i get it to work on any of my MAC products?

    why can't i get it to work on any of my MAC products?

    If you mean that your iPad is not appearing in iTunes then have you got the latest version of iTunes (it needs version 10.2 +) and is your OS X version 10.5.8 + ? There is further troubelshooting help here http://support.apple.com/kb/TS1591

  • Why can't I get Siri to work on my iPad !

    Why can't I get Siri to work on my iPad ! Does it not come with $ 450 model I have ?

    Sorry but when they made siri it was with iPad 3 you see I have an ipad 2 aswell and I thought that siri wasn't working then I too king it back to Argos and they told me that siri isn't supported on the iPad 2 only ipad 3 and newer

Maybe you are looking for

  • Read only access in MIIS

    Experts, How to provide read only access in MIIS? Thanks, Manohar

  • How to "protect" a square from being erased in a Java Paint application?

    Hi. I have created a paint program in Java (something like MS Paint) and I have a problem. In order to show the current colour the user is using I have drawn a square on the screen. But when I select the eraser tool and try to erase the square, it ca

  • Help with quicktime please!!

    Hi,Im having trouble running quicktime on my pc,when I try to watch quicktime related content I get things like error inside plug-in contained on the page,plug-in did not initialize properly,quicktime failed to initialize,error #0,make sure its prper

  • Battery life is minimal - should I have it looked at?

    16GB iPod touch, bought back in February, exact same day as the 32GB came out I've had no end of little annoying things wrong with it: stuck pixel right in the center of the screen, safari randomly quits, volume control acts really oddly when I touch

  • Fetching data from java system

    Hi All I want to fetch the data from Java application into my SAP system how can i fetch that . Thanks and rgards Saurabh Khanna