please dont rip this site

Language Java Nosugar Custom Button Code Testovalbutton.java

// 
//	TestOvalButton 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.*;
import OvalButton;

public class TestOvalButton extends Applet
{
	OvalButton button;
	int count = 0;
	
	public void init()
	{
		this.setLayout( new BorderLayout());
		button = new OvalButton("test");
		this.add("Center", button);
	}
	
	public boolean action( Event e, Object arg)
	{
		int i;
		
		if (e.target == button)
		{
			showStatus("clicked " + count);
			count ++;
			return true;
		}
		
		return false;
	}
}

file: /Techref/language/java/nosugar/custom/button/code/TestOvalButton.java, 0KB, , updated: 1997/2/3 23:11, local time: 2024/6/26 06:34,
TOP NEW HELP FIND: 
18.191.198.227: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://ecomorder.com/Techref/language/java/nosugar/custom/button/code/TestOvalButton.java"> language java nosugar custom button code TestOvalButton</A>

Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .