I am using drawRect method in the Graphics to draw a rectangle. No I want to put text inside the rectangle. Is there any way to do that so that the text gets wrapped up automatically when it finds the end of the rectangle?
If we have classes that can draw individual figures like rectangle,circle etc , How can we draw a complete flow chart or a use case where we are uncertain about the number of rectangles , circles etc which may come from some xml.
We can use a panel and use Grid Bag Lay out, I guess but how to get the use case diagram or a flow chart ?