This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing related
 
Similar Threads
transparent fillRect possible?
Part II deployment diagram notation
Center text on an image
Clip text in Rectangle
how to draw rectangle like corelDraw?