dcsimg
Can I convert "Panel" in "Image"?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   marco_rapa
Posted On:   Thursday, December 5, 2002 02:39 AM

I want to convert un Object of type "Panel" in "Image".


I used myJPanel.getImage(int,int).
Doesn't work!
help me please.

Re: Can I convert "Panel" in "Image"?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Thursday, December 5, 2002 04:12 AM

Ciao Marco,

You cannot invent your own method on a class, just because you think they will create the result you are excepting...


You can take a look at this FAQ: How can I take snapshots of Java components and save them into image files?.


Plus, on this site, there are additional FAQs and forum threads, with additional examples and further information.

Re: Can I convert "Panel" in "Image"?

Posted By:   marco_rapa  
Posted On:   Thursday, December 5, 2002 02:40 AM

ghj
About | Sitemap | Contact