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.

Similar Messages

  • 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.

  • HT201263 My iPad 1 can only be updated to iOS 5 yet most apps run on iOS 7. Why can't I make the update on my iPad 1? Is this so I buy another iPad 2+? Now why would I want to buy something that will be obsolete in a few years?

    My iPad 1 can only be updated to iOS 5 yet most apps run on iOS 7. Why can't I make the update on my iPad 1? Is this so I buy another iPad 2+? Now why would I want to buy something that will be obsolete in a few years?  I really want to purchase an Live TV plan yet I need iOS 7 to run most TV apps.
    Can Apple tell me why my iPad 1 is obsolete?
    g

    It's not obsolete as much as the first gen simply lacks the power to run the newer operating systems. IT doesn't have enough RAM. If someone managed to hack it to get iOS 6 or 7 on there they'd just have a slow, boggy and unresponsive device. (think putting windows 7 on an old laptop.
    Unfortunately software moves faster than hardware. Every thing goes obsolete. I've had my ipad 2 for two and a half years now and I know it only has so much longer left to it too. Just the 'joys' of advancing technology.

  • Why do i constantly get cut off on calls.  I've had this problem with my 3GS, my 4S and now my iPhone 5.  When the core functionality is Phone, i.e. the ability to talk, why can't Apple make the iPhone function as a Phone?  is there an App for that !!

    why do i constantly get cut off on calls.  I've had this problem with my 3GS, my 4S and now my iPhone 5.  When the core functionality is Phone, i.e. the ability to talk, why can't Apple make the iPhone function as a Phone?  is there an App for that !!

    Well, since you've had the same problem, with three different phones, that all use different size sim cards, it seems pretty obvious the problem is with your carrier/coverage & nothing to do with your phone or sim card.

  • Why can't I run the applet in jdev2.0?

    sir:
    After I installed the jdev2.0 beta,I create a applet through
    wizard,but when I run the applet ,I always occured such error:
    "createprocess failed for appletviewer windows nt error #5" ,and
    I run the applet in the IE4.0,get the other error:"applet can't
    instantialed",why ,please help me!
    null

    This problem has already been encountered by others.
    So, I will simply paste the answer.
    Windows NT error #5 is ERROR_ACCESS_DENIED. I'd suggest you look
    at who ownership and protection of the exes and dlls in your
    installation of jdeveloper.
    You saved my life!
    I have no idea, what happened with my NT setup, I did a normal
    setup, there is only one user for the NT, with admin rights.
    Anyhow, I'm not an NT expert and it seemed to be quite
    difficult to find the offending files with wrong permissions.
    So I took the lazy solution, selected JDev home directory and
    changed the permission of all files and all subdirectories to
    "full control for Everyone". That cured the error.gang lee (guest) wrote:
    : sir:
    : After I installed the jdev2.0 beta,I create a applet through
    : wizard,but when I run the applet ,I always occured such error:
    : "createprocess failed for appletviewer windows nt error #5"
    ,and
    : I run the applet in the IE4.0,get the other error:"applet can't
    : instantialed",why ,please help me!
    null

  • Why can't you make the bookmark toolbar visible by default?????

    I went to organize my bookmarks and there is no toolbar. Now, you say it is hidden by default. That's crazy. Anyway, I can't follow the instructions. There is no Firefox button to click. There is no "options" option anywhere.
    I can't even set my default options for applications, or the Internet. That's gone too. Will you please ;make these helpful tools VISABLE BY DEFAULT! If not, why not?

    Thank you very much, Car-el. If others had told me this, the problem would have been solved three days ago! However, I wanted to rename a folder, and I don't see that this is possible. I would think that after one goes to the "Show All Bookmarks" one could change the name in the "folder name" text box and it would work, or right click on the actual folder one wants to rename and the pull down would have that option. Not so for either here. So, my problem is still not solved. Oh, well.

  • OPINION WANTED: Why can't Sun make the setBounds more meaningful?

    Hi,
    I am wondering why Sun doesn't add some brains to the setBounds method. I bring this up because of my current situation.
    I have two panels, A & B. A is added to B, and A can be dragged around "on top" of B. But I can not allow the user to drag A out of the bounds of B. so I have to do all this checking to make sure it doesn't happen. It would be much simpler if the A panel could know what the size of its "playground" is.
    Doing something like this would be nice,
    A.setPlayground(B.getBounds());then as A is dragged around, it knows what its "playground" is and knows that its own bounds cannot not leave the "playground". But currently, there is no such implementation, so I would basically have to create my own JPanel class, and include this functionality...which I wish Sun would implement.
    Anyone else think this is a good idea or worth while to do? Whats your opinion?
    Thanks.

    Ok, that is basically doing the same as rect.contains(rect) .....and instead of creating new rectangles i could just do this:
    if (rectangleA.contains(panelB.getBounds())) ...However, a problem still occurs that a user could drag the panel quickly, and its location gets set so that it is no longer "contained" in rectangleA.
    if rectangleA's bounds are [0, 0, 200, 200] the panelB's bounds could get set so that its bounds are [200,y,w,h] ....so u can see the x value is at the max of rectangleA's bounds....so when i try to do rectangleA.contains(panelB.getBounds()) it fails....so to fix this I have to do this:
    if ((panelB.getMinX() < 0) ||
                                           (panelB.getMinY() < 0) ||
                                                 (panelB.getMaxX() > rectangleA.getMaxX()) ||
                                                 (panelB.getMaxY() > rectangleA.getMaxY())) {
                                      temp.setLocation(oldLocation);
                                 }i wish i didnt have to do all that checking like that.

  • 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 does the airplay symbol not appear on the top left of my imac i bout this computer this august and i bought the apple tv yesterday?? what can i do to make the airplay work??

    why does the airplay symbol not appear on the top left of my imac i bout this computer this august and i bought the apple tv yesterday?? what can i do to make the airplay work??

    Open  > About this Mac and see Version. If it's 10.7.x, read > http://www.apple.com/osx/uptodate

  • 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 do i have to keep clicking my left mouse button to make the program work it just stops and if left click it starts working

    Why do i have to keep clicking my left mouse button to make the program work it just stops and if left click it starts working. I'v only just started to use this program and It's no good at all if I go to a website and click a button I have to keep clicking it to finish what its doing.

    hello jeffsprig, can you try to replicate this behaviour when you launch firefox in safe mode once?
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    multiple other affected users have reported that this was an issue caused by malware on their pc. please run a scan of your system with [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner] and the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes].
    [[Troubleshoot Firefox issues caused by malware]]

  • Why can't I use the landscape feature for iPhone 5? It only works in limited apps. I feel as though I wasted my money since I prefer to use my phone in landscape mode.

    Why can't I use the landscape feature in all of the apps? It seems like a waste of money since I prefer to use the landscape feature.

    It is up to the app developer to decide if the app should work in landscape mode or not. This is also true on Android phones, by the way.

  • I have an Airport Extreme Base Station and have recently upgraded to Mountain Lion. Now airport utility won't work with my base station so I bought a Time Capsule. For the life of me I can't make the substitution work and only see a blinking amber light.

    I have an Airport Extreme Base Station and have recently upgraded to Mountain Lion. Now airport utility won't work with my base station so I bought a Time Capsule. For the life of me I can't make the substitution work and only see a blinking amber light. Can anyone who has made this change offer some advice?

    apikoros wrote:
    The Utility transferred all of the AE's settings, so I still have to change the password, which leaves me with only 2 other questions, I think:
    1)  I assume it's just a matter of using the Utility, entering a stronger password and checking for it to be remembered in Keychain Access.  But do I have to  change the password for each individual unit-- the TC, the Extreme and both Expresses-- or will changing it just for the TC alone work for the entire network?
    Resetting the password you will need to do for each device... the utility cannot even see those old units.
    So you will have to do it for each one.. think it through.. because as you change passwords the others will lose connection.. so start from the express which are wireless extending .. change those first.. and go back up the chain.. as each one changes it will drop off the network.. until you reach extreme and change that. Then you might need to reboot the whole network to get everything talking again. If something goes wrong.. just pluck that one out of the mix and plug in ethernet.. reset and redo the setup. That is my preferred method anyway.. do everything in isolation one by one. By ethernet and then nothing goes wrong.
    2)  Who's the treasonous SOB who spilled the beans to you about the ICBM in my back yard?!?
    N.Korean hackers.
    [Edit] Whoops-- one more question:  I want to partition the TC's disk, but Disk Utility doesn't see it.  What do I need to do?
    You cannot partition a network disk. And apple provided no tools for it in the TC itself. You can pull the disk out and partition it but that voids your warranty. (although done with care who is to know).
    Look at Q3 here.
    http://pondini.org/TM/Time_Capsule.html
    Mixing TM and data on the TC is worth planning carefully. They don't necessarily sit happily together.

  • Why can't I make a purchase from my new IPod using a new credit card which is different from the one registered with my apple account ?

    Why can't I make a purchase from my new IPod using a new credit card which is different from the one I have registered with iTunes before ?

    You can only use one credit card to one Apple ID.

  • Why can't I make any calls on facetime, the call drops after saying connecting.

    Why can't I make any calls on facetime, the call drops after saying connecting for a few seconds. I'm using an iphone 5, 32 GB on IOS 6.0.1 over 3G network in Muscat, Oman. Just to be clear, I was able to make facetime call in Muscat about a week ago.

    If this user to user forum could not help you with your issue, contact Apple to get your Device serviced or looked at.
    http://www.apple.com/contact/

Maybe you are looking for

  • Itunes wont download the io6 update, keeps telling me the network connection has timed out - when it hasnt

    Itunes will not update ios6. it downloads most of the way then i get a message which says network timed out...it hasnt. please help

  • Multiple Select boxes in one form

    Does anyone know if it is possible to have multiple select boxes inside one form? I have six different select boxes that are generated by six separate queries. The action page for all six select boxes is the same so I just want one submit button so u

  • Archivelog mode

    I'd like to make sure of the following: when the database works in noarchivelog mode it does not matter what's the value of log_archive_start parameter whether it is true or false .I mean if log_archive_start in this case is set to true it won't arch

  • Lightroom lost my photos after swapping external hard drives out.

    I moved everything I had on an external hard drive to a new external hard drive.  I then went into Lightroom, and used the "Find Missing Folder..." option, and restored my photos.  After doing this, I lost all of my edits.  The photos are completely

  • ctrl: tags in template files.

    Hi, I tried adding the following in the tabBar.uit. <tabBar selectedIndex="${ui:defaulting(uix.pageProp.tab, '0')}"> <contents childData="${source.rows}"> <link text="${uix.current.firstName}" > <boundAttribute name="destination"> <ctrl:pageURL name=