Article View: borland.public.jbuilder.java.language
Article #7Re: Dragging a url from IE or Netscape
From: John P. McGrath
Date: Sat, 22 Apr 2000 00:00
Date: Sat, 22 Apr 2000 00:00
24 lines
1568 bytes
1568 bytes
On Fri, 21 Apr 2000 13:54:50 -0400, Omar Dominguez wrote: > I want to be able to drop a URL into an AWT component that has > been dragged from IE or Netscape. I am using AWT Components, > because I want to be able to run this applet in most browsers. > Any idea on how to do this??? If you are talking about running this in a JDK 1.1 enabled browser, then I do not think it is possible. It should be possible using the drag and drop APIs that were added in JDK 1.2, but you would have to use the Java plugin for that. This should work with plain old AWT components, but I am guessing that the reason you want to limit yourself to AWT is so that you can run with JDK 1.1 enabled browsers. In that case, you are out of luck. Note that there are some problems using drag and drop in some environments. I cannot tell you what all of the problems are, but it seems that Sun is still working out the kinks. -- John P. McGrath <JPMcGrath@fast.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.136b26ec740b1b959898a4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<390091dd@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a1580b937e53dcf1 X-Google-Attributes: gidf74b3,public X-Google-Thread: ff01d,a1580b937e53dcf1 X-Google-Attributes: gidff01d,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: Dragging a url from IE or Netscape Date: 2000/04/22 Message-ID: <MPG.136b26ec740b1b959898a4@forums.borland.com> X-Deja-AN: 614239338 References: <390091dd@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.applet-issues