How long would it take to learn to create an animation in java

something very basic just like a block moving up and downi have very little experiance (i can get command line to say hello world thats about it)soo helpI have till thursday and am willing to work like a little swine
[244 byte] By [thebigfisha] at [2007-10-3 11:32:42]
# 1

> something very basic just like a block moving up and

> down

Creating it doesn't take long. Learning how to do it does.

> i have very little experiance (i can get command line

> to say hello world thats about it)

Learn a few weeks about application design, UIs, the language basics, maybe design patterns.

> soo help

With what?

> I have till thursday and am willing to work like a

> little swine

http://java.sun.com/docs/books/tutorial/uiswing/index.html

http://java.sun.com/docs/books/tutorial/uiswing/painting/index.html

I assume you don't mean a console app, because you can't really animate a console with standard Java. JCurses might help there.

CeciNEstPasUnProgrammeura at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 2

"1 Specification

The aim of your first assignment is to code a simple java program. The pro-

gram must use the DrawingWindow class and the drawing ob jects provided by

the elements package as found in Bailey & Bailey. Additionally, you may use

colour from the awt colour class java.awt.Color. It makes sense to approach the

assignment in the order sec 1.1 to sec 1.3.

1.1 Pass

Draw an ob ject on the screen using the Java Element package. The ob ject can

be anything you want ( except a face - as this is too similar to the tutorial, or

a tree as I use that example later myself ). The ob ject should be composite -

that is consist of more than one part, e.g you could draw a tree, consisting of a

trunk with two branches and some leaves. To pass, your program must compile,

run and the image must be of sufficent complexity, consisting of numerous parts

and a range of colours.

1.2 Merit

Place the same ob ject that was created in part 1 in a few places on the screen.

For example if the ob ject was a tree then create a small forest each tree being

identical except for its position. Think carefully how best to achieve this, if I

asked for a forest with a thousand trees, would you code each tree individually?

What coding ideas could you use to simplify the task?

1.3 Distinctive

The ob jects should now be animated, this could be as simple as altering their

colour, the leaves on the trees mentioned in sections 1.1 and 1.2 could change

from green to brown, or even better the leaves could fall from the trees onto the

ground. You will need to introduce a time delay in the program, then you may

use a method such as,

"

here is exactly what i need to do

im not asking for help just how long

thebigfisha at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 3
How long what? How long I'll need to do it, or how long you'll need to do it? What good is the former information to you (I don't think it's going to take me long), and how would I know the latter?
CeciNEstPasUnProgrammeura at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 4
ok, how long would it take someone to learn java from scratch to do italso out of interest how long would it take you
thebigfisha at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 5
> ok, how long would it take someone to learn java from> scratch to do it> 23 hours, 17 minutes and 28 seconds. Your mileage may vary.
cotton.ma at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 6
> ok, how long would it take someone to learn java from> scratch to do itSomeone talented or someone intalented?
CeciNEstPasUnProgrammeura at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 7
> > ok, how long would it take someone to learn java> from> > scratch to do it> > Someone talented 2 hours, 46 minutes and 51 seconds.>or someone intalented?See previous post.
cotton.ma at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 8
> > Someone talented or someone intalented?Is this like the difference between flammable and inflammable?
ScarletPimpernela at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 9
> Is this like the difference between flammable and> inflammable?I don't know. You're the Limey. You've been living with that language for the last 40+ years.
CeciNEstPasUnProgrammeura at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...
# 10

Hello,

I am a student at the same campus as yourself, i hope that you got but java to work, i am guessing u used a for loop to help animate the design? by clearing the screen and painting the new object? For the distinction i believe i could be wrong use a while loop and the start stop functions, well advice given by the head of department.

I hope everything went well, and the database exam wasn't to bad. Have you sat your methods test as yet?

Pegoa at 2007-7-15 13:59:33 > top of Java-index,Java Essentials,Java Programming...