Language Java Nosugar Graphics Pall Code Testkaosfire.java

// 
// on the off chance that this works, bear in mind that this is a
// port from kaosfire.c written by Dr.Kaos Matthew Pearce
// to java by the Dustman
//
//
import java.awt.*;
import java.applet.*;
import kaosfire;
public class testkaosfire extends Applet
{
	Button btn_start, btn_stop;
	kaosfire thing;
	
	public void init()
	{
		Panel south;
		
		this.setLayout( New BorderLayout());
		
		thing = new kaosfire();
		this.add("Center", thing);
		
		South = new Panel();
		btn_start = new Button("Start");
		btn_stop = new Button("Stop");
		
		South.add(btn_start);
		South.add(btn_stop);
		this.add("South", south);
	}	
	
	public boolean action(Event evt, Object what)
	{
		if (evt.target == btn_start)
		{
			thing.start();
			return true;
		}
		else if (evt.target == btn_stop)
		{
			thing.stop();
			return true;
		}
		
		return false;
	}
}

file: /Techref/language/java/nosugar/graphics/pall/code/testkaosfire.java, 0KB, , updated: 1997年8月25日 14:45, local time: 2025年10月5日 21:32,
40.74.122.252:LOG IN

©2025 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://massmind.org/Techref/language/java/nosugar/graphics/pall/code/testkaosfire.java"> language java nosugar graphics pall code testkaosfire</A>

Did you find what you needed?

Welcome to massmind.org!

Welcome to massmind.org!

.

AltStyle によって変換されたページ (->オリジナル) /