Activating Drag and Drop As window in jdevstudio1013

Dear All,
I'm using jdevstudio1013.I don't see Drag And Drop As Window below Component window.Instead I see Property Inspecter Window .
How to activate Drop And Drag As window?
With rgds,
Shrinaw

Hi,
The project is set as a JSF project.
And yes, there are the following error messages in the console when trying to drop a method into the page. The create command button / link dialog appears, and after choosing an option, nothing happens.
2007.07.30. 9:34:39 oracle.javatools.logging.LogUtils log
WARNING: Exception in task oracle.bali.xml.model.XmlModel$4@ebad43 on model orac
le.jdevimpl.webapp.jsp.JspXmlModel@eefa28; txn name=internal txn
oracle.jdevimpl.webapp.model.content.dom.util.ModelDomUtil$InvalidArgumentXmlException: Body node is not valid location for inserting Messages element. Try inserting at another location in the document.
at oracle.jdevimpl.webapp.model.content.dom.util.ModelDomUtil._doInsertNodes(ModelDomUtil.java:1716)
at oracle.jdevimpl.webapp.model.content.dom.util.ModelDomUtil.doInsertNodes(ModelDomUtil.java:1599)
at oracle.jdevimpl.webapp.common.WebAppXmlModel.insertNodesImpl(WebAppXmlModel.java:124)
at oracle.bali.xml.model.XmlModel$4.performTask(XmlModel.java:1414)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
at oracle.bali.xml.model.XmlModel.insertNodes(XmlModel.java:1384)
at oracle.jdevimpl.webapp.editor.LayoutXmlView$1.performTask(LayoutXmlView.java:194)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
at oracle.jdevimpl.webapp.editor.LayoutXmlView.insertNodes(LayoutXmlView.java:181)
at oracle.bali.xml.model.AbstractModel$1.performTask(AbstractModel.java:466)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:190)
at oracle.bali.xml.model.AbstractModel.insertXmlKey(AbstractModel.java:447)
at oracle.adfdtinternal.view.faces.addin.ADFBindingXmlContextListener$AddMessagesPostInsertionTask.performTask(ADFBindingXmlContextListener.java:227)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
at oracle.adfdtinternal.view.common.binding.operation.CreateOperation$1.
performTask(CreateOperation.java:170)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(Sta
ndardTransactionTask.java:167)
at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:147)
at oracle.bali.xml.model.datatransfer.operation.PerformOperationAction.actionPerformed(PerformOperationAction.java:39)
at oracle.bali.xml.share.ActionProxy.actionPerformed(ActionProxy.java:47)
at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy.actionPerformed(DropMenuInvoker.java:235)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
2007.07.30. 9:34:39 oracle.javatools.logging.LogUtils log
WARNING: Exception in task oracle.jdevimpl.webapp.editor.LayoutXmlView$1@bc1eb2
on model oracle.jdevimpl.webapp.editor.LayoutXmlView@18587fe; txn name=internal
txn (exception previously logged)
2007.07.30. 9:34:39 oracle.javatools.logging.LogUtils log
WARNING: Exception in task oracle.bali.xml.model.AbstractModel$1@833c98 on model
oracle.jdevimpl.webapp.editor.LayoutXmlView@18587fe; txn name=Insert Messages (exception previously logged)
2007.07.30. 9:34:39 oracle.javatools.logging.LogUtils log
WARNING: Exception in task oracle.adfdtinternal.view.faces.addin.ADFBindingXmlContextListener$AddMessagesPostInsertionTask@1ff5bf1 on model oracle.jdevimpl.webapp.editor.LayoutXmlView@18587fe; txn name=Add faces messages task (exception previously logged)
2007.07.30. 9:34:39 oracle.javatools.logging.LogUtils log
WARNING: Exception in task oracle.adfdtinternal.view.common.binding.operation.CreateOperation$1@1ed3ca7 on model oracle.jdevimpl.webapp.editor.LayoutXmlView@18587fe; txn name=Create ADF Command Button (exception previously logged)
oracle.jdevimpl.webapp.model.content.dom.util.ModelDomUtil$InvalidArgumentXmlException: Body node is not valid location for inserting Messages element. Try inserting at another location in the document.
at oracle.jdevimpl.webapp.model.content.dom.util.ModelDomUtil._doInsertNodes(ModelDomUtil.java:1716)
at oracle.jdevimpl.webapp.model.content.dom.util.ModelDomUtil.doInsertNodes(ModelDomUtil.java:1599)
at oracle.jdevimpl.webapp.common.WebAppXmlModel.insertNodesImpl(WebAppXm
lModel.java:124)
at oracle.bali.xml.model.XmlModel$4.performTask(XmlModel.java:1414)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
at oracle.bali.xml.model.XmlModel.insertNodes(XmlModel.java:1384)
at oracle.jdevimpl.webapp.editor.LayoutXmlView$1.performTask(LayoutXmlView.java:194)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
at oracle.jdevimpl.webapp.editor.LayoutXmlView.insertNodes(LayoutXmlView.java:181)
at oracle.bali.xml.model.AbstractModel$1.performTask(AbstractModel.java:466)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:190)
at oracle.bali.xml.model.AbstractModel.insertXmlKey(AbstractModel.java:447)
at oracle.adfdtinternal.view.faces.addin.ADFBindingXmlContextListener$AddMessagesPostInsertionTask.performTask(ADFBindingXmlContextListener.java:227)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
at oracle.adfdtinternal.view.common.binding.operation.CreateOperation$1.performTask(CreateOperation.java:170)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:147)
at oracle.bali.xml.model.datatransfer.operation.PerformOperationAction.a
ctionPerformed(PerformOperationAction.java:39)
at oracle.bali.xml.share.ActionProxy.actionPerformed(ActionProxy.java:47)
at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy.actionPerformed(DropMenuInvoker.java:235)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Thanks,
Patrik
(PS.: Is it the right thread or should I start another one?)

