Drag & Drop a JButton -- URGENT

I have two Jpanels, one panel contains my set of JButtons and i have to be able drag and place them on the second panel. how much ever i try am unable to do this. I need some help with with what are the flavors i should set. please could someone tell me as soon as possible.
Thank u

Hi
This will Drag the Text 'drag this' from one of the buttons to the panels. not simple but i am sure it will give you the idea.
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.math.*;
import java.awt.datatransfer.*;
import java.awt.dnd.*;
import java.io.*;
public class TstDrag extends JFrame
     pan   pan1 = new pan();
     pan   pan2 = new pan();
     but   but1 = new but("button 1");
     but   but2 = new but("button 2");
public TstDrag() 
     getContentPane().setLayout(null);
     setBounds(1,1,600,500);
     addWindowListener(new WindowAdapter()
    {     public void windowClosing(WindowEvent ev)
          {     dispose();
               System.exit(0);}});
     pan1.setBackground(Color.red);
     pan1.setBounds(1,1,500,200);
     pan2.setBackground(Color.blue);
     pan2.setBounds(1,210,500,200);
     but1.setBounds(10,10,60,20);
     but1.setBounds(10,40,60,20);
     pan1.add(but1);
     pan1.add(but2);
     getContentPane().add(pan1);
     getContentPane().add(pan2);
     setVisible(true);
public class pan extends JPanel implements DropTargetListener
     DropTarget dropT;  
public pan() 
     super();
     dropT = new DropTarget(this,this);
public void dragEnter (DropTargetDragEvent e) 
        System.out.println("dragEnter  my drop");
     e.acceptDrag(e.getDropAction());
public void dragExit (DropTargetEvent e)
//        System.out.println("dragExit   drop");
public void     dragOver(DropTargetDragEvent e)
public void drop(DropTargetDropEvent e)
          System.out.println( "droped");
     try
          Transferable trans = e.getTransferable();     
          DataFlavor[] dfs   = trans.getTransferDataFlavors();
          String s = (String)trans.getTransferData(dfs[0]);   // this is it
          e.acceptDrop(e.getDropAction());
          e.getDropTargetContext().dropComplete(true);
     catch (IOException exception)
            exception.printStackTrace();
            System.err.println( "Exception" + exception.getMessage());
            e.rejectDrop();
     catch (UnsupportedFlavorException ufException )
             ufException.printStackTrace();
             System.err.println( "Exception" + ufException.getMessage());
             e.rejectDrop();
public void dropActionChanged(DropTargetDragEvent e )
public class but extends JButton implements DragSourceListener,
                                                      DragGestureListener
     DragSource dragS = null;
public but(String s) 
     super(s);
     dragS = new DragSource();
     dragS.createDefaultDragGestureRecognizer(this,DnDConstants.ACTION_COPY_OR_MOVE,this);
public void dragGestureRecognized( DragGestureEvent e)
     System.out.println( " dragStart");
     StringSelection text = new StringSelection("drag this");
    dragS.startDrag(e, DragSource.DefaultMoveDrop, text, this);
public void dragDropEnd (DragSourceDropEvent e)
//       System.out.println( " dragEND");
public void dragEnter (DragSourceDragEvent e)
//          System.out.println( " dragEnter");
public void dragExit (DragSourceEvent et)
//          System.out.println( "dragExit");
public void dragOver (DragSourceDragEvent e)
//          System.out.println( "dragExit");
public void dropActionChanged ( DragSourceDragEvent e)
//          System.out.println( "dropActionChanged");
public static void main (String[] args) throws InterruptedException
     TstDrag fr = new TstDrag();
}     

