Article View: borland.public.jbuilder.java.api
Article #3558Drag and drop
From: Clayton Peirens
Date: Thu, 04 Dec 1997 00:00
Date: Thu, 04 Dec 1997 00:00
24 lines
1300 bytes
1300 bytes
With regards to the following: Do you have a small example you could either send me or direct me to? Thanks in advance, Clayton In article <34830B74.B622621E@borland.com> Andrew Bennett <abennett@borland.com> wrote: >> 4. Will drag & drop support be available to add to an interface to allow >> users to drop files into a Container? > > Drag and drop has it's problems, especially with platforms that don't > support it, or do different things than what is done under what we > think of as typical, aka, win32. > > It is possible to do drag and drop inside a Java application using > a technique called triple buffering. Basically, as the mouse events > move the image, it's moved on offscreenImage1. offscreenImage1 > is copied to offscreenImage2, which has the background. > offscreenImage2 is copied to the current context . This is a lot > quicker than repainting the backround after each mouse event.
Technical Details
Message-ID:
<666lvr$v31@forums>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,efc4b2bec34932ea,start X-Google-Attributes: gid1089d0,public From: peirensc@kochind.com (Clayton Peirens) Subject: Drag and drop Date: 1997/12/04 Message-ID: <666lvr$v31@forums> X-Deja-AN: 295154061 Distribution: world Organization: None Newsgroups: borland.public.jbuilder.java.api