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


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

Re: Drag and drop to nati

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" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Drag and drop to nati
Message-ID <71b51033bf430@uwe> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <No9_h.55$LR5.13@newssvr17.news.prodigy.net>
References <No9_h.55$LR5.13@newssvr17.news.prodigy.net>
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

Show key headers only | View raw


  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?
<http://java.sun.com/docs/books/tutorialJWS/uiswing/dnd/ex6/DragPictureDemo2.jnlp
>

>...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.
<http://www.physci.org/jws/#cbs>
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.
* <http://www.physci.org/codes/sscce.html>

-- 
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

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


Thread

Drag and drop to native b "Yug3sh" <yug3sh@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
  Re: Drag and drop to nati "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
    Re: Drag and drop to nati "Yug3sh" <yug3sh@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
      Re: Drag and drop to nati "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000

csiph-web