Similar Messages

  • Urgent!  Adobe killed drag/dropping workflow in CC.  Help restore it!

    I posted this first FR at the end of another thread, here.  Due to the importance of this issue, IMO, I'm giving this FR a new thread, plus adding as second version of the same FR.
    My stance is simple.  Every change Adobe makes to Premiere Pro should be positive to most or all people.  If a change Adobe makes is negative for most or all people, then it must be removed.
    Adobe did a negative change in CC, which brings about zero positive improvements (unless proven otherwise which has not been done yet).
    In CC, drag-dropping clips no longer  = dropping what you're dragging!  If you only have a video track source patched, audio doesn't get dragged to the Timeline.  If you only have an audio track source patched, video doesn't get dragged to the Timeline.
    This is contrary to the way it worked in CS6 (where it made sense): drag drop clip = same clip dropped, regardless of Timeline settings!
    Please help fix this by sending the following FRs as your own or writing a FR of your own based on this new problem Adobe introduced in CC.  Thank you and God bless all those that care enough about Premiere to take action!
    VERSION 1 (revert back to CS6)
    *******Enhancement / FMR*********
    Brief title for your desired feature:
    Drag/Dropping video with audio clip from Source Monitor or Project window to Timeline should include both video and audio... always!
    How would you like the feature to work?
    The way it did in Premiere Pro CS6: 
    A. Video with audio dragged from Project window = video with audio dropped in Timeline
    B. Three drag/dropping options from Source monitor, regardless of Source Patch settings.  Drag/drop:
    1. Source Monitor Image = Video + Audio
    2. 'Drag Video Only' button = Video only
    3. 'Drag Audio Only' button = Audio only
    In CC, these options no longer work properly depending on Source Patching.  This makes no sense, and provides zero benefits to the editor!
    Why is this feature important to you?
    Because intelligent workflows matter!  There's nothing intelligent or efficient about the Source Monitor's buttons working some times but not others, or drag/dropping a clip from the Project window only to find its audio doesn't appear in the Timeline.  When drag and dropping clips, Source Patching should determine default clip PLACEMENT, Not WHAT gets dragged to the Timeline!
    VERSION 2 (give us a choice!)
    *******Enhancement / FMR*********
    Brief title for your desired feature: Preferences window option to disable Source Patching's effect on drag/dropped clips.
    How would you like the feature to work?
    If Adobe can't/won't revert drag/dropping back to functional CS6 standards, whereby clip dragged = same content dropped regardless of Timeline settings, then please give us the option of turning off CC's new drag/dropping behavior through a new check box option in the Preferences Window: "Source patching affects Drag/dropping".
    Checked = CC behavior
    Unchecked = CS6 behavior
    Why is this feature important to you?
    Because respecting workflows matters!  CS6 and prior Premiere editors had their workflows disrespected when Adobe suddenly changed drag/dropping behavior with zero apparent benefits in return.  Please give us a choice in this matter or revert to CS6's intelligent drag-dropping altogether.

    I posted this first FR at the end of another thread, here.  Due to the importance of this issue, IMO, I'm giving this FR a new thread, plus adding as second version of the same FR.
    My stance is simple.  Every change Adobe makes to Premiere Pro should be positive to most or all people.  If a change Adobe makes is negative for most or all people, then it must be removed.
    Adobe did a negative change in CC, which brings about zero positive improvements (unless proven otherwise which has not been done yet).
    In CC, drag-dropping clips no longer  = dropping what you're dragging!  If you only have a video track source patched, audio doesn't get dragged to the Timeline.  If you only have an audio track source patched, video doesn't get dragged to the Timeline.
    This is contrary to the way it worked in CS6 (where it made sense): drag drop clip = same clip dropped, regardless of Timeline settings!
    Please help fix this by sending the following FRs as your own or writing a FR of your own based on this new problem Adobe introduced in CC.  Thank you and God bless all those that care enough about Premiere to take action!
    VERSION 1 (revert back to CS6)
    *******Enhancement / FMR*********
    Brief title for your desired feature:
    Drag/Dropping video with audio clip from Source Monitor or Project window to Timeline should include both video and audio... always!
    How would you like the feature to work?
    The way it did in Premiere Pro CS6: 
    A. Video with audio dragged from Project window = video with audio dropped in Timeline
    B. Three drag/dropping options from Source monitor, regardless of Source Patch settings.  Drag/drop:
    1. Source Monitor Image = Video + Audio
    2. 'Drag Video Only' button = Video only
    3. 'Drag Audio Only' button = Audio only
    In CC, these options no longer work properly depending on Source Patching.  This makes no sense, and provides zero benefits to the editor!
    Why is this feature important to you?
    Because intelligent workflows matter!  There's nothing intelligent or efficient about the Source Monitor's buttons working some times but not others, or drag/dropping a clip from the Project window only to find its audio doesn't appear in the Timeline.  When drag and dropping clips, Source Patching should determine default clip PLACEMENT, Not WHAT gets dragged to the Timeline!
    VERSION 2 (give us a choice!)
    *******Enhancement / FMR*********
    Brief title for your desired feature: Preferences window option to disable Source Patching's effect on drag/dropped clips.
    How would you like the feature to work?
    If Adobe can't/won't revert drag/dropping back to functional CS6 standards, whereby clip dragged = same content dropped regardless of Timeline settings, then please give us the option of turning off CC's new drag/dropping behavior through a new check box option in the Preferences Window: "Source patching affects Drag/dropping".
    Checked = CC behavior
    Unchecked = CS6 behavior
    Why is this feature important to you?
    Because respecting workflows matters!  CS6 and prior Premiere editors had their workflows disrespected when Adobe suddenly changed drag/dropping behavior with zero apparent benefits in return.  Please give us a choice in this matter or revert to CS6's intelligent drag-dropping altogether.

  • Urgent : Drag Drop Functionality

    Hi All,
    I have a datagrid with the drag drop enabled. My requirement is that when I drag the items I shouldn't see the dragged item ( the entire dragged row as such ) but by default Flex has the functionality which shows the entire dragged rows content on mouse move. Please help me out like how can i make thie entire row's visibility to false when i move the mouse with the selected item in the Datagrid

    When you perform drag and drop, you doesnt want to see the item which is getting dragged. Then don't specify the proxy (it can be image, data) which reflects while dragging.
    On mouse move handler of the dragging object you will specify DragSource
    For ex:
    private   function doDragOperation(evt:MouseEvent):void
    var img:Image = evt.currentTarget as Image; 
    var temp:Image = new Image();temp.source = no_icon
    temp.width = 1;
    temp.height = 1;
    var dsource:DragSource = new DragSource();dsource.addData(temp,
    'img'); 
    DragManager.doDrag(img, dsource, evt,temp);
    Message was edited by: VijiNaga

  • Drag & Drop in finder and spotlight stopped working after 10.5.7 update

    Fresh brand new iMac here, clean install 10.5.6, everything fine, copied user data back, all fine, applied 10.5.7 update, bang, admin and user can no longer drag & drop.
    I did a permission fix which finds a LOT wrong, that worked, once, next restart gave me the same problem. Running permission fix did not resolve it this time.
    Seeing the machine needs to be urgently used I'm re-installing but would LOVE to see a fix as I have 3 other machines with exactly the same problem.

    Try a restart.
    Try trashing your com.apple.finder pref located in HD/Users/yourname/Library/Preferences, then restart.
    Apply the stand alone combo update 10.5.6 Combo Update This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    -mj

  • IC Agent mails attachment - Drag & Drop the file from local/desktop into mailform

    Dear Gurus,
    Please help me regarding the following it's urgent please!
    We have implemented the Interaction Center, in that we have one requirement, where uses/agents wants to attach/upload the file using drag & drop (mouse) method. The standard process is there will be an attachment block where we have button called browse, using this we can attache a file. Please suggest me is there any standard option/configuration to do this, if no standard way at least guide me how to achieve this using technical expertise.
    Thank you very much and Regards,
    Niranjan

    Hi Niranjan,
    Up to my understanding, SAP is working on this requirement of bringing the drag and drop upload functionality. You can find more information in the below link.
    You Asked for it, SAP Delivers: Twenty-Four (24) Cool New CRM Enhancements!
    Regards,
    karthi M R.

  • ITunes crashes when try to add songs to library both drag-drop and Add folder/file option

    I got the old iTunes updated, it crashed when open. Then I uninstall and download the newest iTunes. Restart my laptop.
    I even start iTunes in safe mode but it keep crashing.
    I try Add folder first, then Add file, then drag and drop. None of them work and I only have 700MB total of songs, no vids
    There were no pop up for error code or anything, iTune just crash when I try one of those add options.
    If anyone can help I would really appreciate

    after I got offline yesterday, I tried drag-drop again, it worked.

  • I deleted the "desktop" in tiger, can't "alias", "copy" or "drag & drop" anything to it now, I get a message that "desktop can not be changed"

    I was trying to make an alias of "SAFARI" icon to have on the desktop & in the dock as well, I managed to make the safari icon appear on the desktop, but when I wanted to switch from firefox to safari it wouldn't open / start safari, so OK, no big deal, I moved it the trash, ( by rt. click,>move to trash>click ) the horror starts here, everything on the desktop disappeared into the trash !!!!! ......
      So I have tried to "drag & drop", "alias", "copy", "duplicate" to get things back out of the trash, but every attempt is met with a message "the desktop con not be changed",   and whatever I try to bring anything out of the trash window, it gets a "minus - sign" added to it when it crosses over the edge of the trash window, and of course it jumps right back into the trash when the mouse button is released.
    I think (barely) I will need the do a "clean install", or a "restore" from the install DVD to restore / get the desktop back.
    And while the only thing on the desktop now is the HDD icon, clicking it open does not show the desktop in the Lf. column of the window where it should be, or any OS X folders when clicking on anything, but the OS is is running for this post and yahoo, etc., and there is a upward facing arrow next to the "network" name in the left column, that doesn't go away, like after installing some software, this is weird !!
    Any solid ideas welcomed, and Thanks for reading my driveling post,  .....  wayne146  .........
    this is happening on my back-up machine, a G4 400mhz PCI, OS X TIGER 10.4.11 & 9.2.2 in classic ( all the 9.2.2 stuff does still show in the hdd when clicked )
    I am having bigger troubles with my QS 800 dp, so I need this one to stay online, Please help !!!

    to safari it wouldn't open / start safari, so OK, no big deal, I moved it the trash, ( by rt. click,>move to trash>click ) the horror starts here, everything on the desktop disappeared into the trash !!!!!
    I am confused by what you did.
    open / start safari
    What did you do?  This looks like a terminal command.
    Or, did you click on the safari icon then right click on the safari icon then click on open? 
    I do not understand how you that moving to the trash would be helpful.
    I suspect disk corruptions.
    I run disk utility verify the file system on your starup disk.  See below.
    verify & repair your startup drive
    To verify & repair you file system on the startup drive, you will need to run disk utility from you installation DVD.
    This article  will tell you how to get to disk utility.  Once in a disk utility, you can go and attempt to recover the disk.
    http://support.apple.com/kb/TS1417
    To repair your startup drive, you will need to run disk utility from your startup DVD.
    Mac OS X 10.4: About the utilities available on the Mac OS X 10.4 Install DVD
    http://support.apple.com/kb/HT2055
    How to run disk utility from your startup DVD.
    Insert your  startup DVD  into your reader.  Power down your machine.  Hold down to the c key.  Power on your machine.  This will bootup your startup DVD.
    This will bring you to a panel asking you for your language.  Pick your language.
    You you come to the Install Mac OS panel.  Do not install.
    Click on Utilities menu item.  This will give you a pulldown list of utilities.
    Click on the disk utility.
    You are now in disk utility.  Pick your disk.  Click on repair it should be on the lower right of the panel.
    Once the repair completes successfully, you should update your permissions.
    Verify a disk
    As an alternative, you can verify that the filesystem on the disk is correct. You will not be able to repair the file system.
    I suggest that you use disk utility to verify that your startup disk is OK.  Macintosh-HD -> Applications -> Utilities -> Disk Utility  Start up disk utility.  On the left pane view, you will see a list of all your disks.   click on your startup disk.  Click on the First Aid  Tab.  Click on verify.   Hopefully your disk will verify.  If not, you have to boot from your installation DVD and run Disk First Aid from there to attempt to repair your file-system.

  • Can open Topics by drag & drop, but not by double-clicking in the DITA map

    Hi,
    evidently I made an error somewhere in my structure app, the result is that I cannot open DITA topics by double clicking them in the DITA map anymore (Framemaker does simpy nothing). I can, however, open them by dragging the xml files onto the Framemaker window.  If I use the standard DITA 1.2 application everything works fine so I guess the problem is in my mapping.
    Here is what I tried to achieve:
    We need certain variations of the normal 'topic' type topic. The DTD should be identical, however different structures should be auto-inserted when creating a topic and the topic should have certain attribute values predefined.
    The idea is that the author can select one of these topic types when creating a topic, but when opening an existing topic simply edit it with the standard topic temple.
    Here is what I did:
    I duplicated the topic.template.fm, renaming it say "topic_a.template.fm", "topic_b.template.fm" etc. (just an example).
    I made adjustments to the EDD of these templates, changing the auto-insertions and the default values of some attributes.
    In the structapps.fm file I added XML applications for these new topic types, mapping each application to one of the new templates, but to the original topic DTD and r/w rules. E.g. the application "DITA_1.2_topic_a" is mapped to the "topic_a.template.fm" template, and to the original "topic.dtd" and "topic.rules.txt" files.
    In Framemaker I then created corresponding application mappings in the DITA options. E.g. the topic type "A" (which defines the visible text in the "New topic" menu) is maped to the XML application "DITA_1.2_topic_a".
    The result:
    It works as intended in every way when creating topics. The topics are saved with the standard doctype 'topic'. However for when I try to open topics from the DTD by double-clicking then nothing happens. Opening topics by drag & drop works fine though and they are opened with the normal (general) "topic.template.fm" template as desired.
    Any ideas? Was this confusing or am I completely off somewhere?
    Robert

    Hi Robert...
    When you say that you need "variations" from the normal topic type .. are those structural variations or just formatting? FM associates structure apps with XML files based on the doctype (root element). If your files all have the same root element, then they will all open with the same structure application (unless you specify a different one when opening the file or by importing a new EDD). It sounds like you really should be creating a specialization for each alternate topic type. If you don't, you'll end up getting the wrong "model" assigned to the wrong file.
    Multiple EDDs (structure apps) can share the same DTD, and one EDD (structure app) can support multiple models. This is how the "ditabase" app works. There are lots of ways to set this up, but I think what you've done is probably not quite right.
    The default structure app setup in FM11 and FM12 is very complicated to work with. I recommend creating a single app that supports many models. This isn't always possible, but it sounds like in your case it should be. I've set up one app that supports 13 different specialized topic models and it works fine.
    Note that even though you've added structure apps for each model, if you end up opening the files using the default template, you are no longer using those modified models.
    Sorry, but this is a bit more than can be dealt with appropriately in a forum post. If you'd like more help with this, feel free to contact me off list.
    Cheers,
    …scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Unable to double-click or drag/drop files to open.

    I'm running Photoshop CC 64 on a Windows 7 64 machine and am only able to open files in Photoshop by going to File->Open. Double-clicking from Explorer doesn't work and i can not drag/drop files into the open application window or taskbar icon. Right clicking on files and selecting "Open with" also doesn't work.
    I checked file associations and made sure to choose CC 64. If I right click on the shortcut and choose "Run As Administrator" which I have to do in order to get files to open between Lightroom and Photoshop (both need to be Run As Administrator), I'm still unable to open from Windows Explorer. However, if I check the box to "Run this program as administrator" in the shortcut's Compatibility tab, I can double-click to open from Explorer but am prompted with a UAC warning every time. Dragging/dropping into the open app still doesn't work.
    Opening between Bridge and PS works as expected so long as both programs are "Run As Administrator"
    Been searching the forums here and seen suggestions of similar but not the same issue, at least not that I've found.
    Anyone else experiencing? Suggested remedies?

    This is an OS permission problem.  Make sure you have ownership of the HD.  Do a web search on how to check.  External HD can be a problem for permission.

  • Reinstalling CS2, and dragging/dropping files does not work

    I have Photoshop CS2. Or at least I
    had it. I had updated my operating system to Tiger, and it just caused a bunch of files to change, nothing really bad. It gave me an error message upon opening photoshop that "files necessary for running Photoshop were missing from the Application Support folder"
    So I read the advice on this FAQ:
    Scott Weichert, "Double-click/Drag-&-drop Photoshop files opens application but not file or I get a message saying that some files in Application Support are missing and I have to reinstall. (Photoshop CS/CS2/CS3)" #, 29 Dec 2003 2:45 pm
    And did what it said. I trashed the CS2 folder, and now when I try to re-install it my serial number won't work. Is my $400 serial number now permanently registered on a nonexistent platform?
    As an active photographer and graphic artist, I need Photoshop constantly. So any advice would be greatly appreciated as soon as possible. Thank you.

    The problem you got into is a known problem after updating to Tiger. It is a small 4K file that gets trashed with the update. It is called the Adobe Unit Types. Both Photoshop and Photoshop Elements need this file to function.
    One way to get it back is to reinstall Photoshop, the other is to add this file again.
    You can get the file from here http://www.dd.se/Tips/bildbehandling/downloads/AdobeUnitTypes.zip
    It is only 3,7 KB big.
    You put the file you download here:
    [hard disk] /Library/ScriptingAdditions. If you don't have a Scripting Additions folder, you create it.
    As you trashed Photoshop, you need to completely deinstall it to be able to reinstall it.

  • How can cocoa app get attachment in Drag & Drop email(s) from Mail?

    HI all,
    I would like to drag and drop one or more emails from Apple's Mail application to a cocoa application and have the cocoa application find the path to the attachments in those emails. If I drag & drop a message from Mail to Text Edit, it creates a link with the message subject. If I hold the pointer over the link in Text Edit, it shows the contents of the link, which has the form:
    message:%[email protected]%3E
    If I click that link, it opens a new Mail window with the message. None of that is the message number as shown in Mail's viewer window.
    I've also looked at what Pasteboard Peeker shows given a Drag & Drop from Mail. The above link data is from the public.url pasteboard type. Some of the others look interesting, but Pasteboard Peeker truncates the data read from the pasteboard, and the pasteboard types are probably nothing that we "supposed" to have access to since they have names like "Someone's super-secret pasteboard type". Any other ideas?

    Thanks, a brody.
    That tip takes me further down the field. And, I am able to do stuff like indent and change font color of my comments which is very helpful.
    However, the big disappointment is that by dragging the original message to the Draft mailbox and then back to the original one after the edits is that it removes the original sender's name and puts mine in along with changing the heading info on date and time. That is, it creates a new message, rather than allowing me to modify the original one to suit my needs.
    All the same, this was a very helpful tip. Thanks again.
    Anyone know of a plugin?..............or two?....

  • R6034 error Photoshop CS2 drag & drop

    I've had this problem for some time.  I'm on Vista-64-SP2 running Photoshop-CS2 When first installed PS-CS2 worked fine. I got no errors when starting the program and I could drag & drop icons from the desktop or windows onto the Adobe taskbar icon and the photo would load normally.
    Then I let Adobe automatically upgrade my CS2 and other Adobe products (Dreamweaver CS4, Illustrator CS2, GoLive6, Reader, Flash browser plug-in, etc.) and then I started getting a windows error message R6034 saying that "An application has made an attempt to load the C runtime library incorrectly."  Microsoft says the fix is to recompile the application.  Yeah right!
    OK, so I delete Photoshop and other applications and reinstall them all and the problem goes away ... until I let Adobe automatically update the products and the problem comes back.  Yes, I can probably live with an unupdated virgin version of Photoshop CS2 but there should be an answer from Adobe or at least someone else to validate that my complaint is not unique.
    Another problem that may be related is that I've seemed to have lost the ability for Adobe GoLive6 to open Photoshop images for editing
    Also I've lost the ability to drag & drop from the desktop or a window onto an open Photoshop application or onto its icon on the taskbar.
    I've searched the web and find nothing similar.  The solutions I have found were unrelated to my situation or were for a Macintosh.  I've searched the forums here and find nothing that gives an answer.
    I know pretty much what I'm doing around computers and I keep a clean system.  Informed replies are most appreciated.

    I don't think you will have much luck on that one. The problem here clearly is the way 32bit DLLs need to be piped on 64bit systems, which for some reason does not seem to work in your case, probably due to soem registry key being changed and then it messes up the wghole OLE/ DDE/ COM shebang. It may be further complicated by some dispaly routiner incompatibility. Since CS2 was never developed with Vista 64 in mind, you can't even exactly blame someone and this seems a common problem with an assortment of legacy apps, not just Adobe programs. What you could try is to download Sysinternals' Process Monitor, establish a filter rule specific to the updater and see, which registry keys it changes, which DLLs it replaces etc. this may then offer some clues as to which ones you need to salvage before the update and may possibly put back into place thereafter. May work, may not, but in any case you are doing it on your own responsibility....
    Mylenium

  • Bridge CS5 Windows crashes when I command/move or drag/drop files internally

    Bridge CS5 crashes with a Microsoft "report error" dialog whenever I drag images from one folder to another inside of Bridge, or use the right-click "Move To . . ." mouse command.  After months of successful use of the Bridge CS5, this behavior suddenly began.  Unfortunately, I can't now remember whether I did anything to my Windows environment at that time.  Bridge does not have trouble with dragging or command/moving files into Photoshop, but dragging image files (jpg) from a search screen or the Windows Explorer can also end in a crash.
    I'm running Windows XP SP3 32-bit on a 4-processor machine with adequate ram and lots of hard drive/scratch drive.  I deinstalled every trace of Bridge and reinstalled the upgrade 4.0.2.1, which makes me up to date. Working with Adobe Support I also cleared and uninstalled, and then reinstalled Photoshop, Bridge, etc. to fix some other problems.
    I have experimented with purging the Bridge cache for individual folders I was dragging from and to, but didn't purge all caches.  Typically, the crash appears a few seconds after dragging/moving a file - continuosly sucking-me into thinking things are at last repaired.  On occasion images are lost - i.e. really destroyed, or dropped into some limbo somewhere.
    I'd be truly grateful for any ideas to try, no matter how extensive or simple.
    Thanks!

    Hi Robert,
    I'm a developer from Br team. Thanks for reporting Br. problems.
    It seems like a memory issue. Please try this to help us identify the root cause:
    1. Disable all startup scripts (Edit->Preferences->Startup Scripts->Disable All), then restart Br.
    2. When Br is running, kill "SwitchBoard" process in task manager.
    3. When do Copy&Move operations, don't use Drag&Drop, try to use "Move To / Copy To" menu. (A known issue of Bridge, should be fixed in later versions)
    Does the crash still happens?
    Thanks very much!

  • Drag Drop List to List

    I have a source list and a destination list. I want to submit
    the contents of the destination list via my sendformdata function
    along with the other formitems.
    Here are my source/dest lists.
    <mx:VBox dropShadowEnabled="true">
    <mx:Label text="Available Loops"/>
    <mx:List id="srclist" width="300" height="150"
    allowMultipleSelection="true"
    dragEnabled="true" dropEnabled="true"
    dragMoveEnabled="true" labelField="category"
    dataTipFunction="myLabelFunc" showDataTips="true"
    alternatingItemColors="[#ece8ff, #ffffff]">
    </mx:List>
    </mx:VBox>
    <mx:VBox>
    <mx:Label text="Patched Loops"/>
    <mx:List alternatingItemColors="[#ece8ff, #ffffff]"
    id="destlist" width="200" height="150"
    allowMultipleSelection="true"
    dragEnabled="true" dropEnabled="true" dragMoveEnabled="true"
    labelField="category"/>
    </mx:VBox>
    user drags one or more items from the source to dest list.
    This works great.
    Now I need to pass the dropped/selected data in destlist to
    myobj, along with the other form items. How?
    <mx:Script>
    <![CDATA[
    private function sendFormdata():void {
    var myobj:Object = new Object();
    myobj.name = myname.text;
    myobj.email = myemail.text;
    myobj.entry = myentry.text;
    myobj.entrycomment = myentrycomment.htmlText;
    myobj.selectedcats= destlist.????
    cfdataInsert.addData({user:myobj})
    ]]>
    </mx:Script>
    Second part of my question is that I want the value of
    myobj.selectedloops to be a comma separated list of categoryid
    numbers (e.g. 1,3,5). My query, that populates the source list via
    the remoteobject contains categoryid,category, and description
    columns. I currently display the category in the labelField of the
    list, but I need to submit the categoryid to the DB.
    data comes from...
    <mx:RemoteObject
    id="cfdata" showBusyCursor="true"
    destination="ColdFusion"
    source="da8.Constellation.entries">
    <mx:method name="getCats" result="getCats_result(event)"
    />
    </mx:RemoteObject>
    getCats ColdFusion function...
    <cffunction name="getCats" access="remote"
    returntype="query">
    <cfset var CatData = "">
    <cfquery name="CatData" datasource="#DSN#">
    select categoryid,category,description
    from Categories
    order by category
    </cfquery>
    <cfreturn CatData />
    </cffunction>
    and then this function populates the srclist with the
    data....
    public function getCats_result(event:ResultEvent):void
    srclist.dataProvider = event.result as ArrayCollection;
    destlist.dataProvider =[];
    How do I pass the resulting destlist categoryids to
    myobj.selectedcats ?
    I don't know how the ArrayCollection organizes the query and
    how to reference the categoryid in the srclist and destlists.
    I'd appreciate any help.
    Thanks,
    Don

    SAP has lots of demo reports for drag and drop functionalities. Please check [Drag & Drop With the ALV Grid Control|http://help.sap.com/saphelp_erp2004/helpdata/en/22/a3f5fbd2fe11d2b467006094192fe3/content.htm]

  • BW Report iView Drag&Drop

    We have configured a BW Report iView.  The report appears to be generated correctly.  However, drag & drop functionality does not seem to be available.  When using the URL iView, the drag & drop is supported.
    Appreciate if you could advise how to make drag & drop work when using BW Report iView.  Thanks.

    Hi Raja,
    When I execute the query as stated by you i.e; query designer and then by clicking on the display query on the web(ctrlshiftw) button it takes me to aol's search engine
    Alternatively when I uncheck the show friendly http error messages and preview the iview it throws the following error
    The following error occurred:
    Could not connect because of networking problems. Contact your system administrator. (CANT_CONNECT)
    Please contact the administrator.
    I have checked all connection properties and the test connections - Connection Test for Connectors connects successfully as well.
    Where could the problem be? Is there any other way of excuting the query on IE?
    Thanks in advance.
    Best regards,
    Divya Rao

Maybe you are looking for