Brejeon arnaud - 2002-08-21

Hi,

I was having a look at the classes and I noticed that some code is dulpicated (e.g Noodle & AppletNoodle classes).
The reason why it's duplicated is because they both inherit from different AWT classes depending on the JDK.
I think it's necessary to make a BaseNooddle class to gather the common behaviours of both classes.
I guess similar operations can be done for other classes as well.

Do you think it's possible to detect which version of the Java VM we're running and create Noodle or AppletNoodle depending on the version. Would it be useful?

Basically, I don't really like duplicating such classes, it makes everything messy and each time we will add some features (images, ...) we'll have to duplicate.
What do you think?

Arnaud