please dont rip this site

Language Java Nosugar Basics Code Takesparam.java

// 
//	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 11:07, local time: 2024/5/17 22:03,
TOP NEW HELP FIND: 
3.128.184.38: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/language/java/nosugar/basics/code/TakesParam.java"> language java nosugar basics code TakesParam</A>

Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 
Quick, Easy and CHEAP! RCL-1 RS232 Level Converter in a DB9 backshell
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .