Autoscolling on mouseMove without Drag & Drop

I would like to create a JPanel that automatically scrolls in the direction of the mouse cursor in the same manner as the automatic scrolling that can be done with Drag & Drop. The difference is that I don't want the user to have to press the mouse button - I want them to simply place the mouse in a region of the panel near the border.
Does anyone suggest how I can do this? I tried using a custom DragGestureRecognizer that would recognize a mouseMove into the border region as a dragStart, but the DragGestureListener that handles the dragging ever only gets dragEnd events (which I take to mean that some JDK code in the middle somewhere is noticing the mouse button is not down so cancels the drag). I've tried having a separate thread that wakes up whenever a mouse enters the region near the border (instead of doing the drag gesture thing) that contiuously scrolls the view until the mouse exits the region, and it sort of works, but the visual effect is a choppy scroll two steps forward, scroll one step back kind of look. I'm guessing I have a multithreading issue where two threads are trying to draw the screen at slightly different views.
Any other suggestions or sample code on how to do such a thing would be appreciated.

By searching through these forums I've been able to piece together a solution. I won't show my ugly unrefactored code with bad dependencies, but the description should suffice:
First, I created a JPanel subclass that defines for itself 8 regions near its edges (north, south, east, west, northeast, northwest, southeast, southwest). This class also contains a timer. The constructor takes in the vertical and horizontal JScrollBar of the JScrollPane that will eventually contain it (ugly, I know, but I haven't refactored it yet).
The class has a mouseMotionListener that detects wether scrolling should be done and if so in what direction. It does this by comparing the mouseEvent location to the varoius regions.
When the mouse enters a scroll region from a non-scroll region, the timer starts. If it enters a scroll region from a different scroll region, scroll direction is recalculated. If it enters a non-scroll region, the timer stops.
When the timer fires (it fires periodically until stopped), an actionEvent handler in the class increments or decrements the scrollbars as appropriate.
Sounds rather simple, but it took me countless tries at various things to get it to work.

Similar Messages

  • HT1267 i've got about 2500 songs on my iphone, i have replaced my computer & lost my library-question is why can't i drag/drop new downloaded music to my iphone without 'syncing' & losing my 2500 songs from the iphone?

    I've got about 2500 songs on my iphone, i have recently replaced my computer because the old one crashed, so i lost all the songs in the itunes library. My question is, it seems that now i am unable to drag/drop new downloaded songs without syncing my iphone & losing my 2500 songs from the phone?

    You cannot. Iphone will sync/manually manage music with one and only one computer at a time.  Syncing/manually managing with another will erase the current content from the iphone.
    It has always been very basic to always maintain a backup copy of your computer.  Use your backup copy to put everything back.

  • Drag & Drop without copy across collections

    When I drag & drop photos from one collection to another, selected photos are left in the original collection and also added to the other one. Often I would like to actually move the photos from one collection to another, therefore I would find it very convenient to be able to do it with a modifier key during drag & drop (e.g. Ctrl on a PC).

    I agree with this request. I've also found moving images between collections unwieldy.

  • Faking Drag&Drop operation to external application

    Hello,
    a rather complicated issue. in my program i have a JTable, and i can drag&drop from this jtable
    to external programs like windows explorer by clicking the mouse and moving it from the table
    to the external program.
    how can i reproduce this exact behaviour WITHOUT user intervention?
    in other words, how can i do this programmatically, creating a drop source at the start point,
    then move the mouse, and release it above a specified location on the screen?
    is this even possible in java (as we're running in a VM) ?

    it has it's problems.
    for example, if the drop point is above the source point, moving the mouse with the robot sometimes marks all entries in the table instead of performing a drag&drop operation. also, it seems that without a delay between the moves, strange things happen. so here is an updated version which workes 99% flawlessly for me.
    package trakker;
    import java.awt.Point;
    import java.awt.Robot;
    import java.awt.event.InputEvent;
    import java.util.logging.Level;
    * this thread fakes a drag & drop operation to the traktor decks
    public class LoadDeckThread implements Runnable
         Point source;          // where was the mouse pointer before operation?
         Point track;          // where is the point of the track in the jlist?
         Point target;          // where do we move the track to?
         // constructor
         public LoadDeckThread(Point pTrack, Point pSource, Point pMoveTo)
              track = pTrack;
              source = pSource;
              target = pMoveTo;
         // thread run
         public void run()
              try
                   // create a new robot
                   Robot robot = new Robot();
                   robot.setAutoDelay(100);
                   // move the mouse to the track in the jlist
                   robot.mouseMove(track.x, track.y);
                   // click and hold
                   robot.mousePress(InputEvent.BUTTON1_MASK);
                   robot.waitForIdle();
                   // move to the left to prevent list scrolling
                   robot.mouseMove(50, target.y);
                   // and to the topleft of our app
                   Point p = Util.mainWnd.getLocation();
                   robot.mouseMove(p.x, p.y);
                   // move the mouse to the specified deck
                   robot.mouseMove(target.x, target.y);
                   // wait some time (otherwise it doesn't work?)
                   //robot.delay(500);
                   robot.waitForIdle();
                   // release the mouse
                   robot.mouseRelease(InputEvent.BUTTON1_MASK);
                   robot.waitForIdle();
                   // move back to the track
                   robot.mouseMove(track.x, track.y);
                   robot.waitForIdle();
                   robot.mousePress(InputEvent.BUTTON1_MASK);
                   robot.mouseRelease(InputEvent.BUTTON1_MASK);
                   // now move back where we were
                   robot.mouseMove(source.x, source.y);
                   robot.waitForIdle();
                   robot = null;
              catch(Exception ex)
                   Util.log("Cannot invoke robot for drag&drop: " + ex.getMessage(), Level.SEVERE);
    } instead of to close tags ;=)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Windows Storage Server 2008 - unzip with drag & drop from Windows 7 client fails

    Hello.
    As i asked this question in German and got no answer so i try it in English now.
    I have the following problem:
    We have a Windows SBS 2008, where we store our files. If somebody opens a ZIP-file on a network share from a Windows 7 Client (64 Bit) it is possible to drag & drop the content (multiple files) to a directory. So far everything works as expected.
    We now have an additional Windows Storage Server 2008 integrated in our domain (Buffalo Tera Station WS-QV8/R5), where we also store files. If somebody opens the same ZIP-file on a network share of this server from a Windows 7 Client and tries to drag &
    drop the content the following happens:
    1. only one file is extracted and to display the file a refresh of the explorer view is needed.
    2. when the drag & drop action is repeated a second file is extracted
    Not alle files are extracted and there is no error message or indication why this happens.
    The behaviour is reproducible from another Windows 7 Client (32 Bit).
    If we try to drag & drop the files from the ZIP-file on the Windows Storage Server network sahre to a directory on the SBS network share all files are extracted correctly.
    On the Windows Storage Server itself all files are extracted without problmems. Therefore it must be a problem with the combination of Windows Storage Server und Windows 7 Client accessing the files via network shares.
    Are there any ideas where this problem could be located? Has anybody the same phenomenon and maybe a solution for it?
    Thanks in advance
    Michael Pruss

    Hi Michael,
    Thank you for clarifying the issue for us.
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    Regards
    Kevin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback
    on our support quality, please send your feedback here.
     

  • Can't drag/drop MP4 files in iTunes 10 - Movies

    Recently I have installed the new iTunes 10. Now I am not able to drag and drop MP4 files to load videos in my iPod and iPhone. Earlier I used to drag & drop MP4 files and load my iPod. But with this new version in Windows 7 OS, I am not able to load videos. Became very frustrated. Can you please help me?
    Thanks in advance!
    Prasenjit

    I have the same problem! Is there anyone out there with an answer! I'm so extremely frustrated with this issue. I did everything that others have suggested on this community and others online. I used a converter (which doesn't even make any sense because I used to be able to drag/drop mp4 with ease without converting them before this stupid iOS5 and Itunes update). I renamed the file to m4v. There's tons of stuff I tried and still nothing. What frustrates me is that everyone is suggesting to convert and as I said I never used to do that with MP4's before. Why all of a sudden now?

  • Drag & Drop ViewObject as Table Exception

    Hi,
    When I drag & drop any view object onto the page, there are no problems when dropping it as a Form. When I drag & drop the same view object onto the page as a Table, however, a stack trace appears from JDeveloper. I have posted screen shots showing the differences:
    Drop as Form (okay): http://i.imgur.com/nMgcb.png
    Drop as Table (error): http://i.imgur.com/25836.png
    This problem only happens with one specific application. All the other applications can drag & drop without problem.
    Suggestions for where to look to resolve the problem would be fantastic. Here is the stack trace:
    16-Mar-2010 9:57:34 AM oracle.adf.dt.managers.ApplicationManager findOrCreateDataControlInApplication
    FINER: THROW
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment
         at oracle.adf.dt.objects.JUDTApplication$3.run(JUDTApplication.java:590)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.objects.JUDTApplication.findDataControl(JUDTApplication.java:601)
         at oracle.adf.dt.managers.ApplicationManager.findOrCreateDataControlInApplication(ApplicationManager.java:518)
         at oracle.adf.dt.managers.IteratorManager.initializeIteratorBindingProperties(IteratorManager.java:419)
         at oracle.adf.dt.managers.IteratorManager.createIteratorInstance(IteratorManager.java:401)
         at oracle.adf.dt.managers.IteratorManager.findOrCreateIterator(IteratorManager.java:245)
         at oracle.adf.dt.dbpanel.DataBindingManager$2.run(DataBindingManager.java:965)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.findOrCreateIteratorBinding(DataBindingManager.java:986)
         at oracle.adf.dt.dbpanel.DataBindingManager$1.run(DataBindingManager.java:1033)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:1111)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:996)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.createControlBinding(ADFBindingUtils.java:99)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getTableBinding(ADFIteratorModelProvider.java:338)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getIteratorBindingExpression(ADFIteratorModelProvider.java:83)
         at oracle.adfdtinternal.view.faces.binding.binder.ADFCustomTableBinder.bind(ADFCustomTableBinder.java:78)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo._bindDocumentFragment(XmlBasedCreatorInfo.java:483)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo.createDocumentFragment(XmlBasedCreatorInfo.java:257)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.createDocumentFragment(ADFDocumentFragmentCreatorInfo.java:76)
         at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:96)
         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)
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment
         at oracle.adf.dt.objects.JUDTApplication$3.run(JUDTApplication.java:590)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.objects.JUDTApplication.findDataControl(JUDTApplication.java:601)
         at oracle.adf.dt.managers.ApplicationManager.findOrCreateDataControlInApplication(ApplicationManager.java:518)
         at oracle.adf.dt.managers.IteratorManager.initializeIteratorBindingProperties(IteratorManager.java:419)
         at oracle.adf.dt.managers.IteratorManager.createIteratorInstance(IteratorManager.java:401)
         at oracle.adf.dt.managers.IteratorManager.findOrCreateIterator(IteratorManager.java:245)
         at oracle.adf.dt.dbpanel.DataBindingManager$2.run(DataBindingManager.java:965)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.findOrCreateIteratorBinding(DataBindingManager.java:986)
         at oracle.adf.dt.dbpanel.DataBindingManager$1.run(DataBindingManager.java:1033)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:1111)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:996)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.createControlBinding(ADFBindingUtils.java:99)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getTableBinding(ADFIteratorModelProvider.java:338)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getIteratorBindingExpression(ADFIteratorModelProvider.java:83)
         at oracle.adfdtinternal.view.faces.binding.binder.ADFCustomTableBinder.bind(ADFCustomTableBinder.java:78)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo._bindDocumentFragment(XmlBasedCreatorInfo.java:483)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo.createDocumentFragment(XmlBasedCreatorInfo.java:257)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.createDocumentFragment(ADFDocumentFragmentCreatorInfo.java:76)
         at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:96)
         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)
    16-Mar-2010 9:57:34 AM oracle.adf.dt.managers.IteratorManager createIteratorInstance
    FINER: THROW
    java.lang.NullPointerException
         at oracle.adf.dt.managers.IteratorManager.initializeIteratorBindingProperties(IteratorManager.java:422)
         at oracle.adf.dt.managers.IteratorManager.createIteratorInstance(IteratorManager.java:401)
         at oracle.adf.dt.managers.IteratorManager.findOrCreateIterator(IteratorManager.java:245)
         at oracle.adf.dt.dbpanel.DataBindingManager$2.run(DataBindingManager.java:965)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.findOrCreateIteratorBinding(DataBindingManager.java:986)
         at oracle.adf.dt.dbpanel.DataBindingManager$1.run(DataBindingManager.java:1033)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:1111)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:996)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.createControlBinding(ADFBindingUtils.java:99)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getTableBinding(ADFIteratorModelProvider.java:338)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getIteratorBindingExpression(ADFIteratorModelProvider.java:83)
         at oracle.adfdtinternal.view.faces.binding.binder.ADFCustomTableBinder.bind(ADFCustomTableBinder.java:78)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo._bindDocumentFragment(XmlBasedCreatorInfo.java:483)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo.createDocumentFragment(XmlBasedCreatorInfo.java:257)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.createDocumentFragment(ADFDocumentFragmentCreatorInfo.java:76)
         at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:96)
         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)
    java.lang.NullPointerException
         at oracle.adf.dt.managers.IteratorManager.initializeIteratorBindingProperties(IteratorManager.java:422)
         at oracle.adf.dt.managers.IteratorManager.createIteratorInstance(IteratorManager.java:401)
         at oracle.adf.dt.managers.IteratorManager.findOrCreateIterator(IteratorManager.java:245)
         at oracle.adf.dt.dbpanel.DataBindingManager$2.run(DataBindingManager.java:965)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.findOrCreateIteratorBinding(DataBindingManager.java:986)
         at oracle.adf.dt.dbpanel.DataBindingManager$1.run(DataBindingManager.java:1033)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:1111)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:996)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.createControlBinding(ADFBindingUtils.java:99)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getTableBinding(ADFIteratorModelProvider.java:338)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getIteratorBindingExpression(ADFIteratorModelProvider.java:83)
         at oracle.adfdtinternal.view.faces.binding.binder.ADFCustomTableBinder.bind(ADFCustomTableBinder.java:78)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo._bindDocumentFragment(XmlBasedCreatorInfo.java:483)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo.createDocumentFragment(XmlBasedCreatorInfo.java:257)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.createDocumentFragment(ADFDocumentFragmentCreatorInfo.java:76)
         at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:96)
         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)Edited by: Dolphin on Mar 16, 2010 10:11 AM

    There was an XML comment inside the data bindings file (DataBindings.cpx).

  • No drag & drop function? (iphone photos to mac desktop)

    Trying to just backup my photos that i take on my iPhone..... why can't I drag & drop them to my desktop (like i do from my camera memory cards)? Do I have to use iTunes - because it's very time consuming... more than that, it's hard to keep track of what you've backup up...

    That is not possible. You cannot drag photos from the computer back to the camera roll. You have no access to the camera roll in that direction, only from the camera roll to the computer. To put pictures back on the phone from the comptuer requires iTunes and the sync process. You can select the photos you want in iTunes once the iPhone is connected, then select the photo tab, select the photos and perform a sync.
    You cannot do it without iTunes.

  • No drag drop to shopping cart

    Hi gurus,
    Is there any way to convert PR into PO without drag and drop to shopping cart?
    Regards
    Syed

    Yes : create a "Default values" key in
    SAP Customizing Implementation Guide
    -> Materials Management
    --> Purchasing
    ---> Environment Data
    > Define Default Values for Buyers
    with the indicator "Adopt all / Ref.to ind. Preq." selected, in the "Fast processing" screen.
    Then assign this key to the EVO parameter id of the user.

  • Exort to iWeb or drag & drop?

    Hi,
    when doing a photo page in iWeb, what is the difference between export to iWeb function in iPhoto and drag & drop between iPhoto album (or Finder) and iWeb? It turned out that when I draged and dropped from an iPhoto folder I didn't get all photos into iWeb, some was missing (the ones I hadn't edited i iPhoto, I figured after a while...). I guess export function is to be preferred then, but what is the difference?
    TIA
    Mans
    iMac G5, iMac 450 DV, iBook 300   Mac OS X (10.4.8)  

    There shouldn't be any real difference. Some people find it difficult to drag and drop photos into the Photo Template. There's also a 99 photo limit for the photo grouping on a photo template, so if you try to drag and drop more than that iWeb will randomly pick 99 for you and leave the others out (without telling you which ones).
    Also, if you already have your photos organized into albums in iPhoto and you want an easy way to make gallery index pages and photo albums automatically, try the method in this link...
    http://www.mac.com/web/en/Tips/013C4180-4787-4847-BAAB-319222AFC652.html

  • No "Ringtones" tab and can't drag & drop ringtones into iTunes

    I have an iPhone4 running OS4.3, using iTunes 10.2 on a Windows Vista PC. I used an iPhone app to create custom ringtones, and have followed the app's instructions to save the ringtones to my PC and then copy into iTunes. Two problems:
    1) The instructions say to drag & drop the .m4r files into iTunes. I've seen this mentioned in other posts on this topic. When I try to do this, the files won't "drop". I see the "no" symbol (circle with line) when I hover over my music library.
    2) The instructions say to click on my iPhone in iTunes, and then on the "Ringtones" tab along the top of the screen. I don't have a Ringtones tab. There's also no reference to Ringtones in the left navigation pane.
    How do I correct this?
    Thanks

    !!! JUST DOWNGRADE YOUR ITUNES VERSION, AND USE THE OLDER ONE - THAT'S ALL. SORRY FOR ALL-CAPITAL LETTERS AND EXCLAMATION MARKS, - IT IS JUST OUT OF EXCITEMENT, AFTER HOURS OF SEARCHING AND THINKING ABOUT A SOLUTION !!!
    Shalom all,
    Our frustration and pain is over, for sure… With some help and hints from this forum I’ve found a precise solution to the above mentioned can’t-get-the-goddamned-ringtones-tab-to-appear-in-my-iTunes problem.
    Now let me try and get up to the point:
    The 10.5.2 version of iTune is worthless (at least, it’s 64-bit modification, which I’ve been using up to this point). By reading a few comments on your forum, I’ve quickly decided to try and downgrade to 10.4.1.10 version (seems to me, 64-bit), which can be downloaded from apple.com site with just a little extra-search.
    By the way, I do have Windows 7 64-bit OS on my PC, and “Apple” warns that one MUST use 64-bit installation in my case…
    One must uninstall previously installed 10.5.2 (if there used to be one, of course). In such a case, please, also uninstall a “Bonjour” program by “Apple” (don’t know what’s that, but you will not be able proceed any further with, as it was said in my case, higher version of “Bonjour” left behind).
    After uninstalling those two abovementioned things, I have installed iTunes 10.4.1.10 , even without being asked for reboot by the end of the installation. But, alas, when I tried running iTunes, it failed with the complain about a “iTunes Library.itl” file (found in C:\Users\<My_User>\Music\iTunes). I’ve just renamed the file (could’ve been removed as well, of course) and restarted the iTunes. This time everything went smooth.
    The rest of the story, I assume, you can imagine much better than me. Go to Edit->Preferences and tick “Ringtones”. After connecting the iPhone (well, probably one more iTunes restart will be required in this case, - not sure about that), we will get the “Ringtones” tab set also under the iPhone definition (see “DEVICES” in iTunes).
    Next, create an .m4a file out of your favorite ringtone, move it to the Desktop, change the extension to a4r, add it back (drug-and-drop) to “Ringtones” tab at the iTunes LIBRARY. Then make some blessing, take a deep breath and… that’s pretty much done. One important thing not to forget before sync: click on your phone (under iTune’s DEVICES), and click on “Ringtones”, located right under the gorgeous :-) apple picture in the top middle of the iTunes window. Mark “Sync Ringtones” and “All Ringtones” (?) there, of course…
    BTW, no need whatsoever to register your phone, - you can just postpone the registration...
    Phew… Let’s hope I haven’t forget anything. Anyhow, the idea was to get rid of iTunes 10.5.2 as soon as possible, uninstall it together with “Bonjour” (say good bye to “Bonjour”  ), then install a good old iTunes 10.4.1.10, get over few problems and… The rest of the procedure - you know it by heart, by far better than me…
    I’ve been struggling with the problem for less than a day (thanks to all of you, pals), but I can imagine there are still some poor pal chaps around…
    Let us help them… Very unfortunately, English is not my mother tongue, as you can see… I wish, it would be different, but G-d decided other way… Please, (1) make some corrections and clarifications to this notes (I could've made it better, but in a crunch now, really), and also, (2) try spreading it among as many guys as possible… If you can pass this solution to “Apple” tech support, - it should be taken to consideration...
    And I'll be waiting now for a generous job offer from that great company... :-)
    Let me just wish you all a very Happy New Year...
    Thank you all, dear friends, and do enjoy the best of your own FREE ringtones……
    P.S.: iTunes 10.4.1 (64-bit) can be found here http://support.apple.com/kb/DL1427 , at the bottom of the page...
    Message was edited by: leonidr321

  • Can't copy pdf via drag & drop to iBooks

    Hi everybody,
    I wanted to copy some PDFs to my iPad via drag & drop and iTunes but I am suffering under the problem that nothing happens.
    I even get not displayed a "+" on my cursor and everything I have tried, nothing is copied to the ipad..
    iPad is running under iOs 4.3 and iTunes is up-to-date.

    I thought you were trying to find out how to drag and drop PDF files in your iTunes library in order to sync to your iPad but there are ways of sending files without syncing.
    If it is just a PDF file - not a book - you can attach the file to an email and send it yourself from your computer to the iPad, open it and choose the option of open in iBooks. When you open the file in your email, tap the curved arrow icon in the upper right corner and select open in iBooks. Then the PDF will be stored in books for later viewing.
    You can also sync PDF files with apps like Dropbox using WiFi. There are other apps available that will do the same thing.

  • Drag drop images while composing the forum post

    Hi All,
    Many time I felt like it would be good if we can drag drop images to the forum post being composed.  Similar to Gmail compose, if NI forum composition page also has that drag drop feature, it would be great.  But I'm wondering if it's only me or other people are also out there looking for this feature.
    Thanks,
    Ajay.

    Francois,
    I have tried to implement this bean but I'm having problems. I've been using your
    LAF package for almost 4 years now without issue. I tried the jar file from the zip
    file. I also created a new project and recompiled the java code against the 10.1.2.3
    frmall.jar file that matches our app server. I resigned it and it's still not working.
    Maybe I'm just missing something simple. When I compile and run the form, I see
    the canvas and I can change the text fields, but I don't see how I can drag and
    drop items. Hopefully, you can think of something that can fix our problem. I would
    love to be able to use drag and drop functionality in an upcoming application.
    We're running the following versions:
    App Server: 10.1.2.3
    DB: 10.2.0.5
    JDev: 10.1.3.3.0
    Windows XP for the clients
    Windows Server 2008 for the servers
    Thanks,
    Jason
    Edit: I looked in my java console and saw that my issue was that we signed this jar file with a different certificate. I created a special config as Francois has suggested in another post and included only the DnD.jar file and it worked. However, I can't get the image or multi-line text areas to drag and drop. I'll keep poking around and see if I can figure out what's going on. The console seems to recognize when I'm dragging and dropping from all fields.
    Edited by: hanszarkov on Jun 27, 2011 12:58 PM

  • Is there a way to combine two Smart Playlists without dragging each individual song from one list to the other?

    Is ther a way to Combine two Smart Playlists without dragging and dropping each song into the other Smart Playlist?
    Any help is greatly appreciated.
    Debra

    With the timeline selected, go to File/Export/Movie and export each as a DV-AVI video.
    You can then combine those AVIs into a new project with virtually no loss of quality.

  • Embed a QT mov or Drag & Drop a QT mov?

    Hi,
    I'm wondering that which is the best way to put in a Movie into iWeb?
    Embed a QT mov or Drag & Drop a QT mov?is both are the same thing?

    If the file size is large it would be my preferred method. That way the host page can load without having to have the movie load which will vastly speed up the loading of the page if the movie is large. However, it requires you to manually load your QT file to your iDisk (or host server) which is an extra step. If you want a movie to auto play then I don't think the snippet method can be used. Well, there may be a way to add auto play to the snippet but that's beyond my understanding of java script.
    I like the way the movie opens in a custom sized separate window leaving the host window open. It's just one of several ways to do the same thing. You'd have to try both and see which works best for you.

Maybe you are looking for