Applet in the web, what's needed?

Hi everybody!
I'm new in Java programming but I've began with great enthusiasm.
I've done a silly applet that will be to control a RCX of Lego in the future.
But my question is, what is needed to see applets? The Java Run Time Environment? The Java Virtual Machine? I'm a bit lost because for example Microsoft Internet Explorer has some options like Microsoft VM for Java, but applets don't run with this options enable. Or perhaps only j2sdk1.4.1_01, for example, is needed?
I see my applet in my PC but not in others.
Please, help me.
Anyway, thank you for this forum

If you're writing applets for jdk < 1.1.8 you'll have no problem with using it in different browser since most of them support the early versions of java without the need to install something.
In case you're using Swing-components or the like (of JDK >= 1.2) you'll need to install the java-plugin for the browsers in order to display them correctly or even be able to display them.

Similar Messages

  • Lost my phone. reset my icloud password, now its asking me to sign in from the phone before i could use it on the web, and i need to access my icloud account from the web. what shall i do ?

    lost my phone. reset my icloud password, now its asking me to sign in from the phone before i could use it on the web, and i need to access my icloud account from the web. what shall i do ?

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • Ost my phone. reset my icloud password, now its asking me to sign in from the phone before i could use it on the web, and i need to access my icloud account from the web. what shall i do ?

    i have lost my phone. reset my icloud password, now its asking me to sign in from the phone before i could use it on the web, and i need to access my icloud account from the web. what shall i do ?

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • Lost my phone. reset my icloud password, now its asking me to sign in from the phone, and i need to access my icloud account from the web. what shall i do ?

    lost my phone. reset my icloud password, now its asking me to sign in from the phone before i could use it on the web, and i need to access my icloud account from the web. what shall i do ?

    The Apple ID and Password that was used to Activate the iDevice is required
    If you do not have that information you will not be able to use the Device.
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • Why Can't I view applets on the web

    I cannot view any applets on the web. What is wrong?

    You need the java plug-in see:
    http://java.sun.com/products/plugin/index-1.4.html

  • I have iphone 3gs and last days i made upgrade 5.01, but i dont know that this version is not avaliable in brasil yet. than my iphone 3gs 32 gb no more find the wide and it be seaching the sinal. what i need to do to back to before situation. thanks a lo

    i have iphone 3gs and last days i made upgrade 5.01, but i dont know that this version is not avaliable in brasil yet. than my iphone 3gs 32 gb no more find the wide and it be seaching the sinal. what i need to do to back to before situation. thanks a lot

    iOS 5.0.1 has been out for a couple months, if not longer. 
    There was no delay in releasing it in any country.
    So what is your issue? 

  • Is resetting the PRAM what I need?

    After a power failure, my Power Mac (G4 1.25 GHz Dual Processor) will not go to sleep on command even though the System Preferences are set correctly. Other symptoms of the problem include getting the spinning wheel when I try to modify the System Preferences and it won't recognize my digital camera at ll when I plug it into any USB.
    Is resetting the PRAM what I need to do? Is the only way to do it by going into the actual computer and pressing the button?
    Right now I am in the middle of summer classes for school. Am I risking ANYTHING at all by resetting the PRAM? I CANNOT be without this machine right now.
    Help is much appreciated. Thanks!

    You said correct the "beachball"? What did you mean by that?
    Because you said
    Other symptoms of the problem include getting the spinning wheel when I try to modify the System Preferences
    So, spinning wheel = beachball. Because you had a power failure, there is possibly damage to the hard drive directory, thus the spinning wheels.
    How do I start up from the OS install disk?
    Insert the disc into the optical drive, restart the machine, and hold down the C key on the keyboard while starting. In the window after you select the language, in the Menu Bar/Utilities, open Disk Utility. In Disk Utility, select your start up drive, and then select "Repair Disk". When done, close Disk Utility, and click Restart from the Menu bar. The machine will return to normal boot.
    Do I do that before or after resetting the PMU?
    No particular order, but you could run the Disk Utility first.
    If after running Disk Utility the sleep command still doesn't work, the reset the PMU.

  • Help with publish an applet on the web

    I have a few java programs I would like to share with family and friends. I recently learned to convert my applications to Applets, now I am looking to post these on my blog. I know how to embed the applet into an html, and did successfully in my PC. However, when trying to do the same online, I run into problems:
    -Cannot find a server where to upload the applet. Google doesn't seem to do it, and I tried some others without luck.
    -I upload the .class files of my applet to box.net, and copy the URL. In the html of my blog, I use the <applet code = "someURL", but the applet fails since it is unable to find any other class.
    I know that applets are common throughout the web, and that it should be within the reach of an individual programmer like myself (with no budget). If someone who has published an applet could give a short summary of the process, I would much appreciate.
    Specifically, I am looking for:
    Which file hosting service did you use?
    Did you upload as a jar file, or the .class files individually as I did?
    Did you have to pay for the service?
    Thank you

    >
    I have a few java programs I would like to share with family and friends. >Perhaps launching the programs using [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] (JWS) will fulfil the requirement. A launch using JWS is generally simpler than embedding an applet in HTML. (Note that JWS can launch both (J)Frame and (J)Applet based apps., though a frame works/looks slightly better).
    JWS can launch apps., from a link in a web page..
    As an aside. If you do not intend to use JWS please state that, and explain why.  This is much easier to explain for JWS launch.
    >
    ..I recently learned to convert my applications to Applets, now I am looking to post these on my blog. I know how to embed the applet into an html, and did successfully in my PC. However, when trying to do the same online, I run into problems:
    -Cannot find a server where to upload the applet. Google doesn't seem to do it, and I tried some others without luck.>Google can certainly host JWS apps., check out some of the examples [by Dr John Matthews|http://sites.google.com/site/drjohnbmatthews/], one example of note is the [alpha-composite demo|http://sites.google.com/site/drjohnbmatthews/composite].
    OTOH, I do not know if his site is 'free' or 'paid'. Perhaps Google's free sites limit what you can upload.
    >
    -I upload the .class files of my applet to box.net, and copy the URL. In the html of my blog, I use the <applet code = "someURL", but the applet fails since it is unable to find any other class. >..hmm. Very insufficient detail there. What speaks volumes instead is if you link to the broken applet page.
    But I will comment this. The code attribute should not be any URL. It should be the 'fully qualified class name'. If the applet is trying to get classes from another site, it would do that by specifying a codebase.
    >
    I know that applets are common throughout the web, and that it should be within the reach of an individual programmer like myself (with no budget). If someone who has published an applet could give a short summary of the process, I would much appreciate.>If you can find a place to host the applet itself, but want the HTML elsewhere, try this experiment..
    I have a demo applet at my site, explained/linked in [http://pscode.org/test/docload/|http://pscode.org/test/docload/]. It uses the applet at [http://pscode.org/test/docload/docload.jar|http://pscode.org/test/docload/docload.jar]. The test is to try and load that applet at your site.
    So try this in your HTML.
    <APPLET
      CODE="org.pscode.eg.docload.DocumentLoader"
      ARCHIVE="docload.jar"
      CODEBASE="http://pscode.org/test/docload/"
      WIDTH="600"
      HEIGHT="500"
      ALT="<P>This applet requires Java to be enabled!  Check the browser options or see your SysAdmin.">
    <P>This page requires Java!  Get it free from <A HREF='http://www.java.com/'>www.java.com</A>.</P>
    </APPLET>(That is actually the copy/pasted applet element from the applet page at my site, but with the codebase changed.)
    >
    Did you upload as a jar file, or the .class files individually as I did?>Rarely I use loose class files with applets, but it can be a hassle if they are in packages. It might be that cross-site access requires archives, but JWS certainly requires archives.

  • Can applet close the Web browser window it embedded in?

    I know that a link or button in the Web browser can close the browser window. But I really don't if the applet can also do it.

    This site does have a search function you know, and if thats too much trouble there is google:
    http://www.google.com/search?q=site%3Asun.com+%22java+to+javascript%22&ie=UTF-8&hl=nl&lr=
    This should point you in the direction of a thing called JSObject
    Here is some code since I have this in my archive anyway:
    the html file:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="0" width="0" >
            <param name="code" value="someApplet.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:someApplet.class"
                    height="0" width="0"
                    >
            </object>
            <!-- <![endif]-->
          </object>
    <LABEL id="lblOutputText">This text is the HTML text </LABEL>the applet:
    // new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" someApplet.java
    // since jaws.jar does not exsist anymore
    // in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
    // you need win.eval("window.close();"); // to close the window. if the current window is not a popup
    // opened by a parent with window.open than the user will get a waring, your next question probably will
    // be "can I stop this warning" and the answer is simple: NO
                 JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
                 textBoxLabel.setMember("innerHTML", "<center><h1>Some text</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }

  • Help with Deploy javaFx applet to the web, please

    I am new to JavaFx. I have a difficult time to deploy it to the web as an applet. Java console indicates that my jnlp file is not available. Here is what I have done:
    1. In the javaFx project (netbeans project), I put together a small application following the tutorial (app). Run as standard desktop app, it works fine. Run as applet, everything is ok except no images.
    2. In another web project (also netbeans project), I add the javaFx project generated app.jar to the web-inf/lib folder, modify the index.jsp to include a javaFx project generated app.html file and put it at the root of the web application. I also put the favaFx project generated app_browser.jnlp file in the same folder as index.jsp and app.html. Later on also in the web-inf/lib with app.jar. No matter where i put this app.jnlp file, I only see the spinning java logo. Java console states that jnlp is not available.
    this is in my index.jsp: <jsp:include page="app.html" />
    this is in my app.html:
    <h1>app</h1>
    <script src="http://dl.javafx.com/1.2/dtfx.js"></script>
    <script>
    javafx(
    archive: "app.jar",
    code: "com.app.Main",
    name: "app",
    width: 950,
    height: 600
    </script>
    this is in my app.jnlp
    <jnlp spec="1.0+" codebase="http://localhost:8080/app" href="app_browser.jnlp">>
    <information>
    <title>App</title>
    <vendor>Me</vendor>
    <homepage href="http://localhost:8080/app"/>
    <description>My App</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
    <jar href="WEB-INF/lib/app.jar" main="true"/>
    <jar href="WEB-INF/lib/commons-lang.jar"/>
    <jar href="WEB-INF/lib/commons-io.jar"/>
    </resources>
    <applet-desc name="app" main-class="com.sun.javafx.runtime.adapter.Applet" width="950" height="600">
    <param name="MainJavaFXScript" value="com.app.Main"/>
    </applet-desc>
    <update check="background">
    </jnlp>
    What did I miss here? Please help so that I can present this app to my boss and we can use javaFx to build our next application. Thank you very much.
    qding

    Welcome to the Sun forums.
    It would be worth checking the deployment launch file (JNLP) using JaNeLA *(<- link).* As the other poster mentioned, the file is invalid (OK - not well-formed, but possibly also invalid after that is fixed). Also, JaNeLA should warn you that the resources in WEB-INF are not accessible.
    Please do not repost(1) questions in future.
    (1) Post a question twice, or more.

  • The web says I need to get the upgrade version of Firefox as no longer will be protected. Then When I tried to do so It is said that you don´t have a version compatible with my Mac

    When I open my Firefox browser it says I need to upgrade it. Then when I do so, and download the necessary things, It is said that i have no a compatible version with firefox. I have a Mac, version Os X 10.4.11....So How Could you provide me with an answer according to my need? Please, I need this help as today, I when to look for information and google asked me to write the character given in a box ...and supposely I am no longer protected against attacks from the web. Thank you.

    The Firefox 3.5.x branch has reached end-of-life and is no longer maintained.<br />
    You will no longer receive security updates.<br />
    You can update Firefox via "Help > Check for Updates" or download and install the latest Firefox 3.6.x.<br />
    Firefox 4 and later require at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • Is it possible to pass a string from an applet to the web site?

    Hi, everybody!
    Is it possible to pass a String from an applet to a web site (as a field value in a form, an ASP variable, or anything else). Basically, I have a pretty large String that is being edited by an applet. When a user clicks on the submit button, a different page will show up which has to display the modified string. The String is pretty large so it doesn't fit into the URL variable.
    Please, help!
    Thank you so much!

    Why do you want to do this in Java?
    Javascript is the correct language for these type of situations.
    for instance:
    in the head of your html document:
    <script language=javascript type="text/javascript">
    createWindow(form){
    if(form.text.value!=""){
    newDoc = new document
    newDoc.write(form.text.value)
    newWin = window.open(document,'newWin','width=200;height=150')
    </script>
    in the body:
    <form onSubmit="createWindow(this)">
    <p>
    Enter a String:<input type=text size=30 name="text">
    </p><p>
    <input type=submit value="submit"> 
    <input type=reset value="reset">
    </p>
    </form>

  • Load oracle jdbc driver error when run applet via the web

    Hi All,
    I have built an applet which connect to database via jdbc thin driver. It works fine when I run it through the applet viewer, but got a problem when run it through the web.
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    I am using jdev9i 9.0.4 and jdk 1.4.2. The jdbc version is 9.0.1
    I have added both the classes12.zip and ojdbc14.zip in the class path and also pack them together with my applet class. Here is the code
    public class MyApplet extends Applet
    implements Runnable
    public void start()
    if(theThread == null)
    theThread = new Thread(this);
    theThread.start();
    Retrieve R = new Retrieve();
    this.MyMap = R.retrieveDesc();
    public class Retrieve
    public Retrieve()
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn=DriverManager.getConnection("jdbc:oracle:thin:@babyruth.wvu.edu:1703:devdw", User, Password);
    conn.setAutoCommit(true);
    connectStatus = true;
    public HashMap retrieveDesc()
    return map;
    I have also built one HTML page NewApplet like this
    <HTML>
    <HEAD>
    <TITLE> My New Applet</TITLE>
    </HEAD>
    <APPLET CODE="MyApplet.class" CODEBASE="menu" ARCHIVE="MyApplet.zip" WIDTH=300 HEIGHT=485>
    <!--General Settings-->
    <param name="bgcolor" value="255,255,255">
    </HTML>
    Any advice is highly appreciated
    Mei

    Sir,
    Well you haven't "packed" them correctly. Why don't you just add the driver bits to the soucebase tag? or something like that anyway...
    Sincerely,
    Slappy

  • [Cisco FAQ] - If I'm re-IPing the DNCS, what changes need to be made on the USRM?

    What is the procedure to re-IP the USRM?

    SOFTWARE VERSION: All USRM software releases.
    If you’re just changing the IP address of the dncsatm host on the DNCS you only have to
    change 2 things on the USRM:
    1. The "dncsatm" host entry in /etc/hosts has be modified to reflect the new IP address of
    the dncsatm interface on the DNCS.
    2. The /opt/usrm/ConfigFiles/SnmpAgent.txt file must be modified if the USRM is to run in
    "supervised" mode, meaning that the DNCS will provision the USRM via SNMP.
    However, if you change the IP address of eth0 on the USRM, the update_persistdata script
    should be used to update the “creator IP” field embedded in all of the persistdata files
    on the USRM to contain the new IP address of eth0 on the USRM. So, to change the IP
    address of eth0 on the USRM, you will need to:
    1. Edit IPADDR, NETMASK and GATEWAY fields in the
    /etc/sysconfig/network-scripts/ifcfg-eth0 file.
    2. Modify the Primary USRM’s persistdata files with the update_persistdata tool and the
    new IP address of eth0.
    3. If you also change the IP address of eth1 on the USRM, you just need to edit the IPADDR
    and NETMASK fields in the /etc/sysconfig/network-scripts/ifcfg-eth1. The IP address of
    eth1 is not the “creator IP”, the IP address of eth0 is.
    4. If you change the IP address of eth0 on the USRM, you must also change the IP of the USRM in the VASP List on the DNCS. Actually the IP address field in the VASP List is not editable, so you need to note the following, delete the VASP entry, and add it back with the same VASP ID and the new IP address:
       - VASP Type: SDV Server (even if the USRM is a VSM, choose VASP type "SDV Server")
       - VASP ID: x
       - IP Address:
       - Status: {Out of Service | In Service}

  • How to download an applet from the web sites?

    There are few applets I saw online that I would like to download for my project. But I don't know is it to be downloaded. Is it by copying the HTML code & embeded into the HTML coding? Or can I just view it with normal applet viewer? Thanks! God Bless!

    Try to trick the page (take care at the copyright)
    Consider the address is www.address.com/dir1/pag1.html
    Check the source of the page and check the link to the applet.
    Consider the link:
    <applet code=dir2/appletName.class ....
    Then enter into the browser: www.address.com/dir1/dir2/appletName.class and you will download the applet.
    The html file you can download using right-click - view source
    Good luck

Maybe you are looking for

  • How much time rfc have to run in portal

    hi all i start to buield rfc to<b> portal</b> and i wont to now what is the <b>limit</b> of time that the function have to run ,i now that the function for the portal have to run very fast. i heard that if the function run to much time maybe u have t

  • What is the role of PrepareForDML() in ADF JDEVELOPER

    Hi All, i am using Jdeveloper 11g ver-11.1.1.5.0 I want to know that what action we can perform with PrepareForDML() in ADF ? Please tell me the answer thank you.

  • How Do I get My USB backup drive to wake after iMac wakes from sleep?

    I backup using Time Machine to a USB portable drive. When my iMac goes to sleep and wakes later, the drive icon is still on the desktop but it is not recognized by Time Machine as an available drive for backup. I have to shut off the drive and turn i

  • How can I add sound to a single slide?

    I would like to add sound to a single slide so that it plays while the slide is being shown. Is there a way to do that in Lightroom 5?

  • Adding Keywords to Faces ?

    Hi: Is there a way that I can add a keyword to a group of pics that I have already confirmed? Let's say Faces recognizes 3500 pictures of Jessica. Is there a way that I can select all of this and add the the Keyword "Jessica"? Maybe an external plug-