[4681] in java-interest

home help back first fref pref prev next nref lref last post

java-interest-digest V1 #36

daemon@ATHENA.MIT.EDU (Patrick Taylor)
Wed Jan 10 19:51:05 1996

Date: Wed, 10 Jan 1996 18:41:50 -0500
From: Patrick Taylor <patrick.taylor@template.com>
To: java-interest@java.sun.com
In-Reply-To: <199601062251.OAA04900@java.sun.com>


> From: sjs@corp.portal.com (Steve Schow)
> Date: Fri, 5 Jan 1996 14:42:12 -0800
> Subject: Animator as canvas instead of applet
> 
> Hi all,
> 
> I am currently trying to hack away on the Animator.java applet to
> create a new class that basically is a subclass of Canvas rather
> than Applet.  I want to be able to plop animation widgets anywhere
> into a bigger java app or applet, using layout managers and what
> not to position them on the panel or window.  (see look....I'm
> starting to get the buzzwords even....  ;-)  )
> 
> Anyway, I wrote some code, but no dice.  I'm having lots of problems
> with this.  I am just wondering if anyone else has tried something
> like this and if so....could I look at how you did it.

Look at my CrazyText applet at

   http://www.cws.net/taylor/java/classes/CrazyText/

The functionality is all in the CrazyLabel class, which is a subclass of
Canvas.  I'm not claiming that this is the canonical way to do something
like this, but this is how I did it.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post