View Single Post
  #2 (permalink)  
Old May 1st, 2007, 12:19 AM
iamrakesh22 iamrakesh22 is offline
Friend of Wrox
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post

As per i know what you should do is when the user clicks on paste you need to read the data in the clipboard and create an image [ImageIcon class,you can use the constructor which takes byte data as parameter] and use the graphichs object [JPanel.getGraphichs()], call the drawImage() method.

you get information about reading from a clip board at the following URL

Hope it gives some start.

Reply With Quote