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.

Similar Messages

  • Move focus between elements of browser page doesn't work with JVM 1.6.x

    Hi,
    why JVM 1.6 doesn't support accessibility?
    with JVM 1.5_10 or above it's possible to move from elements of IE browser page with tab and enter and exit from applet
    with JVM 1.6 or using plugin 1.6 this is not more possible.
    with plugin 1.6 and JVM 1.5 applet can gains focus but it doesn't release it
    with JVM 1.6 applet doesn't gain focus and all keyevents are intercepted from browser.
    to make my applet and page accessible I need to move focus between elements of browser page with tab,
    and enter and exit from applet.
    Just because my users can't use mouse but only keyboard.
    Note that FireFox doesn't work at all, even if bug seems fixed https://bugzilla.mozilla.org/show_bug.cgi?id=93149
    (you can watch a recorder right sample here on: http://www.vista.it/ing_vista_0311_video_streaming_accessibile_demo.php)
    Please advise.

    Hello Carl,
    some things are so easy if some one takes place the clou. I clear all cache information in the firefox browser and all is working fine.
    Thank you very much and have a nice weekend.
    Regards
    Thorsten

  • Installing apps from dmg file package content windows doesn't gain focus

    When I download a dmg file and double click to mount, after it mounts, the window containing the package contents never gains focus and stays hidden behind the rest of the windows that are open and I have to use Expose to find it. Is this an error or setting I've missed? On my friend's iMac it works fine but not on my MacBook Pro and we both have Snow Leopard.
    Thanks

    Ok the first option didn't have any effect. When I opened the dmg from Chrome it loaded the window in the background.
    Dragging the dmg onto the DiskMounter app worked. The window opened allowing me to drag the App to the Applications folder and was in focus.
    I have a similar issue when I open an archive(zip) file from chrome/safari/firefox it shows the progress of the unarchiving bu then the finder window that would normally come to focus displaying the unarchived folder is hidden behind my other open windows.

  • When I open a new tab and click on a new link it open an entire new browser page. This started today with an update i just received.

    When I open a new tab I get routed to a new browser window. I currently have about 10 browser windows across my lower screen and cannot change the tab setting to do anything different.

    I think once I did not even see the page in my history

  • Page doesn't submit properly with h:head

    I have a commandlink with target="_blank", which when I have just <head></head> at the top of the xhtml page it works fine it will open a new page or new tab, but when I have <h:head></h:head> when I click the link nothing happens on the page. But if I use just <head> I have issues with my templates. Thanks for the help.
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    To change this template, choose Tools | Templates
    and open the template in the editor.
    -->
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:ice="http://www.icesoft.com/icefaces/component">
        <h:head id="ClientAppraisalsHead">
            <h:outputStylesheet library="css" name="ClientAppraisalsStyle.css" />
            <h:outputStylesheet library="css" name="Templates.css" />
            <title>Client Appraisals</title>
        </h:head>
        <h:body>
            <ui:include src="/Templates/HeaderTemplate.xhtml">
                <ui:param name="headerTitle" value="CLIENT REPORTS" />
            </ui:include>
            <h:form id="MainAppraisalForm">
                <div class="centerBlock">
                    <div class="columnContainer" >
                        <div class="columnLeft">
                            Exclude From Monthly Summaries<br />
                            <h:selectOneListbox id="MonthlyExcludeListBox" value="1" size="10">
                                <f:selectItems value="#{clientReportsController.monthlyExcludeList}" />
                            </h:selectOneListbox>
                        </div>
                        <div class="columnLeft">
                            Exclude From Invoice Appraisals<br />
                            <h:selectOneListbox id="InvoiceExcludeListBox" value="1" size="10">
                                <f:selectItems value="#{clientReportsController.invoiceExcludeList}" />
                            </h:selectOneListbox>
                        </div>
                        <div class="columnRight">
                            Client Codes<br />
                            <h:selectOneMenu id="ClientCodeDropDown" style="width:95px"
                                             value="#{clientReportsController.clientCodeSelected}"
                                             immediate="true"
                                             onchange="this.form.submit();"
                                             valueChangeListener="#{clientReportsController.requery}">
                                <f:selectItems value="#{clientReportsController.clientCodeList}" />
                            </h:selectOneMenu><br />
                            <div  style="padding-top: 7px;padding-bottom: 7px">
                                <h:selectBooleanCheckbox id="AllClientsCheck" value="#{clientReportsController.allClientsValue}"></h:selectBooleanCheckbox>
                                All Clients
                            </div>
                            Report Dates<br />
                            <h:selectOneMenu id="ReportDateDropDown" style="width:95px" value="#{clientReportsController.reportDateSelected}">
                                <f:selectItems value="#{clientReportsController.reportDateList}" />
                            </h:selectOneMenu>
                            <br />
                            <div style="padding-top: 7px">
                                <h:selectBooleanCheckbox id="MonthlySummaryCheck" value="#{clientReportsController.monthlySummaryCheckValue}"></h:selectBooleanCheckbox>
                                Monthly Summary<br />
                                <h:selectBooleanCheckbox id="InvoicesCheck" value="#{clientReportsController.invoiceCheckValue}"></h:selectBooleanCheckbox>
                                Invoices<br />
                                <h:selectBooleanCheckbox id="UnsupervisedAssetsCheck" value="#{clientReportsController.unsupervisedAssetsCheckValue}"></h:selectBooleanCheckbox>
                                Unsupervised Assets<br />
                            </div>
                            <h:commandButton styleClass="commandButtons" action="#{clientReportsController.viewAllMailerTopSheets}" value="View Top Sheet" />
                            <br />
                            <h:commandLink value="test" target="_blank" />
                            <h:commandButton styleClass="commandButtons" action="#{clientReportsController.viewAppraisal}" value="View Report" />
                        </div>
                    </div>
                </div>
            </h:form>
        </h:body>
    </html>

    Differences in rendering abound between IE6 and all other browsers. But this is what I found when I ran your page through w3c validation: http://validator.w3.org/check?uri=http://www.readislam.net/darulhuda/aqeedah1.shtml&charse t=(detect+automatically)&doctype=Inline&group=0
    I often see white turning up as transparent, though mostly in transparent gifs. My ploy in that case is to use a slightly off-white, usually #FFFFFE or some such. I don't know if that will ease your pain, though.
    Beth

  • Steve muench's refreshing browser page.. can it work with commandbutton?

    http://radio.weblogs.com/0118231/stories/2005/06/16/whyIsntRefreshingTheBrowserPageEnoughToRefreshTheDataDisplayed.html
    How does that work with the adf commandButton and not an html button? Shouldn't we just be using ADF controls?
    also, there is a bug in your code
    public void onRefreshData(DataActionContext ctx) {
    actionContext.getBindingContainer().findIteratorBinding("YourIter").getRowSetIterator();
    actionContext.getBindingContainer().findIteratorBinding("YourIter").executeQuery();
    actionContext should be ctx or viceversa
    Let me know if it is possible to use ADF command buttons to accomplish this..
    also, i am not using a data action class but just using the actions in the page def files. Trying to use the ADF as much as possible.
    TIA

    User,
    DataAction is used with [url http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.adf_javadocs|oracle|adf|controller|struts|actions|DataAction~html/]Struts, not JSF.
    In JSF, you can add an "Execute" binding for your iterator to the page definition and then bind that to your command button.
    John

  • Window with applet tag gains focus prior to new window browser window

    setup a :
    1. sample index.html page:
    <HTML>
    <HEAD>
    <script>
    var _load=function(){window.open('test.html');};
    window.attachEvent("onload", _load);
    </script>
    </HEAD>
    <BODY>
    <applet code=Index name=Index width=1 height=1 align=baseline>
    </BODY>
    </HTML>
    2. and child test.html window of the above (opened during onload event)
    <HTML>
    <HEAD>
    <TITLE>1</TITLE>
    <script>
    var _load=function(){window.focus();};
    window.attachEvent("onload", _load);
    </script>
    </HEAD>
    <BODY>
    TEST PAGE
    </BODY>
    </HTML>
    when a test.html page is opened focus is temporarily shifted back to the index.html page and
    only later back to the test.html page (window.focus()) call in that page sets the focus, not always
    suceeds, a further code is required to do a retry)
    when the applet is removed from the index.html page, problem goes away, it is if the applet tag
    has priority in terms of window focus
    byproduct of this is also annoying flicker, (while the focus is shifted between index.html and test.html page)
    this problem is only happening with SUN JVM (and I dont know if its a defect or by design)
    SUN JVM tested:
    Java(TM) Plug-in: Version 1.4.2_03
    Using JRE version 1.4.2_03 Java HotSpot(TM) Client VM
    suggestions, workarounds? appreciate in advance

    tested following matrix of browser/VM
    Platform Result:
    MS IE and Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810 (with success, no focus problems)
    MS IE and Java(TM) Plug-in: Version 1.4.2_03 (focus problems, in the case of
    two applets one coded on the
    main page the other on the pop-
    up window)
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
    Plug-in: Version 1.4.2_03 Using JRE version 1.4.2_03 Java HotSpot(TM) Client VM
    (focus problems, in the case of one applet on
    the main page or in the case of two applets
    one coded on the main page the other on the
    pop-up window)
    Please see revised test case source code (to support above configurations, as well inclusion of the second
    applet to address discrepency in behaviour between Mozilla and IE (with SUN JVM)
    <HTML>
    <HEAD>
    <script>
    String.prototype.contains=function(s){return(this.toLowerCase().indexOf(s.toLowerCase())!=-1);};
    var u_n=navigator;
    var u_agt=u_n.userAgent.toLowerCase();
    var u_MSIE=(u_agt.contains("msie"));
    var _load=function(){window.open('test.html');};
    if (u_MSIE)
    window.attachEvent("onload", _load);
    else
    window.addEventListener("load", _load, false);
    </script>
    </HEAD>
    <BODY>
    <applet code=Index name=Index width=1 height=1 align=baseline>
    </BODY>
    </HTML>
    <HTML>
    <HEAD>
    <TITLE>1</TITLE>
    <script>
    String.prototype.contains=function(s){return(this.toLowerCase().indexOf(s.toLowerCase())!=-1);};
    var u_n=navigator;
    var u_agt=u_n.userAgent.toLowerCase();
    var u_MSIE=(u_agt.contains("msie"));
    var _load=function(){window.focus();};
    if (u_MSIE)
    window.attachEvent("onload", _load);
    else
    window.addEventListener("load", _load, false);
    </script>
    </HEAD>
    <BODY>
    TEST PAGE
    <applet code=Test name=Test width=1 height=1 align=baseline>
    </BODY>
    </HTML>
    Index.java source code:
    public class Index extends Applet {
    public synchronized void init() {
    public synchronized void start() {
    public synchronized void stop(){
    public synchronized void destroy(){
    Test.java source code:
    public class Test extends Applet {
    public synchronized void init() {
    public synchronized void start() {
    public synchronized void stop(){
    public synchronized void destroy(){

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

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

  • 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

  • Problem in loading applet in HotJava browser

    I am having a problem in loading a simple applet in HotJava
    browser
    The code of the applet is shown below
    import java.awt.*;
    import java.applet.*;
    public class HelloJava extends Applet
    public void paint(Graphics g)
    g.drawString("Hello Java", 10, 100);
    The code of the HTML file HelloJava.html is shown below :
    <HTML>
    <! This page includes a welcome title in the title bar and also
    displays a welcome message. Then it specifies the applet to
    be loaded and executed.
    >
    <HEAD>
    <TITLE>
    Welcome to Java Applets
    </TITLE>
    </HEAD>
    <BODY>
    <CENTER>
    <H1> Welcome to the World of Applets </H1>
    </CENTER>
    <BR>
    <CENTER>
    <APPLET
    CODE = HelloJava.class
    WIDTH = 400
    HEIGHT = 200 >
    </APPLET>
    </CENTER>
    </BODY>
    </HTML>
    ON opening the HTML file in HotJava Browser, the following error comes up :
    HelloJava: class not loaded: file:/D:/Poonam/Java/Src1/HelloJava.class:
    java.lang.ClassNotFoundException: HelloJava: class not loaded: file:/D:/Poonam/Java/Src1/HelloJava.class

    Well the obvious question is what is utilities.PropertyManager up to at line 23? It appears to be trying to get the system classloader which applets aren't allowed to do.
    You should probably be using the ClassLoader from the class in question.

  • Blank browser page when viewing html/swf exported from Indesign

    We've created a 'flip book' in Indesign and exported it as a swf and html docs. These docs both view correctly locally, but when uploaded into the same directory on our server and viewed via safari or chrome, they both appear as blank browser pages.
    html page is here: http://www.thinktankcd.com/SmartsquareBrochure_030215_test.html
    Any idea what we've done wrong?
    Indesign CC 2014  OSX10.9.2

    Thanks Sumit, but ID didn't create any other resources to go along with the swf and html files. Besides, it doesn't need to; there are no other resources but it still works locally. The swf is a stand alone file, the html just gives access to that file when accessed via a browser.

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

  • Error when running applet in a adf page (but succeed in html)

    Hi all
    I have a movie player applet and want to put it in my web page.
    I tried with html and the applet work just fine. Here is my code:
    <applet code=SimplePlayerApplet width=320 height=300>
    <param name=file value="Unknown2.mov">
    </applet>
    However, when I put it in adf page, nothing is displayed:
    <jsp:plugin code="SimplePlayerApplet.class" codebase="." type="applet" align="middle" width="320" height="300" jreversion="1.6" >
    <jsp:params>
    <jsp:param name="file" value="Unknown2.mov" />
    </jsp:params>
    <jsp:fallback>
    <p>This plugin can't be loaded</p>
    </jsp:fallback>
    </jsp:plugin>
    The html page and the jspx page I put in the same directory structure.
    And link to html: http://127.0.0.1:7101/JMFStudio-Project1-context-root/htmlTest.html
    Link to the jspx: http://127.0.0.1:7101/JMFStudio-Project1-context-root/faces/untitled1.jspx
    So I tried changing codebase to "/faces" but nothing happens.
    Any suggestion? should I put codebase as "." ??
    Thanks a lot.

    I use the verbatim tag, or use the <jsp:plugin> as above with the code attribute specified without ".class" the applet is loaded ( I can tell as there is loading media panel of the applet displayed ). However the movie is never played.
    <f:verbatim>
    <applet code="SimplePlayerApplet" width="320" height="300">
    <param name="file" value="Unknown2.mov" />
    </applet>
    </f:verbatim>
    It seems that the movie file is not found??
    If I view source code of the page, I see the code generated as follow
    - <f:verbaim><applet>..... : <applet code="SimplePlayerApplet" width="320" height="300"><param name="file" value="2.mov"/></applet>
    -<jsp:plugin> : <EMBED type="application/x-java-applet;version=1.6" pluginspage="" code="SimplePlayerApplet" codebase="." align="middle" archive="" hspace="" name="" vspace="" title="" height="300" width="320" file="Unknown2.mov" >
    <NOEMBED><p>This plugin can't be loaded.</p></NOEMBED></EMBED>
    Is there any issue of loading file source with adf page? Previously I encountered the similar issue when trying to embed a plain movie file into a adf page. I used <embed> or <object> tag inside the verbatim tag. But there is nothing displayed in the browser. (I suspect the problem with the loading of file source as when I replace the movie source (which is stored locally) by a url to a video on the internet, it worked fine)
    Any suggestion? how do I debug this?
    Thanks a lot.
    Khue.

  • Adobe Air Browser (HTMLLoader) Doesn't Support HTML5

    Is there any way to replace the HTMLLoader that is in the Adobe Air SDK with one of the native browsers on the user's system?
    In my Air app, there is an inline browser that loads content from a website that looks and works fine in native IE, Safari, Firefox, or Chrome... But the Air browser apparently doesn't support local storage... And the page I try to load inline requires that support.

    Unforunately, not with HTMLLoader but you can with StageWebView by passing in true in the constructor.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageWebVie w.html#StageWebView()

Maybe you are looking for

  • Flash Interface Unloading Captivate 5.0 works / 5.5 doesn't...why?

    TypeError: Error #1009: Cannot access a property or method of a null object reference. at captivate.veela_as3::rdSwfLoader/rdSwfLoaderEnterFrame() at captivate.veela_as3::rdEmbeddedSwfPpt/rdSwfLoaderEnterFrame() Any suggestions welcome - very frustra

  • How to merge address book

    How do I merge the Address Book on my iMac and the Contacts on my iPhone 4 into one list with everything?  I have had the iPhone for a month now and have not synced it with the iMac yet.

  • IMovie refuses to import from JVC DV cam

    I am a new Mac user, eager to get started with the iLife apps, but I have a problem so far. Using iMovie '08 on my new MacBook Pro 2.2, I can't import. It rewinds, starts playing, plays audio and video on the cam, but just shows a blue screen on the

  • E Recruitment Infotyes

    Hi Plz tell me E Recruitment Infotyes

  • Need to reinstall adobe acrobat

    need to reinstall adobe acrobat on my computer