Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic Graphics questions

Status
Not open for further replies.

brownie124

Programmer
Sep 19, 2002
61
US
Hi,

In all the examples I see of using Graphics in Java it is all with applets. I am talking about doing things like draw3DRect, drawRoundRect, etc. This must be able to be done in a Java app, correct?

Also, can I paint graphics to a dialog box?

Thanks,
- Michael
 
>> This must be able to be done in a Java app, correct?

Yes. Why did you try it and it doesn't work?

>> Also, can I paint graphics to a dialog box?

class java.awt.Component declares the paint method. Take a look at the class hierarchy for javax.swing.JDialog

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top