Program to illustrate the use of param tag.
Solution :
import java.awt.*;
import java.applet.*;
/*
<applet code= applet4 width=300 height=200>
<param name=aa value=”yes”>
</applet>
*/
public class applet4 extends Applet{
String str;
public void init(){
str=getParameter(“aa”);
if(str==null)
str=”no”;
}
public void paint(Graphics g)
{
g.drawString(str,100,100);
}
}
Home      |      About Us      |     Portfolio      |      Services      |      Courses      |     Career      |      Cost      |      Contact Us
Services
  SEO   
  Link Building
  Data Entry
  Web Design and development
  Web Application development
 

Graphic and multimedia

  E-Commerce Solutions
  Software development
  Web Marketing & Promoting
  Internet Marketing
  IT Outsourcing
  Multimedia/CD Presentation
  Synopsis Ideas
  Project Ideas
  Placement Papers
  Live Project Training
  Programming & Projects
  Faq
  Training @balujalabs
 
 
Method
 

To Illustrate the use of Param Tag

 

 

 

 

 

 

 

 

 

                                                                                                                                          

1 To Illustrate the Lifecycle of the Applet
2

To Illustrate the use of paramtay

3 To Illustrate the use of Param Tag
4 To illustrate the use of set background and set foreground Functions
5

To illustrate the use of set background and set foreground Functions