eranga262154 22 Junior Poster

Yes, that code is too much to make a try pal. Too boring. Please specify your question with the simple code.

eranga262154 22 Junior Poster

Suns' web site always give the good codes.

eranga262154 22 Junior Poster

I suggest 2D Graphics. Work on Intelli JIdea.

eranga262154 22 Junior Poster

Definitely you need to use 2D Graphic to do this.

eranga262154 22 Junior Poster

did some work with JAVASWING. with UI creation.
My intension over here, is that i can view the Constriants visually and control using the GUI interface.

Do you recommend any source code examples?
Just to show some constraints that i set for my program. such as (a timetabling problem)

1. No student should assigned to CM401 at the same time
2. no classes allocated during 12:00PM to 1:00PM

I am looking for the data-visualization and constraint satisfaction to be visualized.

What you mean data-visualization. I think you may use data base to do this.

eranga262154 22 Junior Poster

I understand the connection you are making, but one can make UIs with Swing without having to directly use any of the Graphics or Graphics2D methods. Only when he gets into wanting to produce charts and graphs would he need to learn the Graphics2D API.

That is the reason that I mentioned them separately. They can be treated as two independent subjects basically.

Of course, you are right. You know what I'm going to point out there.

eranga262154 22 Junior Poster

Actually swing is the base of Java graphic, because when you work on swing you have to cover all the fundamentals. So it is good to start.

By yourself working, it will take little more time to do your work successfully.

eranga262154 22 Junior Poster

I think it is not much difficult to start work with applets and swing by referring a best tutorial. Actually try with worked examples.

Sun official web site always provide the best tutorials on that. All the time I used sun web site to find such informations.

Here is a link.

If you like to refer a book, if you have time to spend on that, this is the best book I recommended.

Java 2D API Graphics, by: by Vincent J. Hardy