// // TestWorldLayout 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 FramedWorldLayout; public class TestWorldLayout extends Applet { Button btn_frame; public void init() { btn_frame = new Button("framed world layout"); this.add(btn_frame); } public boolean action(Event e, Object arg) { FramedWorldLayout frame; if (e.target == btn_frame) { frame = new FramedWorldLayout("world layout", 200,200); frame.pack(); frame.show(); return(true); } return(false); } }
file: /Techref/language/java/nosugar/custom/world/code/TestWorldLayout.java, 0KB, , updated: 1996/10/10 10:06, local time: 2024/11/19 14:21,
18.191.205.170: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.org/techref/language/java/nosugar/custom/world/code/TestWorldLayout.java"> language java nosugar custom world code TestWorldLayout</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.