// // 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 13:45, local time: 2024/11/16 08:26,
3.12.161.29: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://massmind.ecomorder.com/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 ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.