Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes AWT Rectangle(URGENT) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "AWT Rectangle(URGENT)" Watch "AWT Rectangle(URGENT)" New topic
Author

AWT Rectangle(URGENT)

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
How to add string and display string in rectangle?
Thanks
Angela
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

I don't really understand what you are asking... could you post more details...

Do you need it on a GUI? Make a modified Label...

Do you need to draw it in a Graphics context? Draw the string after you draw the Rectangle...

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AWT Rectangle(URGENT)