Similar Messages

  • Drag and drop to Windows desktop

    Hi
    I've been struggling with this for a while, I've got a TransferHandler class that allows drag and drop from Windows desktop to application, now I'd like to do the reverse, but can't seem to provide the suitable DataFlavor to the OS, I'm using javaFileListFlavor obviously. I am currently creating a Transferable with createTransferable, but this is a StringSelection, and I can't remove this because I need it for internal drag and drop in the application. Please advise.
    public class CDrag extends TransferHandler {
        public CDrag(TreeTableView ttv) {
            this.ttv = ttv;
            dndData = new ArrayList();
            relPath = "/";
            try {
                uriFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
            } catch (ClassNotFoundException e) {
        @Override
        public int getSourceActions(JComponent c) {
            return MOVE;
        @Override
        protected Transferable createTransferable(JComponent c) {
            String nodes = "";
            int j = 0;
            TreePath[] sel = ttv.treeTable.getTreeSelectionModel().getSelectionPaths();
            for (TreePath i : sel) {
                FileNode fNode = (FileNode) i.getLastPathComponent();
                if (j > 0) {
                    nodes = nodes + "\n";
                nodes = nodes + fNode.toString();
                j++;
            return new StringSelection(nodes);
        @Override
        protected void exportDone(JComponent c, Transferable t, int action) {
            if (!dndData.isEmpty()) {
                File[] sg = (File[]) dndData.toArray();
             // delete files that are dropped
                dndData.clear();
        @Override
        public boolean canImport(TransferSupport supp) {
            if (supp.isDataFlavorSupported(DataFlavor.stringFlavor)) {
                return true;
            if (supp.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) {
                return true;
            if (supp.isDataFlavorSupported(uriFlavor)) {
                return true;
            return false;
        private boolean importFiles(TransferSupport supp, File[] files) {
         // function that recursively processes all files and folders
        @Override
        public boolean importData(TransferSupport supp) {
            if (!canImport(supp)) {
                return false;
            String fns = "";
            Transferable t = supp.getTransferable();
            try {
                if (supp.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) {
                    File[] fnsl = (File[]) ((List) t.getTransferData(DataFlavor.javaFileListFlavor)).toArray();
                    return importFiles(supp, fnsl);
                } else if (supp.isDataFlavorSupported(uriFlavor)) {
                    String s = (String)t.getTransferData(uriFlavor);
              StringTokenizer st = new StringTokenizer(s, System.getProperty("line.separator"));
              ArrayList files = new ArrayList<File>();
              while (st.hasMoreTokens()) {
                   String file = st.nextToken();
                   try {
                           URL url = new URL(file);
                        files.add(new File(URLDecoder.decode(url.getPath())));
                   } catch (MalformedURLException mue) {
                    return importFiles(supp, (File []) files.toArray());
                } else {
                    fns = (String) t.getTransferData(DataFlavor.stringFlavor);
            } catch (UnsupportedFlavorException ex) {
                Logger.getLogger(CDrag.class.getName()).log(Level.SEVERE, null, ex);
            } catch (IOException ex) {
                Logger.getLogger(CDrag.class.getName()).log(Level.SEVERE, null, ex);
         // the rest of the code here process a StringSelection
            return true;
        private List<File> dndData;
        private String relPath;
        private DataFlavor uriFlavor;
    }I have the following information available in the FileNode class - the name of the file, the path inside the application, date modified, size, whether it is a file or folder. How do I get these values into a javaFileListFlavor that Windows will understand? Also, I would need a way of returning the actual file data (which will be read from a remote server). The basic File class doesn't allow many of these things to be set.
    Regards
    Lionel

    I have the following information available in the FileNode class - the name of the file, the path inside the application, date modified, size, whether it is a file or folder. How do I get these values into a javaFileListFlavor that Windows will understand? Also, I would need a way of returning the actual file data (which will be read from a remote server). The basic File class doesn't allow many of these things to be set.I know I tried the same thing - I'm not sure this can be done at all, it could be that this can't be done if the file doesn't already exist somewhere on the local file system.
    Edited by: tjacobs01 on Feb 11, 2009 12:41 AM

  • Drag and drop of Windows icons inside Java......possible ?

    Hi all !
    does anybody know if it's possible to do drag and drop of windows icons (like folders) into Java Frames or other containers ?
    I'd like to write an application where the user can drag Windows folders inside a Frame/Container and collect Folder information (the path to the folder)
    Is it possible to do it ?
    Thanks a lot
    Francesco

    Hi,
    It is possible.
    You can drag platform independent objects like folders, icons etc. from the native platform to your java app.
    The Java-Object you need in this case is a
    DataFlavour like
    DataFlavor.stringFlavor // for text
    DataFlavor.javaFileListFlavor // for folders
    in the tutorial jacob has linked you find more about this.
    Olek

  • Cant drag and drop in windows 7

    cant drag and drop in windows 7 with itunes

    Same exact problem.  Drag and drop is not working in any fashion.  I cant drag files to the library or to the ipod.
    Itunes 10.4 Windows 7 64
    Any Help??!?

  • I can't drag and drop from windows explorer into my ipod on itunes. Any suggestions?

    Hi,
    I manage my music/podcast library on my Vista PC using windows explorer because I don't like how iTunes does it. Then today I can no longer drag and drop from explorer onto my iPod in iTunes all I get is a circle with a line through it meaning "iTunes says no." Any suggestions?
    Ta.

    You will need to Sync your iPad and all Music/Albums Selected will transfer over from iTunes..
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/HT1386

  • Drag and drop in windowed application

    i have created application using drag and drop funcatinalities .it's working in webbrowser as internet application .but i converted int o a windowed application and dra and drop isn't working in that form as desktop app.
    pls help me
    thank you.

    Maybe I should mention that this drag and drop feature doesn't work on ALL the programs, which leads me to believe that this is a system preferences problem. I can't drag into any of the Adobe programs, iPhoto, Kodak Easyshare, etc.
    I understand the Get Info solution, but that is pinpointing only one type of file... I would like to fix this feature for all files.
    Thanking in advance, Ck

  • Drag and drop in windows explor

    Hi,
    I cant for the life of me ind out if this is possible. Im thinking of buying a Zen Touch 20GB and want to know if it is possible to drag and drop music directly in Windows without additional software. If so, I just might buy it
    greetings Twist

    If you install the PlaysForSure firmware yes, otherwise you need to install another program for it to work.

  • Drag and Drop using Windows Explo

    Hi, I have a Zen Touch 20GB with firmware upgraded to version 2..0. I understand that it is possible to drag and drop files using windows explorer to the mp3 player. However, whenever I try to copy a folder containing audio files I always get a error stating that I don't have the permission to copy the audio files. I am able to copy other non- music files well and I have administrati've rights. Is this problem due the fact that audio files must reside within the default Music folder within the mp3 player? Can anyone kindly help me on this issue? Thanks a lot.

    yes but there must be a folder for music only ex:
    ----------------------------------explorer------------------------------------------------
    file View edit tools HElp WINDOWS
    FOLDER ... FOLDER.... FOLDER
    hard.. dri'ves
    C:ICON... D:ICON... OR... F:ZEN
    OR.
    OTher
    .zen. ..pretend.. this ..is ..the ..icon
    -subfolders
    ... - .MUSIC. ... .DATA. .ROOT.
    .. you should
    .. drag ur music into music \ data goes in\ and right here im guessing
    \ data folder\ is were ur contacts are
    and yah //Message Edited by kickenchicken on 07--2006 09:54 PM

  • Can't drag and drop from Windows Explorer into iTunes 10

    HI. I recently upgraded to iTunes 10 and now, it won't let me drag and drop files from Windows explorer into iTunes. Is there a setting I need to turn on to get this to work again? I am running Vista.

    I might be wrong, but ...
    I know Microsoft Office 2011 is Mountain Lion compatible.  In fact, Microsoft released updates to it right around the time of Mountain Lion's release to assure compatibility.
    I do not believe Microsoft Office 2008 is Mountain Lion compatible.

  • AIR Drag and Drop between Windows

    I can’t seem to get a simple use case to work:
    I have an AIR app that has two <mx:Window> built as separate MXML components, one is called “DragSourceWindow” the other “DragTargetWindow”.  Inside the “DragSourceWindow” is a canvas that can be dragged out of the window and dropped into the “DragTargetWindow”.
    Code:
    “Main AIR App”: http://pastie.caboo.se/private/wxcsvvxglm7aabf3xqta
    “DragTargetWindow”: http://pastie.caboo.se/private/ysgv3kpr6suiakutnvt4g
    “DragSourceWindow”: http://pastie.caboo.se/private/yybaslwsfz12znygyjvva
    SVN Repo: http://zclguialvgrid.googlecode.com/svn/trunk/examples/DragManagerIssue/
    Inside each <mx:Window> are some trace messages to see what is going on:
       1. When a DragManager.isDragging is true
       2. When you drag into a drop target
       3. When you drop an item into a drop target
    However, once you drop the canvas into a window and mouseover it again the DragManager still thinks a drag is active.
    I am using the release versions of FB and AIR.
    What am I doing wrong?

    Nevermind, you can't use DragManager at all in AIR it seems if you leave a window.  You have to directly use the NativeDragManager.
    Strange because it seems like the DragManager singleton manages that for you -- but it doesn't.

  • Problem with drag and drop application windows from one workspace to another

    I work with multiple desktops (Spaces) and before I freely dragged the mouse a window from one space to another, now the mouse rests on the edge of space and the application does not become the next space. What am I doing wrong or where this option is set?

    After the publication of the problem has disappeared, the window is dragged. Miracle! )

  • WindowedApplication/ Drag and drop in Windows OS

    Hi,
    I have AIR application which is running on Mac  OS and Windows. This application is standard desktop application  (WindowedApplication). I use there drag&drop for moving preview of  images. My problem is if preview image is large (width > 200 or  height > 200) then drag preview is not correctly visible. The dragged  preview on left top corner is correct but in right bottom corrner is  not visible. There is some  transient.
    On Mac OS is all ok only in Windows is this problem.Can somebody help me with it?

    If you install the PlaysForSure firmware yes, otherwise you need to install another program for it to work.

  • Using drag and drop in remote desktop on windows server 2008

    we running an application on windows server 2008 terminal services .. this application was support drag and drop functionality .. i understand that terminal services on windows 2008 is supported to drag and drop but is not happening !! even when i run remote desktop connection on this server the drag and the drop is not working !
    i need to enable the drag and drop for windows 2008 terminal services  ..
    Thanks in advance

    Hello Ayman,
    If your requirement is to drag and drop files between local and remote sessions, Danny is right. Drag-and-drop feature is not supported in Windows Server 2008-based Terminal Server, which is a by-design behavior hard-coded in the current version of the Remote Desktop Protocol.
    As a workaround, I recommend you to use copy-and-paste function instead of drag-and-drop. To enable the copy-and-paste between local and remote session, please enable the clipboard redirection in Windows Server 2008-based RDC. (In Windows Server 2003 environment, local drive redirection is needed.)
    Hope it helps. Thanks.
    Best Regards,
    Lionel Chen

  • Drag and drop in parallels 6

    I installed trial Parallel 6. I can only drag and drop from windows desk top to mac desktop, iMac. I can nod do the same dragging from Mac to windows XP. I have the + sign but nothing happens. I reinstalled the tools. No change. Is there a solution?
    thanks.

    Which version of Captivate 6 do you have? Drag and drop activity is included in Captivate 6.1 onwards. For earlier versions, your best bet would be to buy Infosemantics widget here:
    http://infosemantics.com.au/adobe-captivate-widgets/drag-and-drop/which-adobe-drag-and-dra g-and-drop-widget-comparison
    Sreekanth

  • Drag and drop over AxAcroPDFLib.AxAcroPDF in C# Winform

    Hi,
    I've embedded the AxAcroPDFLib.AxAcroPDF PDF Browser control from SDK 2 in a .Net C# Winform, and can load and display a PDF within it.
    I want to be able to drag and drop System.Windows.Forms.TextBox (s) over the control and when dropped based on mouse co-ordinates
    store the x,y coordinates of the text boxes in a database.
    But when I drag and drop text boxes, the cursor changes to No/Disabled and I am unable to drag onto the AxAcroPDF control.
    I
    I've set AllowDrop to True, but to no obvious effect
    Is this possible ?.
    I've simulated the same affect with displaying other types of images such as gif displayed within a Systems.Windows.Form.PictureBox, but this control has Dragdrop events available, but no equivalent withAxAcroPDF?
    Thanks
    Bill

    I have also tried using a System.Windows.Panel control as an "overlayed/same size/location" child of AxAcroPDF , which supports drag and drop events.
    The drag and drop works, but the PDF does not show through, even with the Panel.BackColor/Forecolor set to Transparent.
    Regards
    Bill

Maybe you are looking for