?
Solved

Java Animation - Can you "group" shapes from two classes?

Posted on 2003-10-22
1
Medium Priority
?
388 Views
Last Modified: 2008-03-03
Hi there,

I'm doing a simple project where I need to create an animation.

I am trying to find out if its possible to "group" a set of (different) shapes within my animation, and then make all of them move together?
I want to group six shapes (three triangles and three circles) and make them all move together across the screen!!
(Basically I want to make a little character from simple shapes and make him move - but we've been told to only use simple script to create shapes to build our picture, so this means I can't just insert a gif!!)

Cheers in advance :)

LH

0
Comment
Question by:lucy_halton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
applekanna earned 100 total points
ID: 9596984
Check these out they have source code

http://www.javaranch.com/CodeBarn/BarnHelloAnimThreadFirst.jsp

http://www.javaranch.com/codebarn.jsp      and see under applets

example 4-8
http://www.oreilly.com/catalog/javanut/examples/

Does this help?
Cheers!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question