java - SetDropTarget not working if Jar ran as Administrator -


i'm making drag n drop function jlabel, runs if run normal privilege. have file being dragged admin privilege, program won't allow me drag anyfile if run admin. how work? :)

edit

here's screenshot: enter image description here

left 1 when run jar cmd normal privilege (just cmd), right 1 when run jar cmd admin privilege (right click , run admin).

the reason program need admin privilege because accessing part of registry can manipulated admin privilege.


Comments