|
Author |
Topic: Is P5 a drag? (Read 297 times) |
|
skloopy
|
Is P5 a drag?
« on: Aug 4th, 2003, 2:01am » |
|
This might seem like an off the wall question. Is it possible in P5 or Java to capture stuff being dragged into the sketch window? For example an image, some text, or a file? Or, is that an OS specific thing? Sun must have thought obout people wanting to do that..
|
|
|
|
fry
|
Re: Is P5 a drag?
« Reply #1 on: Aug 4th, 2003, 6:07am » |
|
you can use java's drag and drop api to catch stuff being dropped in. i don't have an example handy, but it's doable. however it won't work in applets, since they're exported as java 1.1 only, which had no drag 'n drop. so you'll have to stick within the environment.
|
« Last Edit: Aug 4th, 2003, 6:08am by fry » |
|
|
|
|
|