001 package com.croftsoft.apps.backpropxor; 002 003 import javax.swing.JApplet; 004 005 /********************************************************************* 006 * BackpropXor as a JApplet. 007 * 008 * @version 009 * 2002-02-28 010 * @since 011 * 1996 012 * @author 013 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 014 *********************************************************************/ 015 016 public class BackpropXorApplet 017 extends JApplet 018 implements BackpropXorConstants 019 ////////////////////////////////////////////////////////////////////// 020 ////////////////////////////////////////////////////////////////////// 021 { 022 023 private BackpropXor backpropXor; 024 025 ////////////////////////////////////////////////////////////////////// 026 ////////////////////////////////////////////////////////////////////// 027 028 public String getAppletInfo ( ) 029 ////////////////////////////////////////////////////////////////////// 030 { 031 return APPLET_INFO; 032 } 033 034 public void init ( ) 035 ////////////////////////////////////////////////////////////////////// 036 { 037 setContentPane ( backpropXor = new BackpropXor ( ) ); 038 039 backpropXor.init ( ); 040 } 041 042 public void start ( ) { backpropXor.start ( ); } 043 044 public void stop ( ) { backpropXor.stop ( ); } 045 046 public void destroy ( ) { backpropXor.destroy ( ); } 047 048 ////////////////////////////////////////////////////////////////////// 049 ////////////////////////////////////////////////////////////////////// 050 }