Results 1 to 1 of 1
Thread: Droptarget problem
- 02-13-2010, 08:13 AM #1Member
- Join Date
- Jan 2010
- Rep Power
Ho guys i want just your idea about the following problem:
i have a jlabel than implements a droptarget listener...it makes some operation when i drop an image inside(this image is dragged from another component)...
I would to limitate the drop area inside the component without(or with less) modify the droptarget method. I create a polygon inside jlabel and i would that droplistener calls drop methods only when mouse goes inside polygon area...any idea? Thx you in advance guys...
- By helpisontheway in forum New To JavaReplies: 1Last Post: 11-17-2009, 06:12 AM