• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Null Applet

 
Javix Protocol
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
import java.applet.*
import java.awt.*;
public class MgAp extends Applet {
public void init() {
System.out.println(getParameter("age"));
}
}

/*
<applet name = MgAp code = MgAp.class height= 400 width=400 parameterHowOld=30>
</applet>
*/
Why there is no output?
------------------
The Javix
 
Nalini Mistry
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shouldnt you do something with the parameter you get before something shows up??
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this to Applets Forum which is more suitable than Java Cert forum.
regds
maha anna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic