It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "AWT Rectangle(URGENT)" Watch "AWT Rectangle(URGENT)" New topic

AWT Rectangle(URGENT)

Angela Jessi
Ranch Hand

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

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...


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
wood burning stoves
subject: AWT Rectangle(URGENT)
Similar Threads
Doubt on Dynamic polymorphism
Is it possilbe to create Gantt chart without any tool
accessing private variable of another object of same class
static members and inheritance
An ambiguous question from round up game