Java Paint Programming Project
Hello Java Sun Forum developers.
I have some questions. I hope you will help me to solve my problems with the project work which I have been dealing with recently and is about Programming a Paint Software with Java.
Firstly I wanna construct a general class hierarchy and I don't know where to start to implement the code . Can you help me ?
[362 byte] By [
fakiha] at [2007-11-27 9:21:22]

> Firstly I wanna construct a general class hierarchy> and I don't know where to start to implement the codeYou don't start coding. You start using pencil and paper to define your architecture.And indeed, as said, this isn't the place for general questions.
In my experience, class hierarchies are overrated.
Yeah, I used to want to approach a project by developing some rich, detailed, very deep class hierarchy...but in practice, it wasn't very useful or flexible, and tended to lead to painful artificial restrictions.
You're better off with a few interfaces defining major players, have some implementations of those classes, ending up with a handful of small, local, relatively shallow class hierarchies.