Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #392

Re: Mouse position while

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Mouse position while
Message-ID <1166032218.119442.186150@16g2000cwy.googlegroups.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1166028057.572289.59300@f1g2000cwa.googlegroups.com>
References <1166028057.572289.59300@f1g2000cwa.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 19
Date Wed, 27 Apr 2011 15:27:16 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918036 96.60.20.240 (Wed, 27 Apr 2011 10:27:16 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:27:16 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:392

Show key headers only | View raw


  To: comp.lang.java.gui
mic wrote:
> Hi swing experts!

Note that D'n'D is AWT.

> I want to move a custom Transferable via Drag&Drop from a JTree to a
> JPanel.
...
> The trouble is, I can't determine the mouse position on the JPanel.

<url:http://java.sun.com/j2se/1.5.0/docs/api/java/awt/dnd/DragSourceEvent.html#getLocation()>

Andrew T.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Mouse position while drag "mic" <mic@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: Mouse position while "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: Mouse position while "mic" <mic@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000

csiph-web