How can I convert an Icon to an Image
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rabc_topu
Posted On:   Wednesday, October 10, 2001 10:41 AM

How can I convert the myIcon below to an Image so that I can use it in the ToolKit



Icon myIcon = (TransferableDataItem.myIconNodeClass.getIcon());
//Cursor dragIcon = Toolkit.getDefaultToolkit().createCustomCursor(myImage, new Point(0,0), "My cursor") ;

Re: How can I convert an Icon to an Image

Posted By:   Nitesh_Naveen  
Posted On:   Wednesday, October 10, 2001 11:35 AM

Did u try giving the src of the image object as the .ico file or the Icon.src Never heard of the Icon object though...
About | Sitemap | Contact