project tasks component

I'd like to show project info on a pane in a Gant-diagram format (tasks, dependences, dates/calendar, resources, ...). Do you know any java component that coud help me?Thanks for your help
[217 byte] By [willhunting] at [2007-9-18]
# 1

I dont know of any standard java components that do this. Not too long ago I had to write a component to do some graphing, and it was a pretty difficult prospect. (It took about a week). Anyway here some ideas:

1. Easiest choice : If you got the cash (say if this is for work), maybe look into getting some third party graphing software. Ive heard of a couple by the KL group or one called JLoox.

2. Maybe check out the Java2D API. I know it has components for drawing lines and stuff. Havent checked it out to closely myself.

3. The hard way : Make your own Gantt diagram component. This would probably involve deriving from JPanel and overriding the public void paint(Graphics g)

function. You would then use the graphic object to draw the diagram. This is what i did and it was pretty time consuming with the testing and everything.

jbonik at 2007-7-1 > top of java,Archived Forums,Swing [Archive]...
# 2

> I'd like to show project info on a pane in a

> Gant-diagram format (tasks, dependences,

> dates/calendar, resources, ...).

>

> Do you know any java component that coud help me?

>

> Thanks for your help

Hi,

I'd suggest you check out JHotDraw. It's available on sourceforge.net and is a mature framework for drawing shapes in Java. It comes with sample application, which let's you draw pert charts. This should at least be a good starting point. BTW, one of the authors is Gamma, who co-wrote the design patterns book.

The url is http://sourceforge.net/projects/jhotdraw/

Janek.

jschwarz2 at 2007-7-1 > top of java,Archived Forums,Swing [Archive]...