SecurityException while drag and drop ??

hi group,
i am getting security Exception while drag and drop.
Any body can find this bug...
Exception occurred during event dispatching:
java.security.AccessControlException: access denied (java.awt.AWTPermission acceptDropBetweenAccessControllerContexts)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at sun.awt.windows.WDropTargetContextPeer.getJVMLocalSourceTransferable(Unknown Source)
at sun.awt.windows.WDropTargetContextPeer.processEnterMessage(Unknown Source)
at sun.awt.windows.WDropTargetContextPeer.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
thank u..

hi,
your problem might be due to any of the following
1. No java 2 plugin - install it.
2.drag & drop between AWT & Swing Frames(windows)
3. Add the following text to your java.policy file and restart your computer.
grant {
permission java.awt.AWTPermission "accessEventQueue";
permission java.awt.AWTPermission "setDropTarget";
permission java.awt.AWTPermission "accessClipboard";
permission java.awt.AWTPermission "acceptDropBetweenAccessControllerContexts";
permission java.awt.AWTPermission "listenToAllAWTEvents";
please let me know if this works.
good luck

Similar Messages

  • Keyboard shortcuts while dragging-and-dropping?

    In Windows, when I'm dragging and dropping files from one folder to another, I can press keys on the keyboard to force it to change its behaviour -- for example, if I hold the Crtl key down, it will force it to copy files instead of move them.  Similarly, I can hold down the shift key to force it to move files when it wants to default to copying them.
    What is the equivalent keypress on a Mac running OS X 10.9.2?  It keeps moving files when I want to copy them (and vice-versa) and I just can't figure out which key(s) to press while dragging-and-dropping to make it change its behaviour.
    Thanks for your help,
    Laurence MacNeill
    Mableton, Georgia, USA

    Press the Option key to force a copy, or the Command key to force a move. Pressing both at once will create an alias.
    (103123)

  • Close folders while drag-and-dropping files?

    When dragging files to move them, often some large folders will be open, which means I have to drag/scroll thru the file list to get to other folders. Is there a way to close folders while dragging files?

    EMichaelM wrote:
    I just installed two widgets that are supposed to function by dragging and dropping files into them. How do I get access to files? How do you get files from the Finder into the dashboard?
    You need to activate Dashboard's "Developer Mode" in order to keep widgets active on the desktop.
    Open Terminal and enter the following command:
    <PRE>
    defaults write com.apple.dashboard devmode YES
    </PRE>
    Close Terminal, log out of your user account, and log back in again. To move a widget onto your desktop, activate Dashboard and start dragging the widget to the desktop. Press F12 before letting up on the mouse button to close Dashboard, and the widget should now be permanently affixed to the desktop. Drag to your desired location.
    Steve

  • Error while drag and drop photo from Iphone to PC

    My PC OS: Window Vista 32bit
    when I connect iphone to PC. I can access iphone by Portable device->My Iphone-> Internal storage-> DCIM->100apple-> xxx.jpg
    and when I copy the pic and paste it to my PC, or drag and drop photo from Iphone to PC, it fail and show below error and force to close all explorer.
    Problem name: BEX
    Program name: explorer.exe
    problem version: 6.0.6001.18164
    Error module name: wzshlex1.dll
    Error module version: 4.1.8477.0
    blah blah
    and now I cannot delete DCIM file. while I try to delete it, a message said the device no response.
    and I found one thing, I use a "iphone photo" program to check photos in Camera Roll, it show 2 pics that cannot be show when I use explorer browse the folder.
    who can help me?

    hmm fixed by uninstall winzip
    thats interesting..

  • Error while drag and drop in OAWD transaction

    Hi Expert,
    One of my user is trying to attach a document through Drag and Drop in OAWD transaction after he attaches a document and when he cancels on the cancel button he is getting the following error:
    Crtical error during Archiving: Archiving Directory cannot be created. The Archiving procedure will be aborted.
    Please help to resolve this issue.
    Thanks in advance.

    Hi Babu Nair, how did you solve this issue?
    Rgds,
    Nanie

  • Display JTree Node as image  while Drag And Drop

    HI all.
    I have multiple 5 JTrees which involve drag and drop to each other . I would like to display the node(JCompenent) as image/cursor which a DnD operation .So that user could see what he drags .
    I tried out the example about ghost image .
    http://www.javaworld.com/javaworld/javatips/jw-javatip114.html
    This works fine ,but when i apply the same concepts to my application it doesnt work .
    Could any one suggest what could be problem.
    Cheers,Baiju

    I also need to drag my node on my scene during a "drag and drop" operation. But i can't find a solution.
    I've tried to use "startFullDrag()" and catch MouseDragEvent, but nothing ...
    Can anyone help me ?
    Thank !

  • Ghost image for multiple selection in JTree while drag and drop.

    I am unable to create a Ghost image for drag and drop with in the JTree for multiple selection, i got some examples but all are for single selection ,
    Idea of creating buffered image is good , but unable to create it for multiple selection , tried a lot but got weird results.... can any body give me any clue about this , if got any example that will be fantastic.
    Thanks & Regards
    Sandeep Mandori

    sandeep_mandori wrote:
    I am unable to create a Ghost image for drag and drop with in the JTree for multiple selection, i got some examples but all are for single selection ,
    Idea of creating buffered image is good , but unable to create it for multiple selection , tried a lot but got weird results.... can any body give me any clue about this , if got any example that will be fantastic.
    Thanks & Regards
    Sandeep MandoriTry this:
        private TreePath[] dragPath;
        private BufferedImage[] image;
        private void createDragImage(JTree tree) {
            if (dragPath != null) {
                try {
                    image = new BufferedImage[dragPath.length];
                    for (int i = 0; i < dragPath.length; i++) {
                        Rectangle pathBounds = tree.getPathBounds(dragPath);
    TreeCellRenderer r = tree.getCellRenderer();
    DefaultTreeModel m = (DefaultTreeModel)tree.getModel();
    boolean nIsLeaf = m.isLeaf(dragPath[i].getLastPathComponent());
    MutableTreeNode draggedNode = (MutableTreeNode) dragPath[i].getLastPathComponent();
    JComponent lbl = (JComponent)r.getTreeCellRendererComponent(tree, draggedNode, false ,
    tree.isExpanded(dragPath[i]),nIsLeaf, 0,false);
    lbl.setBounds(pathBounds);
    BufferedImage img = new BufferedImage(lbl.getWidth(), lbl.getHeight(),
    BufferedImage.TYPE_INT_ARGB_PRE);
    Graphics2D graphics = img.createGraphics();
    graphics.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f));
    lbl.setOpaque(false);
    lbl.paint(graphics);
    graphics.dispose();
    image[i] = img;
    } catch (RuntimeException re) {}

  • Getting a stop  symbol while dragging and dropping in IE9 and IE8

    Hello,
    I have implemented the drag and drop of row in a table. The functionality is working fine but in IE 8 and IE9 when I drag and drop the row over another row it is showing a stop sign, though in-spite of that stop symbol the drag and drop is working fine. I am using jdev 11.1.1.6
    Thanks
    Tarun

    Hi,
    The cursor is under the control of the drag and drop framework during drag and drop operations. So if the behavior is normal on FF and /or Chrome and you have a support contract, please file a service request asking the analysts to look at your test case. Alternatively you can try and set.
    If you don't have a support contract (still we are interested to get this issue checked), please send a test case to myself (mention your OS and the exact IE versions - you find that in the Help / About). In the latter case zip the workspace, rename the zip to unzip and use the mail address in my OTN profile.
    Frank
    Disclaimer: Bugs I file flagged "internal" and not visible outside of Oracle. In addition I don't track bugs to provide status updates.

  • While dragging and dropping text on Mail sometimes is copied instead of moved

    When composing a message under Mail it happens that a word needs to be cut from a place and paste somewhere else in the body. Instead of cutting&pasting most text editors allow the user to drag the selected word (or consecutive words) and drop them as desired. Well, why on earth Mail sometimes actually moves the selected words while sometimes it copies words?
    I reported this bug already under Mountain Lion, but it hasn't been fixed yet. Text Edit, built in as well as Mail, works properly.

    Press the Option key to force a copy, or the Command key to force a move. Pressing both at once will create an alias.
    (103123)

  • How to disable ctrl,shift while drag and drop

    after starting the drag, i donnot want the user to change action with ctrl & shift. how can i do that?

    The Error Console click is visible in Tools of FireFox 3.6.8. Against it is mentioned the shortcut key Ctrl+Shift+J. How can I do away with this shortcut key? If I want to see the Error Console, I can click at it. This shortcut key of FireFox is interfering with this very shortcut key on InfraWare Transcription Client 2009 on which I work online and which is set to run on Internet Explorer only.
    I thank you for asking me to go through a whole gamut of an article on Key Configuration much of which is Greek to me. I am getting nowhere doing that.

  • Any fixes for drag and drop not working in WAD with IE9?

    I have exactly the same issue as is described in WAD Problem - can't modify and Drag&drop in Web App Designer (WAD) doesn't work but unfortunately I don't have the option of going from IE9 back to IE8.  Has anybody found a fix for using drag and drop in WAD with IE9?
    Edited by: Jason Muzzy on Jul 22, 2011 1:09 AM

    Hi Jason,
    Thanks for replying .
    But I am facing this isssue in Web Application Designer. The link which I have shared shows the behavious of cursor while dragging and dropping
    Drop not allowed ("blocked traffic" sign)
    Drill across (arrow pointing to the right)
    Drill down (arrow pointing down)
    Exchange dimensions (exchange icon)
    Add to filter (add icon)
    Remove from filter (remove icon)
    Reorder list (reorder icon).
    This issue I am getting in Web Application Designer itself.In WAD 7.X ANALYSIS TABLE do we have any option from which we can disable drag and drop of cells because it is destroying the view of report output .
    In WAD 7.X we have option of Activate Navigation in ANALYSIS TABLE but if we disable this our context will get disable and it shows the default Browser context menu.We have not provided any such options so that its original layout will retain back .
    The solution they have mentioned to Disable Drag and Drop is not available in WAD ,its available in Analyzer.
    Please let me know if you have found any solution for this.

  • How to drag and drop events across months while in month view?

    Is there a way to drag an event across months when the view is set to monthly view?  I know the events can be dragged and dropped across the days in the month on the screen, but how can I carry through the end of the month - there does not seem to be a way to move the screen view to the next month while the event is being dragged!

    Hi,
    You can do it with keyboard shortcuts.
    Select the event. Press Cmd+X. Press Cmd and right or left arrow (depending if it is forward or back in months) until you are in the correct month. Press Cmd+V to pase on the same day in the new month.
    Best wishes
    John M

  • Can't drag and drop files into Attachments while in Administrator mode

    I can drag and drop files into attachment easily when I'm not in Administrator mode. But I need to be in Administrator mode at work and therefore for some reason I cannot drag and drop files into attachments; I'm forced to manually search and select particular files for attaching, which significantly slows my day-to-day work.
    Is it a bug?
    I have the up-to-date version of Thunderbird and I use MS Windows 7 Ultimate.
    Any help would be highly appreciated.
    Thx

    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Mackbook can't drag and drop after working in indesign CC for a while.

    This has been going on for a while.  I am working in Indesign then all of the sudden all my drag and drop cappabilities are gone.  i have to restart my computer to fix the problem and being that the start up times for the cc software is outragous,  this sucks for my workflow.  I have seen Adobe techs say that there isn't a difference in the backend between 6 and cc for the whole suite but seeing is believing and I don't make things up.

    hi Dustin, maybe with a bit more info someone will be able to help with this:
    what Mac OS System version are you using?
    what is it you are 'dragging and dropping'? : Is this drag and drop of text in InDesign? Or are you dragging and dropping from the Mac OS (e.g. a file from a folder) into InDesign?
    If you are referring to drag and drop from OS into InDesign: I'm thinking this 'might' be a Mac OSX issue. If you look over at https://discussions.apple.com/index.jspa there seem to be plenty of issues with drag and drop across different OS versions.
    Next time it stops working whilst you are in InDesign, does it still work in other programs? That is one way of determining if this is caused by InDesign or the operating system. If it is the OS, my guess is that it stops working in other applicaitons as well.
    Hope this helps,
    Cari
    twitter: carijansen
    facebook: carijansen.au

  • ITunes 11.0.4 still copying files to media library after dragging and dropping while holding down "option"

    I'm having trouble adding media without automatically copying the file to the iTunes media libary after dragging and dropping while holding down "option."
    In Preferences > Advanced, "Copy files to iTunes media folder when adding to library" is checked. When I drag a file into iTunes while holding "option", the green "plus" icon disappears. However, iTunes still copies the file to media folder.
    Any suggestions?

    you can also try:
    I found that if I SCROLL down to the word 'playlist' and hover around the name, a 'show' comes up.  Click on the 'show' and everything magically appears.

Maybe you are looking for

  • I am trying to add, through an amplification project, the field counts alte

    hello dear,  I have a countable document with several positions with classes of costs, which have imputation object the order co.  I am trying to add, through an amplification project, the field counts alternative to transaction KSB1.  the problem th

  • Masking image in Indesign

    Hi there, I searched the web about masking object in ID, but the way I found seems a bit odd, so I feel there has to be some other, elegant way... Just additional info: I do package for socks. What I have: Plain imported PSD: paper texture. IMG 01 Sh

  • BusinessObjects XI 3.1 Designer 连接BW QUERY 问题?

    晚上好,    请教一个问题:BusinessObjects XI 3.1  Designer 连接BW QUERY ,Designer  可以直接连接 BW 系统标准CUBE 0SD_C01 的QUERY,但是其它我自定义的CUBE 的QUERY却不能显示出来连接,这个是什么权限问题呢? 如下图. [http://file.itpub.net/attachment/day_091216/20091216_21a7d983a9bfcd34a0c9eMTYbB9zDfnM.jpg|http://f

  • HP Mediasmart EX485 - grey icon in system tray on all PCs

    Nevermind..  I fixed it by shutting down the server, removing the 3 drives, blowing/vacumming out the unit, reinstalling, and restarting.  Didn't see any excessive dust, but... Voila! Two nights ago  when my MediaSmart EX485 started up on schedule, t

  • Need  help finding tutorials for segmenting and contouring

    I'm completely knew to photoshop and other image editting software so I'm rather lost at the moment. Would someone please direct me to a tutoral or tutorials detailing the proper method to contour or segment an image? Thanks for the help.