Total members 11889 |It is currently Fri Mar 29, 2024 4:06 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Java Applets
------------------


To define a java applet in an HTML file, use the following HTML tags:

html code
<APPLET CODE="YourApplet.class" WIDTH="theWidth" HEIGHT="theHeight"></APPLET>


To make a *.class file an Applet, have your class extend JApplet and use the code. Make sure you don't have a main() method.
Examples of Applet usage :
java/jframe-on-applet-t385.html
java/snake-2d-applet-t352.html ( Live Applet JDK 5 -6 ) )
java/ball-sticker-applet-t673.html ( Live Applet JDK 5-6 )



_________________
Please recommend my post if you found it helpful


Author:
Beginner
User avatar Posts: 109
Have thanks: 5 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : How to use Java Applets in your HTML
 Java Applets used for send sms     -  
 What is the terms applets and servlets mean?     -  
 How to connect database with Applets     -  
 posting from java to html     -  
 insert information in html file with java     -  
 What are PHP,PSD to HTML ?     -  
 del html tag usage     -  
 dfn html tag usage     -  
 I need help with a html code     -  
 How to use HTML with JavaScript     -  



Topic Tags

Java Applet
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com