![]() ![]() ![]() On the other hand, if you don't pass parameters into a Java applet, how will the applet know what font to use? Simple - you hardwire it into the Java source code! As I often say to my new puppy at home, "this is bad". If you pass parameters into your Java applets, they can be portable from one web page to another, and from one web site to another. For instance, you may want to tell the applet what background color it should use, or what font to use, to keep your Java applet consistent with the rest of your HTML-based web site.Ī great benefit of passing applet parameters from HTML pages to the applets they call is portability. ![]() Many times when you're developing a Java applet, you want to pass parameters from an HTML page to the applet you're invoking. ![]() Help support this website at Introduction ![]()
0 Comments
Leave a Reply. |