[1808] in java-interest
Re: Q:: image dragging
daemon@ATHENA.MIT.EDU (Maria Winslow)
Sun Sep 17 21:56:15 1995
Date: Sun, 17 Sep 1995 14:40:30 -0400 (EDT)
From: Maria Winslow <biscuit@email.unc.edu>
To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Cc: Tatsuya Nakamura <anchor@open.rd.nttdata.jp>,
java-interest@java.Eng.Sun.COM
In-Reply-To: <Roam.1.2.811121900.29117.avh@acorn>
I just did a click and drag application. I used 3 things to help keep
the flickering down. Double-buffering helped a little, and it is
described somewhere in the sun pages. (It was easy to do.) I still had
terrible flickering, so I clipped my graphics context to only the part
which required updating. That also helped, but I still had some
flickering, so I changed my code to only do calculations on the things
that are within the clipping region. You can view this at
http://www.cs.unc.edu/~winslow/java/
maria
On Thu, 14 Sep 1995, Arthur van Hoff wrote:
>
>
> Hi Tatsuya,
>
> > Hello. My name is Tatsuya Nakamura at NTT Data Comm. Systems Corp. R&D
> > Tokyo. I saw your applet: "How to Avoid Flashing in an Applet". Could you
> > please answer my question about your applet?
> >
> > 1 I want to drag selected image(as an ICON in Macintosh finder).
> > Do you have an idea to implement in Java/HotJava?
>
> The "How to Avoid Flashing in an Applet" applet example is a good example.
>
> > 2 Is it easy to implement drag and drop system with HotJava? Or, do you
> > know any one implement drag-n-drop system?
>
> We currently provide no APIs for drag+drop. We hope to add this in future
> versions.
>
> Have fun,
>
> Arthur van Hoff
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-interest-request@java.sun.com
>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com