Applets on a tripod page

I'm trying to get a really simple Applet to work on my lycos / tripod homepage. It doesn't seem to work. I haven't published any Applets before, so I might be missing something obvious. Can someone give me some pointers.
Info:
Its a single class JApplet thing.
Doesn't do anything complicated.
I get a security exception when I run from the tripod site although it runs fine on my own machine.
This is the top line exception I get
java.security.AccessControlException: access denied (java.net.SocketPermission members.lycos.co.uk resolve)
Tripod won't help me :(
So can you .....
Cheers,
Dave.

Here is the code, just asks you some questions and gives you diff answers depending on score. Pretty simple I'd say.
import java.awt.*;
import java.applet.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.color.*;
public class Hosometer extends JApplet {
     int total;
     int question;
     JTextArea q;
     JButton one;
     JButton two;
     JButton three;
     JButton four;
     JButton five;
     String [] questions = { "Q1",
                             "Q2",
                             "Q3",
                             "Q4",
                             "Q5",
                             "Q6",
                             "Q7"};
     public void init() {
  setBackground(new Color(5866895));
  total = 0;
     q = new JTextArea(7,30);
     q.setEditable(false);
     q.setBackground(new Color(5866895));
  one = new JButton("1 (bad)");
  one.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
      next(1);
  two = new JButton("2");
  two.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
      next(2);
  three = new JButton("3(moderate)");
  three.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
      next(3);
  four = new JButton("4");
  four.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
      next(4);
  five = new JButton("5 (good)");
  five.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
      next(5);
  JPanel bt = new JPanel();
  JPanel main = new JPanel();
  bt.setBackground(new Color(5866895));
  main.setBackground(new Color(5866895));
  bt.add(one);
  bt.add(two);
  bt.add(three);
  bt.add(four);
  bt.add(five);
     q.setText(questions[0]);
     main.add(q);
     main.add(bt);
     getContentPane().add(main);
     public void next(int score)
        total = total + score;
        question ++;
        if(question<questions.length)
          q.setText(questions[question]);
        else{
          one.setEnabled(false);
          two.setEnabled(false);
          three.setEnabled(false);
          four.setEnabled(false);
          five.setEnabled(false);
          int pct = (total * 100) / (35);
          if(total < 8)
            q.setText("");
          else if (total < 16)
            q.setText("");
          else if (total < 22)
            q.setText("");
       else if (total < 28)
         q.setText("");
       else if (total < 32)
          q.setText("");
       else if (total < 35)
          q.setText("");
       else if (total == 35)
          q.setText("Answer1");

Similar Messages

  • Virus scan failed Error on deploying a web application having a jar file for calling the applet on the jsp page

    Hi,
    I have an applet application that i want to deploy on the Oracle cloud.
    So i have created a jar file for the applet application and i am using this jar to call the applet on a jsp page.
    But when i am delpoying my application on the java cloud, its giving me the below error:
    2014-10-28 03:16:41 CDT: Starting action "Virus Scan"
    2014-10-28 03:16:41 CDT: Virus Scan started
    2014-10-28 03:16:49 CDT: ----------------------------------------------------------------------
    2014-10-28 03:16:49 CDT: File Scanned: "Application7.ear".
    2014-10-28 03:16:49 CDT: File Size: "106698122".
    2014-10-28 03:16:49 CDT: File Status: "INFECTED".
    2014-10-28 03:16:49 CDT: ----------------------------------------------------------------------
    2014-10-28 03:16:49 CDT: Virus scan failed.
    2014-10-28 03:16:49 CDT: "Virus Scan" complete: status FAILED
    Can't we deploy any application having applet or swing component's onto the cloud?
    Or do we need to request for any extra permissions for the same?
    Thanks,
    Manoj

    I don't see applets mentioned in the supported features nor in the unsupported features so not sure if they are supported you would likely need to contact the operations team to confirm.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Java Applet in a HTML page: failing with PLS-00306: wrong number of args

    We are trying to use a Java Applet in a HTML page. as our system needs to be able to retrieve a predefined set of data from a third party system that uses Dynamic Data Exchange Protocol (DDE) and are encountering errors from APEX and in IE itself.
    We are using JavaDde from www.nevaobject.com that enables our Java applet to interact with Windows applications (Third Party System) using DDE.
    This functionality is currently used in our Web Form 6i application and we are trying to use the same in the new ApEx application.
    We are using ApEx version : 2.1 and actually aer encountering 2 problems:
    Problem 1: ApEx failing with PLS-00306: wrong number or types of arguments in call to 'ACCEPT'
    Problem 2: IE crashes if Applet used in a complex page with several regions (1 Context, 4 Report Regions, 2 level Tabs, Links)
    This problem does not occur in the page where there is only applet and one region. In the case of complex page the IE crashes if the page is reloaded
    Test scenario:
    1- Create a simple page with the HTML region.
    2- Define the Source of the above region as follows
    <OBJECT CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    CODEBASE="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#version=1,4,0,0"
    WIDTH="1"
    HEIGHT="1"
    ID="simpleApplet"
    NAME="simpleApplet">
    <PARAM NAME="code" VALUE="simpleApplet.class" >
    <PARAM NAME="archive" VALUE="simpleApplet.jar" />
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
    </OBJECT>
    3- Create a simple Java applet "simpleApplet" - for the test its enough if the applet will have just the init method printing out the mesage to the console
    4- Create a Submit Button (not redirect) in Region Header and create unconditional (do not set When Button Pressed property) Page Branch to navigate to another page (the page without the applet)
    6- Run the page and Submit -
    The error below is returned by the engine:
    In our case our applet is called ddeApplet - I do not know why is ApEx passing the Applet's ID down to the wwv_flow.accept method as a parameter
    Tue, 24 Jul 2007 08:15:39 GMT
    ORA-06550: line 7, column 2:
    PLS-00306: wrong number or types of arguments in call to 'ACCEPT'
    ORA-06550: line 7, column 2:
    PL/SQL: Statement ignored
    DAD name: rbdev2_ax
    PROCEDURE : wwv_flow.accept
    URL : http://castor:7778/pls/rbdev2_ax/wwv_flow.accept
    PARAMETERS :
    ============
    P_FLOW_ID:
    147
    P_FLOW_STEP_ID:
    500
    P_INSTANCE:
    6986070096861669560
    P_PAGE_SUBMISSION_ID:
    1005758
    P_REQUEST:
    CRASH
    P_ARG_NAMES:
    100380029717786501
    P_T01:
    147
    P_T02:
    101
    P_T03:
    5000044
    P_T04:
    1
    P_T05:
    S
    DDEAPPLET:
    Ddeapplet[panel0,0,0,1x1,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,1x1,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
    P_MD5_CHECKSUM:
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Oracle HTTP Server Powered by Apache/1.3.19 (Unix) mod_fastcgi/2.2.10 mod_perl/1.25 mod_oprocmgr/1.0
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=7778
    SERVER_NAME=castor
    REQUEST_METHOD=POST
    QUERY_STRING=
    PATH_INFO=/pls/rbdev2_ax/wwv_flow.accept
    SCRIPT_NAME=/pls
    REMOTE_HOST=
    REMOTE_ADDR=192.168.66.169
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=
    HTTP_CONTENT_LENGTH=661
    HTTP_CONTENT_TYPE=application/x-www-form-urlencoded
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    HTTP_HOST=castor:7778
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=ISCOOKIE=true; LOGIN_USERNAME_COOKIE=rdanko; ORACLE_PLATFORM_REMEMBER_UN=RDANKO:ngrb; WWV_FLOW_USER2=70FBB00945FE46B9; V6_AUTHENTICATION_COOKIE=70FBB00945FE46B9
    Authorization=
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=http://castor:7778/pls/rbdev2_ax/f?p=147:500:6986070096861669560:::::
    HTTP_SOAPACTION=

    "theArrow",
    It looks like whatever HTML you're including on your page is creating HTML input form elements inside the HTML form "wwv_flow". This form is posted to wwv_flow.accept, and of course, the PL/SQL procedure wwv_flow.accept doesn't know anything these additional arguments/form elements you're attempting to POST.
    Joel

  • Trying to add a simple applet to a web page

    Well, I was trying to add a simple applet to a web page(php nuke Home section), it didn't fin my applet, so I changed it and added it to a simple html file to make it as simple as I could get it.
    This is the code in the html file:
    <applet code="usblock.class" width="400" height="400">The browser doesn't support applets...</applet>The directory: www/usblock.html & www/usblock.java & www/usblock.class - As you can see the files are all in the same directory/folder.
    usblock.java code:
    import javax.swing.*;
    import java.awt.*;
    public class usblock extends JApplet
         public void init()
              JPanel p = new JPanel(new BorderLayout());
              p.add(new JLabel("Heisann"));
              add(p, BorderLayout.CENTER);
    }now as I open the html local on my computer, it workes. As soon as I open the usblock.html from my website, it doesn't.
    It gives me this error here:
    load: class usblock.class not found.
    java.lang.ClassNotFoundException: usblock.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 moreSo I thought it was that it couldn't find the .class file. Well, I went through the How To add applets that I found somewhere on sun.com. It had exactly the same as I had.
    Im figuring the problem is something easy and not hard to detect. But my eyes can't find it somehow. This is my second time trying applets, and I kinda forgot how I got it to work the first time.
    Im just glad for all the help I can get.
    Thanks a lot.
    LordSvae
    PS: Sry for the size of the post, but I'm not sure how much info I was supposed to put in here, so I thought the more the better, right? :S

    Hii,
    I doesn't know the solution but same kind of problem is come with me & I found that the problem is of Path i.e. you need to set a codebase attribute . For tempory solution what i do i simply copy the .class file in to html file dir.

  • How can i load a applet in a jsp page

    hi ,
    i am chiranjit , i am working in a jsp project . i want to load a applet in a jsp page.previously i had tried this one through <jsp:plugin> but when it goes in cross platform this page unable to load the applet from the serverside.
    if have any solution then pls send the solution in forum.
    thank you.
    chiranjit

    I never tried this... but doesn't the normal html <applet> tag work?

  • Passing input parameters from an applet to a JSP page

    Hello all,
    Yes, its one of these questions which I have tried to find a solution from the already large number of postings but with no luck. I'm still a novice to Java/JSP so bear with me.
    Consider this scenario.
    1. An applet which has two input boxes (say First name and surname). 2. These parameters will be passed to a JSP page (so the applet will call a JSP page).
    3. The JSP will have have the necessary logic (or actually a JavaBean will) to connect to a database and add a new record with these parameters (first name and surname).
    I also need to consider editing/updating the record in the database. So a JSP page will connect to the database, retrieving the required record from the database and then display the parameters back in an applet in two input boxes (first name and surname) to be edited and saved again.
    I have been able to develop a similar application using simple HTML forms to add and update records in a database so I'm not worried about the database connectivity simply the issue of passing parameters from the applet to the JSP page and vice versa (for edit/update).
    Once i've managed to do this with input boxes, I can experiment with the other input types radios, checkboxes, select etc.
    Many thanks in advance,
    Assad

    create an URL object with u'r specified link of the java class and send the parameters..write trhis action in any buttonclick event in u'r applet.

  • Applet started with blank page

    Hi all,
    I just installed OAS 10gr2 10.2.0.2 and after configure webutility
    when i try to open forms the browser gives me Applet started but the page is blank
    i am following the document 566628.1 and running the form utility "webutilconf" and there is no errors
    and every thing in its place
    but when i put baseHTMLjinitiator=basejini.htm .. not (webutiljpi.htm nor webutiljini.htm)
    the forms run ok but without webutil functions .. if i run webutil functions it gives me "oracle.forms.webutil.file.filefunctions" message
    any Idea
    by the way
    1.no planing for upgrade or transfer to jre
    2.we already have another server running perfectly with the same configurations
    OS Win 2003 server
    Db 11g
    OAS 10.2.0.2
    Edited by: M.Taher on 16/01/2012 10:09 م

    M.Taher wrote:
    thank you for your time but my issue is
    if i put baseHTMLjinitiator=basejini.htm at formsweb.cfg it works fine but without "webutil" functions
    ,so when i change that parameter to any thing else (like webutiljpi.htm or webutiljini.htm ) it gives me blank page
    so i think it is not a jinit. issue it is about webutil configurations , but i follow a doc from oracle support and every thing in its place
    "it is not my first time to install and configure it ,but first time to face that problem"hmm. try the following code under u'r configuration name like config=test
    WebUtilArchive=frmwebutil.jar,jacob.jar
    baseHTMLjinitiator=webutiljini.htmalso webutil configuration like
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm---change as your need
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilTrustInternal=truethen what is the out put ?
    Plz post your configuration
    hope this will help you
    Edited by: HamidHelal on Jan 17, 2012 2:46 PM

  • SSO to a website with applet as a home page

    Hi,
    we have a scenario in which we need to setup a SSO to a website which has applet as its homepage. I am trying to use the application integrator.
    did anybody else implemented this scenario, if so, could you please share your experiences or ideas with me.
    thank you

    You could use the mysapsso2 control for .NET and write a wrapper.  This would have to be an external page/application that would check for the existance of the SSO cookie and then do a redirect.  This has to be external because PDK does not support redirect.  At least this is my understanding.

  • IIS, Javascript, Signed Applet and ASP Blank Page Problem

    Hi,
    I'm having a problem using a Signed Applet in a site that runs in a IIS (Windows Server 2003).
    My aspx web page uses the applet to read my smart card and get information from it.
    This applet uses an auxiliar dll (stored in a second Signed Jar file) in order to read the information from my smart card.
    The way the solution is design:
    1) Aspx page is asked from server
    2) Internet Explorer recieve the page and asks the server for it content (images, applet, javascripts, etc)
    3) After this the JVM runs (console opens)
    4) After the Aspx page render fully a javascript register onload fires and call an applet method
    5) Applet receive the call and run the logic of the method:
         - reads the smart card;
         - calls Javascript function in order to fill aspx fields with information from smart card
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    5) The server makes some logic with the information receive and responds to client registering in aspx page a call to another Javascrit function
    6) The client received the asnwer from server and runs the Javascript function registered on step 5)
         This Javascript calls another method from applet and runs the following logic:
         - reads more information from smart card;
         - call javascript function in order to fill more fields of aspx page with the information readed
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    7) The server makes some logic and call another pages with no Applets
    8) Client asks for a second page with the same applet and we start with another logic express on steps 1);2);3),4);5) and then 7).
    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
         - with fiddler I can seer the request for the aspx page (that uses the applet)
         - but server responds with a blank html page
    The JVM doesn't fire.
    The IIS log don't show errors.
    The eventviewer doesn't show errors.
    The problem is solved with an IIS reset or a Application Pool reset.
    After a while the problem returns.
    This problem occours for other user in another machine, the server just stops responding correcly to request regarding pages with applets, the other pages still continue to work.
    If we disable Java Control Panel->Advanced->Java Plug-in->Enable the next-generation Java Plug-in the problem seend to stop, but we can't force all clients to disable this option right?
    Or there is a way to force the Applet to run with this option disabled?
    As anyone experience similar problem?
    Regards,
    OF

    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
    - with fiddler I can seer the request for the aspx page (that uses the applet)
    - but server responds with a blank html pageWell, if http requests look identical in case of success and failure (pay attention to cookies, etc) then it has to be something on the server side.
    It could be that server gets into this wrong state because of previous requests made by applet but it is hard to tell.
    I am not clear how old/new plugin can make a difference unless your applets run in the legacy mode (i.e. you are actually trying to reuse SAME instance of the applet when
    it is loaded next time).
    I'd start with
    1) carefully comparing good/bad sessions
    2) checking whether server will serve correct response to another client when it serves "bad" page for current client
    3) add debug statements to aspx - it is scripted page, may be some condition is not met and then it returns blank?
    4) record all http requests in one session until you get to "error" state and then use any http server testing tool to "replay" this set of requests.
    You should be able to get server into the same state without use of applet. Then you can try to tweak set of requests to see what makes a difference.

  • How to add an applet in a portal page??

    I need to add an applet in a page. Should I create an applet portlet, or should I use it with the typical way by calling it from an html file? Any suggestions??? Please help. It's important. I have an applet which is a video conference application and I need to use it from my portal. But I'll need to add some more applets but I cant find the way.
    Best Regards,
    George Drepaniotis

         <h:form id="registrationForm">
         <h:panel_grid headerClass="panel-background" footerClass="panel-background">
                   <h:column>                    
                        <h:output_text value="My Applet:"/>
                   </h:column>     
                   <h:column>
                        <f:verbatim escape="false">
                        <jsp:plugin type="applet" code="smartcard.SmartCardApplet"
                             archive="/sharedlib/SmartCardApplet_signed.jar"
                                  name="SmartCardApplet" width="360" height="120">
                        </jsp:plugin>
                        </f:verbatim>
                   </h:column>     
         </h:panel_grid>
         <h:command_button styleClass="style-button" id="register" value="Register"
              action="#{MyBean.register}"/>
         </h:form>
    <table>
    <tbody><tr>
    <td>My Applet:</td>
    </tr>
    <tr>
    <td><OBJECT classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 name="SmartCardApplet" width="360" height="120" codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0">
    <PARAM name="java_code" value="smartcard.SmartCardApplet">
    <PARAM name="java_archive" value="/sharedlib/SmartCardApplet_signed.jar">
    <PARAM name="type" value="application/x-java-applet;">
    <COMMENT>
    <EMBED type="application/x-java-applet;" name="SmartCardApplet" width="360" height="120" pluginspage="http://java.sun.com/products/plugin/" java_code="smartcard.SmartCardApplet" java_archive="/sharedlib/SmartCardApplet_signed.jar"/>
    <NOEMBED>
    </NOEMBED>
    </COMMENT>
    </OBJECT></td>
    </tr>
    </tbody></table>

  • LookAndFeel issue reloading an Applet in a Web page

    Hey all,
    I have an Applet that runs on a web page (loaded by servlets and JSP's using Tomcat 3.2.1 and Apache). I created my own LookAndFeel class and have a static function in the applet that sets the LookAndFeel to my new class. Everything works fine when the Applet is first loaded. However, when you exit the applet and then reload it, the custom LookAndFeel is gone and all I get is the default Metal. If I load the applet with appletviewer, I can reload it as much as I want and it always loads my LookAndFeel class.
    The static function is as follows
    /** Static initializer to set the LookAndFeel
    static {
    try {
    UIManager.setLookAndFeel(new MyNewLookAndFeel());
    catch (Exception e) {}
    I do not get any exceptions and like I said, everything works great when loaded with appletviewer.
    I have tried adding the SwingUtilities.updateComponentTreeUI(this); in either the start(), init(), or my own createGUI() function and it still does not work.
    Any ideas? Could this be a problem with the browser caching the applet? I am using IE 5.50.

    I have the same problem
    putting them in static doesn't keep the look and feel
    putting them in the applet constructor does'nt keep it
    putting them in init() doesn't keep it
    putting them in start() doesn't keep it
    heck, even putting them in all 4 of them together doesn't keep the look and feel, it always reverts back to metal

  • Problem Running a java applet from an HTML page

    I can run my applet at the command prompt with:
    appletviewer coffee.html
    But when I try and open the Coffee.html by opening
    the page in Internet Explorer I get the following message:
    Can't find Database driver class: java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
    Code: createcoffees.java
    import java.applet.*;
    import java.sql.*;
    public class CreateCoffees extends Applet{
         public void init() {
              Statement stmt;
              Connection con;
              try {Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              } catch(java.lang.ClassNotFoundException e) {
                   System.err.print("ClassNotFoundException: ");
                   System.err.println(e.getMessage());
              try {con = DriverManager.getConnection("jdbc:odbc:hq","afm", "afm");
                   stmt = con.createStatement();                                   
                          stmt.executeQuery("SELECT * FROM RM");
                   stmt.close();
                   con.close();
              } catch(SQLException ex) {
                   System.err.println("SQLException: " + ex.getMessage());
    }

    Is your jdbc-odbc driver properly loaded? Its very clear that its a class not found exception which is thrown by this:
    try {Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());

  • Applet in a browser page  doesn't gain focus with JVM 1.6.x

    Hi,
    I have a problem to move TAB in a IE browser page with applet in a tag object using JVM 1.6.x
    with JVM 1.5_10 or above this is possible. You can move focus between elements page and enter and exit to applet object.
    Executing the same applet with the same JVM, but after installation of the latest 1.6 plugin, when applet gains focus it doesn't release it.
    With JVM 1.6, applet can't gain focus and manage keyevents; all keyevents are intercepted from browser (eg: IE toolbar elements are activated) .
    I need to move focus on elements of browser page with tab, and enter and exit from applet to make my application accessible event not using mouse !!
    (you can watch a recorder right sample here: http://www.vista.it/ing_vista_0311_video_streaming_accessibile_demo.php)
    Note that FireFox doesn't work at all, even if bug seems fixed https://bugzilla.mozilla.org/show_bug.cgi?id=93149
    Please advise.

    Hi,
    We have found a wor around for this problem.
    The following option has been unchecked and the applet could be loaded.
    Go to java control panel
    Under the Advanced Tab
    Under the Security section
    Uncheck the last option "Use TLSv1.0".
    This makes the applet work.
    But could not understand as why this is creating a problem.
    We have tried to include TLSv1.0 in the cipher suite of our apache server, while keeping the above option in java plugin control panel checked, but even that did not solve the problem.
    Please help me of how should I proceed for this problem, as I am totally stuck.
    Thank you.

  • Embedding a j3d applet into a web page

    My students have just created a new zealand tourism jsp web page using JBuilder2006 struts with tiles framework and have also created a j3d applet with an animated logo. We wish to embed the j3d graphic on our opening jsp page. We have tried the depracated <applet> tag and also now we are trying the <object> </object > tag.
    <OBJECT codetype, classid,width,height,codebase,archive ></OBJECT>
    We just get a black empty frame were the graphic should be despite our best efforts.
    How do we embed j3d graphics on web pages, is it that difficult.
    Anyone out there help or point us in the right direction.
    We are so near and yet so far.
    Regards form New Zealand
    John (Tutor)

    I think this still works. Just change the names and parameters.
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = 800 HEIGHT = 800 ALIGN = middle  codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME = CODE VALUE = "AlternateAppearanceScopeTest.class" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2.2">
    <PARAM NAME="scriptable" VALUE="false">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.2.2"  CODE = "AlternateAppearanceScopeTest.class" WIDTH = 800 HEIGHT = 800 ALIGN = middle  scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>
    <blockquote>
    <hr>
    If you were using a Java-capable browser,
    you would see Hello Universe! instead of this paragraph.
    <hr>
    </blockquote>
    </NOEMBED></EMBED>
    </OBJECT>regards

  • Trying to include an applet in a JSP page

    Hello,
    I have a jsp page trying to include an applet class in it.
    Both of them are part of a war file put on an apache server.
    The directories tree looks like this :
    root
    MyJSPPage.jsp
    WEB-INF
    classes
    MyDir
    MySubDir
    MyApplet.class
    In MyJSPPage.jsp, the code looks like this :
    <jsp:plugin type="applet"
    code="MyApplet.class"
    codebase="/WEB-INF/classes/MyDir/MySubDir">
    </jsp:plugin>
    When loading the page on my browser, it fails, and the java console indicates the following :
    java.lang.ClassNotFoundException: MyApplet.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1778)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    I tried several things for codeBase :
    codebase="/WEB-INF/classes/MyDir/MySubDir"
    codebase="/MyDir/MySubDir"
    codebase="MyDir.MySubDir"
    without any success.
    Could you tell me what is wrong?
    Thanks in advance,
    Olivier

    Hello,
    I tried what you proposed.
    It continue to fail. I think I haven't give you the whole stack :
    charger : classe MyClass.class introuvable.
    java.lang.ClassNotFoundException: MyClass.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1778)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:252)
         at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
         at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
    What ca this HTTP connection failed stuff be?
    Help, thanks in advance,
    Olivier

Maybe you are looking for

  • I could record at 192kHz in AA 1.5, but not in AA 3.  Help?

    I really hope I'm in the right section and also am not missing the answer in another post. Anyways, I have a SB Audigy 2 Platinum soundcard that's serviced me great for 4 years. I used to record everything, vocals, DVD sound, etc. in 192kHz/32 bit (f

  • How to get the root node of a tree?

    I wanna get all the leaf node of a tree.But JTree have no method about how to get the root TreeNode of a tree.Then how should I do?

  • Bridge with cable

    I would like to connect three time capsules in three buildings with cable all three on the same Wifi network. How do I do it?

  • How to setup Email Flyers

    Hi everyone, Does anyone know about how to setup and send an email flyer? I know how to design and publish using Illustrator, PhotoShop, Dreamweaver, Flash, and HTML, but I am confused on how to setup a email flyer. Here's my question: After I have m

  • I want to Prevent a specific URL through My Computer

    I want to Prevent a specific URL through My Computer.No one can access any specific URL which i Block. e.g http://www.yahoo.com i want to block this specific site.Plz help me to block this site.