File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Swing related Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing related" Watch "Swing related" New topic
Author

Swing related

paramu iyer
Greenhorn

Joined: May 13, 2006
Posts: 24
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

Joined: Jan 14, 2004
Posts: 1535
paramu iyer
Greenhorn

Joined: May 13, 2006
Posts: 24
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Swing related