Re: Adding drag-and-drop support for editable files in my NBP-based app

Boris Heithecker <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAL465RFtS4p04V2uwvtxT1+qFuX-HOrsEwEZhnLU3oYm=m93gw@mail.gmail.com>
Hello,
for me, file DnD never worked reliably, not even in the IDE itself. I'd
like my users to be able to drag files from my netbeans application to the
native desktop (Linux and Windows). This should be possible in the IDE too,
ie you should be able to drag nodes of text files from the IDE to your
native explorer or desktop. It sometimes works, but then it may stop
working for whatever reason, I've never found out why. It must be JDK
related, because the system clipboard is always loaded properly.
Boris

2016-07-26 20:10 GMT+02:00 matvei.stefarov <[email protected]>:

> Alright, I have narrowed the problem down a bit.
>
>         File DnD works in the standalone application when NOT running as
> administrator, with either 32-bit or 64-bit launchers and any JRE version.
>
>         File DnD does NOT work in the standalone application when ran as
> administrator.
>
>         File DnD works while running or debugging the app from NetBeans if
> the IDE is started via 32-bit launcher and NOT ran as administrator, with
> any combination of JRE versions.
>
>         File DnD does NOT work while running or debugging the app from
> NetBeans if the IDE is started via 64-bit launcher and/or running NetBeans
> as administrator.
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.