// // TakesParam class // part of the set of documents known as Java no sugar. // Copyright (c) 1996 Sunil Gupta, sunil@magnetic.demon.co.uk // placed into the public domain by the author // import java.applet.*; import java.awt.*; public class TakesParam extends Applet { String message; public void init() { message = getParameter("string"); if (message == null) { message = "No string parameter"; } } public void paint( Graphics g) { int height; height = this.size().height; g.drawString(message, 0, height/2); } }
file: /Techref/language/JAVA/nosugar/basics/code/TakesParam.java, 0KB, , updated: 1996/10/10 10:07, local time: 2024/11/13 19:22,
18.221.101.3:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/language/JAVA/nosugar/basics/code/TakesParam.java"> language JAVA nosugar basics code TakesParam</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.