-
Html Object code to run Java Applets
I have been upgrading all of my web pages for clients that contain the applet
code to run applets. According to W3C, validating a web page that contains
the <APPLET></APPLET> tags creates an error. I have viewed all of the W3C
pages that state that the applet tags are deprecated, and it is suggested
that the new tags to use are <OBJECT></OBJECT> (for I.E. browsers, and <EMBED></EMBED>
tags for Netscape.)
Using the W3C samples, my applets don't work. I have been searching all
over the Internet to find someone or some website that has the Object code
and it works. As you can tell, I haven't found what I seek.
If anyone in this discussion group has accomplished using the Object and
Embed tags, please help. I am not registered as a group member so don't
know how I will receive responses. If possible, please use my email addresss
jdmajor2@pacbell.net
Jan Major
jdmajor2@pacbell.net
-
Re: Html Object code to run Java Applets
Look here - http://java.sun.com/products/plugin/...converter.html
"Jan" <java.@127.0.0.1> wrote:
>
>I have been upgrading all of my web pages for clients that contain the applet
>code to run applets. According to W3C, validating a web page that contains
>the <APPLET></APPLET> tags creates an error. I have viewed all of the W3C
>pages that state that the applet tags are deprecated, and it is suggested
>that the new tags to use are <OBJECT></OBJECT> (for I.E. browsers, and <EMBED></EMBED>
>tags for Netscape.)
>
>Using the W3C samples, my applets don't work. I have been searching all
>over the Internet to find someone or some website that has the Object code
>and it works. As you can tell, I haven't found what I seek.
>
>If anyone in this discussion group has accomplished using the Object and
>Embed tags, please help. I am not registered as a group member so don't
>know how I will receive responses. If possible, please use my email addresss
>jdmajor2@pacbell.net
>
>Jan Major
>jdmajor2@pacbell.net
-
java applet in asp.net page
hello
step 1. install jvm on your machine if your explorer giving errror message
about applet not supported
step2 import .java class in your web site loaction, by add existing item
step 3 use applet tag in aspx page, support c#.
step 4 try to view the in explorer.
example code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="embedApplt.aspx.cs" Inherits="embedApplt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Advanced News Scroll Java Applet Example</title>
</head>
<body>
<form id="form1" runat="server">
<applet code="advnewsscroll.class" width="190" height="210">
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com"/>
<param name="regcode" value=""/>
<param name="input_text" value="from_file"/>
<param name="text_file" value="avtinput.txt"/>
<param name="scroll_mode" value="page"/>
<param name="bgimage" value="cup.gif"/>
<param name="image_xposition" value="155"/>
<param name="image_yposition" value="176"/>
<param name="bgcolor" value="FFFFFF"/>
<param name="title_color" value="801E1E"/>
<param name="text_color" value="000000"/>
<param name="highlight_title_color" value="282896"/>
<param name="highlight_text_color" value="282896"/>
<param name="title_align" value="left">
<param name="text_align" value="left">
<param name="title_font_type" value="Arial">
<param name="title_font_size" value="12">
<param name="title_font_style" value="1">
<param name="text_font_type" value="Arial">
<param name="text_font_size" value="11">
<param name="text_font_style" value="1">
<param name="title_underline" value="no">
<param name="text_underline" value="no">
<param name="scroll_delay" value="28">
<param name="pause" value="3000">
<param name="border_thickness" value="1">
<param name="border_color" value="ff0000">
<param name="left_margin" value="10">
<param name="top_margin" value="10">
<param name="right_margin" value="10">
<param name="bottom_margin" value="10">
<param name="vertical_space" value="20">
<param name="title_linespace" value="0">
<param name="text_linespace" value="0">
</applet>
<applet code="Pie2D.class" width="190" height="210">
<PARAM name="title" value="Demo Pie Chart">
<PARAM name="legend_rows" value="2">
<PARAM name="show_percents_on_slices">
<PARAM name="show_legend_on_right">
<PARAM name="val_1" value="30">
<PARAM name="description_1" value="item1">
<PARAM name="val_2" value="5">
<PARAM name="description_2" value="item2">
<PARAM name="val_3" value="80">
<PARAM name="description_3" value="descr1">
<PARAM name="val_4" value="10">
<PARAM name="description_4" value="descr1">
</applet>
<APPLET CODE="VertBar2D.class" WIDTH=500 HEIGHT=400>
<PARAM name="legend_border_off">
<PARAM name="show_legend_on_right">
<PARAM name="title" value="Vert Bar 2D Chart">
<PARAM name="show_values_on_top_of_bars">
<PARAM name="back_grid_color" value="240,240,240">
<PARAM name="x_axis_description" value="X axis description">
<PARAM name="Y_axis_description" value="Y axis description">
<PARAM name="variation_series" value="Ldd,Mdd,Mdd,Jdd,V,S,Ddd">
<PARAM name="data_set_1" value="12,78,90,12,35,78,34">
<PARAM name="description_1" value="item1">
<PARAM name="data_set_2" value="54,88,40,52,84,18,23">
<PARAM name="description_2" value="item2">
<PARAM name="data_set_3" value="14,48,56,23,10,58,39">
<PARAM name="description_3" value="item3">
</APPLET>
<br><br><br><br>
</form>
</body>
</html>
happy coding dearviren@yahoo.co.in
Last edited by dearviren; 06-16-2006 at 05:59 AM.
Reason: email id
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks