How to display an applet in a html page

I can't get my beautifull new applet displayed in IE.
I just get a grey box instead of my applet...
Can someone send me the correct code for displaying an applet under IE ???
Thanks in advance,
Menno.

You need the following code between <body></body> tag:The applet tag wont help unless the OP has NN 6.0 or better. The OP will need the OBJECT tag when using IE and EMBED tag when using NN -- evidently he has a JApplet that will need the java plug-in so that it can run. Conversion from a HTML file having the APPLET-tag is done must then be done with the HTMLConverter.
If it is in "/java/my_applet" then in the CODE
attribute you type "/java/my_applet.class" No; the value of the code attribute must be the fully qualified class name. If the applet class file is in "/java/my_applet" and the applet's class name is "my_applet", the value of the code attribute must be "my_applet". The value of the codebase attribute must be "/java/my_applet".

Similar Messages

  • How to display an image on the HTML page by using applet

    Dear friends,
    I am now writing an java applet, I want to display an image on the HTML page, and tried the following commands:
    {color:#ff00ff}{color:#000000}Image map; //put in the class definition
    map=getImage(getCodeBase(),"hhh.gif"); //put in the function of init()
    g.drawImage(map,0,300,this); //put in the function of paint(){color}
    {color}
    However, when I run it, the image wasn't displayed at all.
    I hope who guys ever come across this problem could help me to solve it. Thank you in advance!
    Hawaii

    Hi,
    I am no expert on Images
    but
    from personal exp.
    are you sure that map actually contains the image?
    try using
    ImageIcon ii = ImageIcon(String name);
    map = ii.getImage();I saw a tutorial on images i think on sun
    where they use ImageIcon to load the image

  • How to display selected records on one HTML page?

    Hi,
    I would like to display selected part of records on one page in HTML region. For example I have a Master - Detail table set named Procedures and Tasks (each Procedure can have one or more tasks)
    I would like to be able to display all Tasks for a given Procedure in one HTML region on a page... The problem is that the number of tasks vary between procedures and can change in time. Also, the 'task description' can be very large so a simple report list of all tasks is something I cannot use... (I would like eg for the task name to be here, and the task_description to be there - unlike the report where everything is in one line...) The following are my ideas but non of them seemed to be feasable here...
    1. Use a report based on vertical columns (However I am using Theme 10 for which there are no vertical column templates. The only vertical templates I can see are the default ones but I have no idea how to customize them - where are they?)
    2. In HTML region use &ITEM_NAME. substitutions. In order to display more than one &EMN_NAME. (based on eg. EMPID) I suspect that I would need to write some kind of javascript loop. Has anyone have an idea about how would such a script look like?
    3. Display each Task in a separate screen. This is something I would want least but better than nothing - to have a customized report which would display one task at a time with some kind of pagination to it...
    Please let me know if someone has tried something simmilar or maybe there is a 4th option which will be simpler and easier...
    Many thanks,
    Pawel.
    I tried to make a very simple illustration of what I would like to achive here:
    http://htmldb.oracle.com/pls/otn/f?p=44995:3:9461299983704828937::::
    Message was edited by:
    padmocho

    Just to answer this one myself....
    In order to achive the above I used a PL/SQL Dynamic Content page and entered a html content in htp.prn('');
    Then, I created a PL/SQL LOOP which searches through the various rows...
    In the end, whenever I wanted to display html content I just used htp.prn and for variables I used htp.p(<var_name>);
    Maybe, it helps ;)

  • How to display RTE item in a HTML region

    I have a process that is populating a hidden item with a RTE item from another page. I need to display this in its formatted state. I am using an HTML region to display this item but the page shows HTML tags instead of rendering them. I have tried both options under html region (escape special characters and plain HTML text).
    Can someone please help me to display this formatted RTE item on a page? Btw...I am using APEX 4.0.
    Thanks.
    Ashwen
    Edited by: Ashwen on Jul 26, 2010 2:23 PM

    user12601765 wrote:
    did you figure out how to display RTE item in a HTML region? Can you share with me how you did it?No he can't. He's not been active on this forum for over a year, and is totally unaware of your post as watches on threads only persist for a few weeks. Please stop posting follow-ups to ancient threads. Many of the participants in such threads will no longer be active on the forum (check the "recent messages" in their profiles).
    Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
    <li>Other users may ignore the thread as it appears to be closed
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
    <li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
    <li>You have no ability to mark posts as helpful or correct
    Post your question as a new thread, including at least the following information:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) used
    <li>Links to related posts and threads using the methods in the FAQ.
    Please read the FAQ and forum sticky threads for more information on using this forum effectively.
    From the information in the Allow users to use Rich Text Editor to build their own HTML/Apex Page you resurrected:
    >
    I am a business user developing apps, so my technical skills are limited.
    >
    you should be considering Websheets. (See this tutorial as well.)
    Also, please update your forum profile with a real handle instead of "user12601765".

  • How to display date and time on jsf page

    Hi,
    how to display date and time on jsf page
    we are using 11.2.0.0 jdeveloper on windows.
    thanks
    Edited by: user12187801 on 26-Jul-2012 01:42

    Your question is certainly lacking some information.
    If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
    If you meant something else, then it's back to you to explain.

  • How to display horizontal line in top-of-page by using object oriented ALV?

    How to display horizontal line in top-of-page by using object oriented ALV.
    I am created top-of-page in object oriented alv.
    But not be successes in showing horizontal line in it.
    Can any one pls give solution for this..
    Thanks and regards..

    Hi
    Try like this
    data: gt_list_top_of_page type slis_t_listheader. " Top of page text. 
    Initialization. 
    perform comment_build using gt_list_top_of_page[]. 
    form top_of_page. 
    * Note to self: the gif must be loaded into transaction OAOR with 
    * classname 'PICTURES' AND TYPE 'OT' to work with ALV GRID Functions. 
    * I Loaded NOVALOGO2 into system. 
    call function 'REUSE_ALV_COMMENTARY_WRITE' 
         exporting 
    * I_LOGO = 'NOVALOGO2' 
    * i_logo = 'ENJOYSAP_LOGO' 
             it_list_commentary = gt_list_top_of_page. 
    endform. " TOP_OF_PAGE 
    form comment_build using e04_lt_top_of_page type slis_t_listheader. 
    data: ls_line type slis_listheader. 
          clear ls_line. 
          ls_line-typ = 'A'. 
          ls_line-info = 'Special'(001). 
          fgrant = xgrant. 
          concatenate ls_line-info fgrant 
          'Stock Option Report to the board'(002) 
                 into ls_line-info separated by space. 
                        condense ls_line-info. 
          append ls_line to e04_lt_top_of_page. 
    endform. " COMMENT_BUILD
    Use following syntex for footer print in alv:
    * For End of Page
    form END_OF_PAGE.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      write: sy-uline(50).
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    *  For End of Report
    form END_OF_LIST.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    check this link
    http://abapprogramming.blogspot.com/
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5dc3e690-0201-0010-1ebf-b85b3bed962d
    Changing width of a custom container dynamically
    Display Page numbers in ALV
    Insert picture in selection screen.
    Logo in OO ALV Grid
    Reward all helpfull answers
    Regards
    Pavan

  • HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS

    HI,
       HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS?

    in ur script main window
    /: IF &TTXSY-PAGE& = 15.              
    ur text or standard text           
    /: ENDIF.                             
    use this.
    hope it helps if any issues revert back

  • How to display text on last but one page in SAPSCRIPTS

    how to display text on last but one page in SAPSCRIPTS

    u have create one Foooter window , this has to be called in  only One Page.So hardcode /assign this window to only one PAGE number.
    regards
    Prabhu

  • 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

  • How do You set -noverify in an HTML page that calls an applet

    I have an applet which runs fine from inside JBuilder when I specify a
    -noverify switch in the debugger. (java -noverify myapplet.class)
    Without this switch, I get a verification exception.
    So I need to specify the -noverify switch from inside a webpage so that when the client runs it, he does not get the same exception.
    The question is how do you pass -noverify to JVM from an HTML page that uses <applet> tag and javascript?
    Thanks

    Odd, because I work on an applet that gets built with 1.4. We have 30,000+ clients who use it every day, and I'm sure we don't tell them about setting -noverify switches in their plug-in control panel, and we don't (cuz we can't) set it in the applet (object/embed, actually) tag.
    Of course, I suppose it could be a backwards compatibility issue going from compiling in newer version than it's run in.

  • How to display russian from a an html file created in textedit?

    I have created an html page in textedit which contains some russian text, how can i get safari to display this text properly?? In my textedit i used plain text but for some reason it comes out all starange in safari....

    Safari is using the wrong encoding.  Normally you would go to View > Text Encoding in your browser and try the different ones for Cyrillic until the display is correct.
    When you make an html page, you are always supposed include code which tells the browser what encoding to use.  Have you done that?  I would recommend that when you save in TextEdit you use UTF-8 and also put that in the html code.
    http://www.w3schools.com/tags/att_meta_charset.asp

  • JSP: how to display a String that has HTML

    I'm reading contents of a file and want to display them on the JSP page. However, the contents may have HTML tags in them as well. Right now it just displays the String HTML tags, not actually rendering them. How do I display the String so the HTML tags are actually used?
    So if the String has "<b>Hello</b>"
    I want it to show up in the webpage with the word Hello bolded, not the actual <b> and </b> tags displayed.

    Something is escaping the file contents. Perhaps if you dropped a few
    hints about how you are actually doing this.

  • How to display IR field value in HTML

    All,
    I have an interactive report and in the region header part I want to display a value of employee number for which this IR has been called, my HTML Looks like this in region header but it display "Employee Number:#EMPLOYEE_NUMBER# " and does not replace value. I am newbie and web technologies and all of us in my company of forms programmers. Any help would be appreciated. Thanks in advance
    <html>
    <body>
    <B><font size=+3>Employee Number:#EMPLOYEE_NUMBER#</font></B>
    </body>
    </html>

    I tried it like what you said but it did not work it still displays &employee_number. as is.
    <html>
    <body>
    <B><font size=+3>Employee Number:&employee_number.
    </font></B>
    </body>
    </html>
    Do you think i need some javascript here?

  • The applet in my html page keep poping up

    The applet I put on the HTML page keep poping up, how can have on the same web page without poping
    <Html>
    <Head>
    <Title>Java Example</Title>
    </Head>
    <Body>
    This is my page<br>
    Below you see an applet<br>
    <br>
    <Applet Code="Ch6_PrExercise7.class" width=200 Height=100>
    </Applet>
    </Body>
    </Html> here is the code
    //This Java Program determines the amount on maturity.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import static java.lang.Math.*;
    public class Ch6_PrExercise7 extends JFrame
        private JLabel amtL, yearL, interestL, valueL;
        private JTextField amtTF, yearTF, interestTF, valueTF;
        private JButton calculateB, exitB;
        private CalculateButtonHandler cbHandler;
        private ExitButtonHandler ebHandler;
        private static final int WIDTH = 400;
        private static final int HEIGHT = 300;
        public Ch6_PrExercise7()
                //create four labels
            amtL = new JLabel("Amount deposited : ",
                             SwingConstants.RIGHT);
            yearL = new JLabel("Duration in years : ",
                      SwingConstants.RIGHT);
            interestL = new JLabel("Interest rate : ",
                        SwingConstants.RIGHT);
            valueL = new JLabel("Value on maturity : ",
                        SwingConstants.RIGHT);
                //create four textfields
            amtTF = new JTextField(10);
            yearTF = new JTextField(10);
            interestTF = new JTextField(10);
            valueTF = new JTextField(10);
                //create Calculate Button
            calculateB = new JButton("Calculate");
            cbHandler = new CalculateButtonHandler();
            calculateB.addActionListener(cbHandler);
                //create Exit Button
            exitB = new JButton("Exit");
            ebHandler = new ExitButtonHandler();
            exitB.addActionListener(ebHandler);
                //set the title of the window
            setTitle("Calculating Interest");
                //get the container
            Container pane = getContentPane();
                //set the layout
            pane.setLayout(new GridLayout(5, 2));
                //place the components in the pane
            pane.add(amtL);
            pane.add(amtTF);
            pane.add(yearL);
            pane.add(yearTF);
            pane.add(interestL);
            pane.add(interestTF);
            pane.add(valueL);
            pane.add(valueTF);
            pane.add(calculateB);
            pane.add(exitB);
                //set the size of the window and display it
            setSize(WIDTH,HEIGHT);
            setVisible(true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        private class CalculateButtonHandler implements ActionListener
            public void actionPerformed(ActionEvent e)
                double year, amt, interest, value;
                amt = Double.parseDouble(amtTF.getText());
                year = Double.parseDouble(yearTF.getText());
                interest = Double.parseDouble(interestTF.getText());
                value = amt * pow((1.0 + (interest/100.0)), year);
                valueTF.setText("" + String.format("%.2f", value));
       private class ExitButtonHandler implements ActionListener
            public void actionPerformed(ActionEvent e)
                System.exit(0);
       public static void main(String[] args)
            Ch6_PrExercise7 interestProductObject = new Ch6_PrExercise7();
    }

    ronisto wrote:
    I dont know what u asking,Obviously. You try to have an applet without even knowing what it is.
    Read this: [http://java.sun.com/docs/books/tutorial/deployment/applet/]

  • Displaying changing data in DW4 HTML pages

    Hi - I'm hoping someone can offer a way to do this more efficiently in DW4 than how I did it for the client.
    I originally did this in Flash but since I'm the only person who knows Flash here, and because I would not be the person updating the data on a daily basis, I moved it to DW4 as HTML files.
    They wanted a map with pushpins of the US and other countries.  See image below:
    When you click on a pushpin, the state or country appears displaying names.  Then you click on a name and it displays data about that person on the right.  See below:
    It's basically a drill-down concept, starting with usa.html, clicking on a state, which displays northcarolina.html, clicking on a name, which displays personname.html. 
    As you can imagine, if you have 50 names, you're going to have 50 HTML pages to keep track of.  And if 20 of those names are displayed on each page like the one above, if Ron quits and is replaced by someone named Mike Smith, you have to go to the NC page and all 20 individual pages to change the names.
    I would love to be able to do this same concept but with one central spreadsheet or some other document that holds all of the names and data for each.  Then, when something needs to be updated, just do it in this central document and the HTML display automatically updates.
    Any idea how this can be done with DW4 and some other type of data file?  Thanks. 

    When you say "DW4" do you really mean "DW4" (vintage 1999) or "DW CS4" (vintage 2009)?
    The best way to do this would be to use server scripting with a database.  But if you really mean DW4, then you would have to manually create all of that scripting.

Maybe you are looking for

  • Arrange Window Editing Questions

    I've been working on a recording for a few months now and I'm at the point of doing the vocal recording and comps. This means I'm at a point that involves a lot of editing, copying, pasting and moving. There are a few problems I've run up against tha

  • Need a VNC Desktop Companion

    I am trying to set up a remote control connection (VNC Server) on an old G5 iMac so I can control it remotely from my iPhone/iPad.  Getting a )free) VNC client on the iOS devices is not an issue.  I already downloaded PocketCloud. In order to make th

  • FRM-40655

    I get the message frm-40655: SQL error forced rollback. What can I do to resolve this problem? And also I got the message ora-01000:maximum open cursors exceeded. How can I adjust the open cursors limit?

  • Weird model identifiers inside of blued.log for a Magic Mouse?

    Here is a snippet from the blued.log file generated by the Bluetooth Diagnostics Report: Mon Sep 22 00:37:15 201 [blued:35] InteropManager.m:1178 80211 Callback: flags: 0x0A -- channel: 4 -- state: 0 -- 2.4Ghz: Yes Mon Sep 22 00:37:15 201 [blued:35]

  • Remove me from the search list too

    Seeing as you can't delete an account ( which is ridiculous  !) can you please remove this account from the search, it is also a dead account.