Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Andrew Thompson" Subject: Re: Drag and drop to nati Message-ID: <71b51033bf430@uwe> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 57 Date: Wed, 27 Apr 2011 15:34:08 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918448 96.60.20.240 (Wed, 27 Apr 2011 10:34:08 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:34:08 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1578 To: comp.lang.java.gui Yug3sh wrote: .. >I tested the DragPictureDemo tutorial >(http://java.sun.com/docs/books/tutorial/uiswing/dnd/intro.html#cut) Huh? Which JNLP are you referring to? This one? >...on both >Windows XP (32 bit) using JDK 6 and on Windows Vista (64 bit) using the Sun >64 bit JDK (version 6). Win XP Pro (..32 bit) JDK 6. >The demo does not drop the images to an external application e.g. windows >paint. No. It (the one I linked to) is sandboxed. Pictures can be drag/dropped to blank squares withint the frame, but nowhere else. Try this (also sand boxed) use of copy/paste between a web start app. and *external* native apps. I have been vaguely wonderring if it might be adaptable to D'n'D. Of course get the app. singed (digitally) and accepted by the user with 'all-permissions' and you might use D'n'D how you would in an application launched from the command line (w/ no security manager). >I have also been trying to write my own code that will drop an image from a >Java Swing application to an external app on Vista 64 (e.g. paint), however >it does not seem to work. Maybe it is just lazy. ;-) Otherwise, if you can reduce that code as an SSCCE*, and post it here, complete with the copy/pasted stacktraces you are seeing, and we might be able to advise further. * -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200705/1 --- * 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