Error message when dragging and dropping images to album

I recently installed the Elements 12 upgrade on my MacBook Pro. My previous version was Elements 10. When I try to add new images to my existing albums by selecting, dragging and dropping them into an album the operation does not work and i get an error message "Error Applying Keyword Tag(s)"

Thanks for your reply Andaleeb,
When you look at the numerous discussions on the PSE forum on this Organizer window issue it's not just a problem I had (Thread 14444851) but other users who have Elements 10, 11 and 12 are experiencing similar problems. There appears to be a serious compatibility problem with OSX 10.9.2 and these versions of PSE. Although my issue was fixed by your support staff,  the fact that many other users are experiencing this issue points to the need for a universal fix applicable to all Mac users. There is a lot of frustration out there among Mac users and Adobe needs to deal with this problem.
I am really surprised that on all the other discussion posts on this issue, there is not a single comment or response from Adobe staff! Given the lack of response from Adobe, it appears that the Adobe policy is to sit back and let the Mac users determine their own solutions.
Please pass this post on to your management so that corrective action can be initiated.
Thanks for your help.

Similar Messages

  • Error message using Drag And Drop

    I receive the following error when trying to use a customized drag implementation on a JList. I can't find any reference to DataTransferer and the like, so I don't know where to look for the problem. Any help would be much appreciated.
    java.lang.NullPointerException
    at sun.awt.datatransfer.DataTransferer.getFormatsForFlavors(DataTransfer
    er.java:708)
    at sun.awt.windows.WDataTransferer.getFormatsForFlavors(WDataTransferer.
    java:127)
    at sun.awt.datatransfer.DataTransferer.getFormatsForTransferable(DataTra
    nsferer.java:687)
    at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPe
    er.java:101)
    at java.awt.dnd.DragSource.startDrag(DragSource.java:305)
    at java.awt.dnd.DragSource.startDrag(DragSource.java:402)
    at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:221)

    Here is the code that I use for drag and drop between 2 Jlist's. It has always worked for me. You may have to tweek it a little to work for you. For instance I don't have it removing the item from the original lst when it is dragged to the new list. Anyway hope this helps you out.
    public static class                     DList extends JList implements DropTargetListener{
            private DropTarget dt;
              DList() {
                   this.setDragEnabled(true);
                            dt = new DropTarget(this, this);
            public void dragEnter(DropTargetDragEvent event) {        }
            public void dragExit(DropTargetEvent event) {        }
            public void dragOver(DropTargetDragEvent event) {        }
            public void drop(DropTargetDropEvent event) {
                try {
                Transferable transferable = event.getTransferable();
                    if (transferable.isDataFlavorSupported(DataFlavor.stringFlavor)) {
                        event.acceptDrop(DnDConstants.ACTION_COPY);
                          String s = (String)transferable.getTransferData(DataFlavor.stringFlavor);
                          addElement(s);
                        event.getDropTargetContext().dropComplete(true);
                    else {
                        event.rejectDrop();
                catch (IOException exception) {
                    exception.printStackTrace();
                    System.err.println("Exception" + exception.getMessage());
                    event.rejectDrop();
                catch (UnsupportedFlavorException ufException) {
                    ufException.printStackTrace();
                    System.err.println("Exception" + ufException.getMessage());
                    event.rejectDrop();
            public void dropActionChanged(DropTargetDragEvent event) {        }
            public void addElement(Object s) {
                ((DefaultListModel)getModel()).addElement(s.toString());
        } //End DList class

  • Error 1009 when dragging and dropping

    Hello All,
    I have a problem in a large application with dragging and dropping between datagrids. I created a simple example of the issue below. Basically, when I press the button I get a pop-up with 2 datagrids. When Initially try to drag an item from the source grid to the destination grid I get a serious of errors:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    ..etc
    If I then try and drag and drop again, it works without error. Can anyone shed light on this? Code below:
    The Main App:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
        <fx:Script>
            <![CDATA[
                import mx.core.FlexGlobals;
                import mx.core.IFlexDisplayObject;
                import mx.managers.PopUpManager;
                import mx.managers.DragManager;
                private var popUpManager:PopUpManager;
                private var dragManager:DragManager;
                protected function button1_clickHandler(event:MouseEvent):void
                        var largePanelWindow:IFlexDisplayObject = PopUpManager.createPopUp(FlexGlobals.topLevelApplication as DisplayObject, testDrop, true);
                        var largeSimPanelInstance:testDrop = largePanelWindow as testDrop;
                        PopUpManager.centerPopUp(largeSimPanelInstance);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Button x="546" y="59" label="Button" click="button1_clickHandler(event)"/>
    </s:Application>
    The Component:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/halo" width="400" height="300" creationComplete="creationCompleteHandler()">
        <fx:Script>
            <![CDATA[
            private function creationCompleteHandler():void
                srcGrid.dataProvider = ['cat','dog','bird'];
                destGrid.dataProvider =[];
            ]]>
        </fx:Script>
        <s:Panel x="10" y="0" width="380" height="290">
            <mx:DataGrid id="srcGrid" dragEnabled="true" dragMoveEnabled="true" x="58" y="44">
                <mx:columns>
                    <mx:DataGridColumn headerText="Column 1" dataField="col1"/>
                </mx:columns>
            </mx:DataGrid>
            <mx:DataGrid id="destGrid" dragEnabled="false" dropEnabled="true" x="226" y="44">
                <mx:columns>
                    <mx:DataGridColumn headerText="Column 1" dataField="col1"/>
                </mx:columns>
            </mx:DataGrid>
        </s:Panel>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </s:Group>

    I can confirm this error. I'm using Firefox, Windows Vista, Flash Player 10, SDK build 11250. There are two error boxes that appear when you try to drag an item on the first attempt and on successive attempts (but only if you drag over the destgrid, then back to the srcgrid and then back again to the destgrid). It's gotta be a bug, here are the stack traces:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at mx.controls.listClasses::ListBase/hideDropFeedback()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:8548]
         at mx.controls::DataGrid/hideDropFeedback()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\DataGrid.as:5670]
         at mx.controls.listClasses::ListBase/dragDropHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:10428]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:11826]
         at mx.managers.dragClasses::DragProxy/_dispatchDragEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:355]
         at mx.managers.dragClasses::DragProxy/mouseUpHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:580]
         at mx.managers.dragClasses::DragProxy/mouseLeaveHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:530]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.managers::SystemManager/mouseLeaveHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:3314]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:11826]
         at mx.managers.dragClasses::DragProxy/_dispatchDragEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:355]
         at mx.managers.dragClasses::DragProxy/dispatchDragEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:342]
         at mx.managers.dragClasses::DragProxy/mouseMoveHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:509]
    and
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at mx.core::UIComponent/drawFocus()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9008]
         at mx.controls.dataGridClasses::DataGridBase/showDropFeedback()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\dataGridClasses\DataGridBase.as:2954]
         at mx.controls::DataGrid/showDropFeedback()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\DataGrid.as:5640]
         at mx.controls.listClasses::ListBase/dragEnterHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:10337]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:11826]
         at mx.managers.dragClasses::DragProxy/_dispatchDragEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:355]
         at mx.managers.dragClasses::DragProxy/dispatchDragEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:342]
         at mx.managers.dragClasses::DragProxy/mouseMoveHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:509]
    - e

  • Error occurs when dragging and dropping a Video Transition

    Hi there.
    This is my first post here, as I have only recently upgraded to Premiere Pro CS5 from a very old version.  I am running into a big problem with video transitions.  Whenever I try to drag and drop a transition onto my timeline, Premiere crashes and says "Sorry, a serious error has occurred that requires Adobe Premiere to shut down..."  Then the screen just hangs there and I need to do a Ctrl+Alt+Del to close the program.  Please note that crossfades work with no issues whatsoever, and I have not encountered any other errors.  Any ideas?
    Here are some of the specs of my system:
    CPU: Intel Core i7 950 @ 3.07 GHz
    Video Card: NVIDIA GeForce GTX 470
    OS: Windows 7 64-bit
    RAM: 12 GB
    I have 4 drives with the programs and files allocated per the suggestions in this forum.
    Thanks,
    Dave

    Here would be my shotgun approach to your issue:  Try adding effects on different footage.  If no crash, the footage may be corrupt.
    Try a new project with the same footage.  If no crash, the project may be corrupt.
    If above actions still produce a crash, trash prefs.  Prefs may be corrupt.
    You also may have bad RAM.  Run a RAM-test app.
    Still crashing?  Re-install the application.  The app may be damaged.
    Sorry I don't have a firm answer, but you may need to seek and destroy, using process of elimination.

  • Why can't I drag and drop images from the browser into other programs?

    Ever since I upgraded to Firefox 4 (even after I upgraded again to Firefox 5) I have been unable to drag images from the browser into other programs, including MS Paint and IcoFx. I receive an error message stating that the file (the address given lists it as being located in the temporary files folder) cannot be found.
    Prior to this I had always been able to conveniently drag and drop images for easy editing without having to save first and then open them. This feature is important to me, as I work with graphics very often, and is still available in Chrome and Internet Explorer. I love Firefox though, and hope that there is something I can do to fix the problem.

    I had this problem on Windows 8.1.1 and iTunes 11.2.2.3
    To resolve it from within Itunes I did :  Edit, Preferences, Sharing.
    I took the tick out of "Share my library on my local network"
    Click OK.
    Closed iTunes/
    Reopened iTunes and I can drag and drop.
    I went back into Edit, Preferences, Sharing and put the tick back and clicked OK.
    Works fine now.

  • Can`t drag and drop images into PSE5

    hi,
    i`m from germany, so sorry for my english..
    i use pse5 since a few years and a few month with windows7..today i had to reinstall it and now i can`t drag and drop images from explorer or acdsee to PSE workspace. i get no error-message , only this circle with a diagonal line..
    i CAN drag and drop images from the editor..
    - i reinstalled it and repaired it
    - tried diffferent compatability modes
    - i don`t run the program as a administrator ( tried it- it was the same)
    so can anyone please help me?
    thank you so much!
    mareen

    Try making a direct shortcut to the Organizer and then the Editor.
    You should then be able to drag and drop on to the desktop icon.
    On Windows right click on the desktop and select New >> Shortcut
    Browse to Computer OS C:
    And find the PSE Organizer application in Program Files or Program Files (x86) on Windows 7 - 64 bit.
    Inside the Adobe >> Photoshop Elements Organizer (yellow folder) you are looking for an application file “PhotoshopEementsOrganizer” with six small icons (e.g. representing thumbnails - could be different in PSE5 but look for the exe file)
    Select it and click OK
    Click next
    Rename by taking out Photoshop Elements leaving just the word Organizer
    Then click finish
    You should now be able to launch directly form the desktop by double clicking on the icon.
    You can set up a similar direct link to the Editor application.
     

  • I am unable to drag and drop image files in a JAVA supposrted site. I have all the lastest versions of softwarte here - everything is up to date.

    I am no longer able to drag and drop image files int this JAVA supported site. It had always worked flawlessly in the past.
    I would open the site, go to Send Files, allow access, fill out the fields and then drag and drop my image files. Now I can only use the ADD (+) button to do so.
    I have the latest versions of OS-X Lion and JAVA installed on my computer
    http://www.clippingprovider.com/CP_II_EU/Welcome.html

    This is the Tech Sheet on the subject:
    Photoshop Help | Managing paths
    It contains this item under Manage Paths:
    When you use a pen or shape tool to create a work path, the new path appears as the work path in the Paths panel. The work path is temporary; you must save it to avoid losing its contents.
    Ok, the red you referred to is a Stoke you added. Then QuickMask is not involved.

  • My pages has stopped letting me drag and drop images

    my pages has stopped letting me drag and drop images, into the template

    Just the one template or all templates?
    Can you drag and drop an image anywhere on the page?
    When you have a problem try and isolate it.
    Not all images are placeholders.
    Also if you get oddball things happening sometimes a simple restart of your computer will fix them.
    Peter

  • Firefox Drag and Drop Image to AI CS6 - displaces art on art board...

    When dragging and dropping an image from FF 20/21 into AI  CS6, it forces elements on the art board to be displaced.
    The image dragged into the app will plop into the middle of the art board, and anything in the file just gets moved.
    Where it gets moved to is inconsistent- but it appears to always move on a diagonal.
    Probably one of the weirdest things I've ever seen AI do, in 10+ years...

    It turns out that this doesn't only happen in Firefox, but the results appear (at this point) to be completely random.
    It happens in some instances in Chrome, but less frequently.
    Also, I have some examples where it is not happening at all in Firefox.
    Can't find a common thread for the problem- it's not a browser version or AI version thing, it's not a file version thing, it's not even, seemingly, the results of the objects being dragged out of the browser.

  • Drag and drop images using tilelist in flex

    i just want the working code for drag and drop images using
    tilelist in flex

    Try JDK 1.4 and call setDragEnabled(true)
    I will also post updated version of MediaChest soon using custom TransferHandler for DnD different types of Objects.

  • Drag and Drop image to desktop == Zero Byte File

    Drag and Drop image to desktop == Zero Byte File
    == This happened ==
    Every time Firefox opened
    == FireFox 3.6 OR Windows 7 64

    i have the same problem and Sun doesn't seem to have an answer to this question. The DnD works in Mac OS, but not on Window 2000/XP.

  • How come I cant drag and drop images onto my imove

    I can't drag and drop images from my desktop or folder into imovie.

    Simply because you are not posting to the iMovie forum. Post there and find out.

  • How to change this code to drag and drop image/icon into it??

    Dear Friends:
    I have following code is for drag/drop label, But I need to change to drag and drop image/icon into it.
    [1]. code 1:
    package swing.dnd;
    import java.awt.*;
    import javax.swing.*;
    public class TestDragComponent extends JFrame {
         public TestDragComponent() {
              super("Test");
              Container c = getContentPane();
              c.setLayout(new GridLayout(1,2));
              c.add(new MoveableComponentsContainer());
              c.add(new MoveableComponentsContainer());
              pack();
              setVisible(true);
         public static void main(String[] args) {
              try {
                   UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
              catch (Exception ex) {
                   System.out.println(ex);
              new TestDragComponent();
    }[2]. Code 2:
    package swing.dnd;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    import java.awt.dnd.*;
    import java.awt.datatransfer.*;
    import java.awt.image.*;
    import java.awt.dnd.DragSource;
    import java.awt.dnd.DropTarget;
    public class MoveableComponentsContainer extends JPanel {     
         public DragSource dragSource;
         public DropTarget dropTarget;
         private static BufferedImage buffImage = null; //buff image
         private static Point cursorPoint = new Point();
         public MoveableComponentsContainer() {
              setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED, Color.white, Color.gray));
              setLayout(null);
              dragSource = new DragSource();
              ComponentDragSourceListener tdsl = new ComponentDragSourceListener();
              dragSource.createDefaultDragGestureRecognizer(this, DnDConstants.ACTION_COPY_OR_MOVE, new ComponentDragGestureListener(tdsl));
              ComponentDropTargetListener tdtl = new ComponentDropTargetListener();
              dropTarget = new DropTarget(this, DnDConstants.ACTION_MOVE, tdtl);
              setPreferredSize(new Dimension(400,400));
              addMoveableComponents();
         private void addMoveableComponents() {
              MoveableLabel lab = new MoveableLabel("label 1");
              add(lab);
              lab.setLocation(10,10);
              lab = new MoveableLabel("label 2");
              add(lab);
              lab.setLocation(40,40);
              lab = new MoveableLabel("label 3");
              add(lab);
              lab.setLocation(70,70);
              lab = new MoveableLabel("label 4");
              add(lab);
              lab.setLocation(100,100);
         final class ComponentDragSourceListener implements DragSourceListener {
              public void dragDropEnd(DragSourceDropEvent dsde) {
              public void dragEnter(DragSourceDragEvent dsde)  {
                   int action = dsde.getDropAction();
                   if (action == DnDConstants.ACTION_MOVE) {
                        dsde.getDragSourceContext().setCursor(DragSource.DefaultMoveDrop);
                   else {
                        dsde.getDragSourceContext().setCursor(DragSource.DefaultMoveNoDrop);
              public void dragOver(DragSourceDragEvent dsde) {
                   int action = dsde.getDropAction();
                   if (action == DnDConstants.ACTION_MOVE) {
                        dsde.getDragSourceContext().setCursor(DragSource.DefaultMoveDrop);
                   else {
                        dsde.getDragSourceContext().setCursor(DragSource.DefaultMoveNoDrop);
              public void dropActionChanged(DragSourceDragEvent dsde)  {
                   int action = dsde.getDropAction();
                   if (action == DnDConstants.ACTION_MOVE) {
                        dsde.getDragSourceContext().setCursor(DragSource.DefaultMoveDrop);
                   else {
                        dsde.getDragSourceContext().setCursor(DragSource.DefaultMoveNoDrop);
              public void dragExit(DragSourceEvent dse) {
                 dse.getDragSourceContext().setCursor(DragSource.DefaultMoveNoDrop);
         final class ComponentDragGestureListener implements DragGestureListener {
              ComponentDragSourceListener tdsl;
              public ComponentDragGestureListener(ComponentDragSourceListener tdsl) {
                   this.tdsl = tdsl;
              public void dragGestureRecognized(DragGestureEvent dge) {
                   Component comp = getComponentAt(dge.getDragOrigin());
                   if (comp != null && comp != MoveableComponentsContainer.this) {
                        cursorPoint.setLocation(SwingUtilities.convertPoint(MoveableComponentsContainer.this, dge.getDragOrigin(), comp));
                        buffImage = new BufferedImage(comp.getWidth(), comp.getHeight(), java.awt.image.BufferedImage.TYPE_INT_ARGB_PRE);//buffered image reference passing the label's ht and width
                        Graphics2D graphics = buffImage.createGraphics();//creating the graphics for buffered image
                        graphics.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f));     //Sets the Composite for the Graphics2D context
                        boolean opacity = ((JComponent)comp).isOpaque();
                        if (opacity) {
                             ((JComponent)comp).setOpaque(false);                         
                        comp.paint(graphics); //painting the graphics to label
                        if (opacity) {
                             ((JComponent)comp).setOpaque(true);                         
                        graphics.dispose();
                        remove(comp);
                        dragSource.startDrag(dge, DragSource.DefaultMoveDrop , buffImage, cursorPoint, new TransferableComponent(comp), tdsl);     
                        revalidate();
                        repaint();
         final class ComponentDropTargetListener implements DropTargetListener {
              private Rectangle rect2D = new Rectangle();
              Insets insets;
              public void dragEnter(DropTargetDragEvent dtde) {
                   Point pt = dtde.getLocation();
                   paintImmediately(rect2D.getBounds());
                   rect2D.setRect((int) (pt.getX()-cursorPoint.getX()),(int) (pt.getY()-cursorPoint.getY()),buffImage.getWidth(),buffImage.getHeight());
                   ((Graphics2D) getGraphics()).drawImage(buffImage,(int) (pt.getX()-cursorPoint.getX()),(int) (pt.getY()-cursorPoint.getY()),MoveableComponentsContainer.this);
                   dtde.acceptDrag(dtde.getDropAction());
              public void dragExit(DropTargetEvent dte) {
                   paintImmediately(rect2D.getBounds());
              public void dragOver(DropTargetDragEvent dtde) {
                   Point pt = dtde.getLocation();
                   paintImmediately(rect2D.getBounds());
                   rect2D.setRect((int) (pt.getX()-cursorPoint.getX()),(int) (pt.getY()-cursorPoint.getY()),buffImage.getWidth(),buffImage.getHeight());
                   ((Graphics2D) getGraphics()).drawImage(buffImage,(int) (pt.getX()-cursorPoint.getX()),(int) (pt.getY()-cursorPoint.getY()),MoveableComponentsContainer.this);
                   dtde.acceptDrag(dtde.getDropAction());
              public void dropActionChanged(DropTargetDragEvent dtde) {
                   Point pt = dtde.getLocation();
                   paintImmediately(rect2D.getBounds());
                   rect2D.setRect((int) (pt.getX()-cursorPoint.getX()),(int) (pt.getY()-cursorPoint.getY()),buffImage.getWidth(),buffImage.getHeight());
                   ((Graphics2D) getGraphics()).drawImage(buffImage,(int) (pt.getX()-cursorPoint.getX()),(int) (pt.getY()-cursorPoint.getY()),MoveableComponentsContainer.this);
                   dtde.acceptDrag(dtde.getDropAction());
              public void drop(DropTargetDropEvent dtde) {
                   try {
                        paintImmediately(rect2D.getBounds());
                        int action = dtde.getDropAction();
                        Transferable transferable = dtde.getTransferable();
                        if (transferable.isDataFlavorSupported(TransferableComponent.COMPONENT_FLAVOR)) {
                             Component comp = (Component) transferable.getTransferData(TransferableComponent.COMPONENT_FLAVOR);
                             Point location = dtde.getLocation();
                             if (comp == null) {
                                  dtde.rejectDrop();
                                  dtde.dropComplete(false);
                                  revalidate();
                                  repaint();
                                  return;                              
                             else {                         
                                  add(comp, 0);
                                  comp.setLocation((int)(location.getX()-cursorPoint.getX()),(int)(location.getY()-cursorPoint.getY()));
                                  dtde.dropComplete(true);
                                  revalidate();
                                  repaint();
                                  return;
                        else {
                             dtde.rejectDrop();
                             dtde.dropComplete(false);
                             return;               
                   catch (Exception e) {     
                        System.out.println(e);
                        dtde.rejectDrop();
                        dtde.dropComplete(false);
    }Thanks so much for any help.
    Reagrds
    sunny

    Well, I don't really understand the DnD interface so maybe my chess board example will be easier to understand and modify:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=518707
    Basically what you would need to do is:
    a) on a mousePressed you would need to create a new JLabel with the icon from the clicked label and add the label to the glass pane
    b) mouseDragged code would be the same you just repaint the label as it is moved
    c) on a mouseReleased, you would need to check that the label is now positioned over your "drop panel" and then add the label to the panel using the panels coordinates not the glass pane coordinates.

  • Drag and drop images from the OS or select images over filebrowser

    Hello,
    I want to create an image upload tool in JavaFX with similar functionality like Jumploader (http://jumploader.com/). The users should be able to select images from the filesystem that will be resized and uploaded to their website, similar as in Facebook. The difference is that I want users to be able to crop images directly in my application. This is something, other upload tools do not offer.
    I was searching weeks on the web trying to find a sample on how to drag and drop images in to a JavaFX 1.3.1 app or also to create a file browser. I have found many examples but they seem to be outdated. Is it to early yet to try and start projects like these with JavaFX as JavaFX is still under development? Or can anybody lead me in to the right direction?
    Thanks,
    Chris

    To be more precise, you can setup a JComponent or JPanel on top of your JavaFX nodes that has a TransferHandler that can convert the (AWT/Swing) images dragged to the app to JavaFX image and then insert it into the underlying node.
    As for the file chooser itselft: ListView and the JavaFX composer can allow you to create one quite easily. TreeView can aslso be used to a lesser extend (still a big buggy). For both of these, there are small bugs in the Cell API that may (or may not) prevent from displaying a proper thumbnail in the cells.
    You can also use a regular JFileChooser if you do not mind the dialog box having a different LnF from the rest of your application.

  • How come in Pages, i cannot drag and drop images?

    how come in Pages, i cannot drag and drop images?

    Yes you can in all versions.
    It helps if you actually describe what you are doing.
    Where are you dragging it from and where are you dragging it to?
    In what version of Pages?
    I suspect you are trying to drag an image into a Table, Header or Footer in Pages 5, which is no longer possible. Feature removed by Apple.
    Peter

Maybe you are looking for