• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing related

 
paramu iyer
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
paramu iyer
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic