How can I drag and drop an icon/image into a panel??

Dear Friends:
How can I drag and drop an icon/image from one panel into another target panel at any position in target panel at my will??
any good example code available??
I search for quite a while, cannot find a very good one.
please help
Thanks
Sunny

[url http://java.sun.com/developer/JDCTechTips/2003/tt0318.html#1]DRAGGING TEXT AND IMAGES WITH SWING

Similar Messages

  • How can I drag and drop a Tidal job into another group?

    How can I drag and drop a Tidal job into another group? In Tidal Help, it says-
    In the Jobs pane, press and hold the Ctrl key and at the same time right-click and either individually select individual jobs within a job group or drag your mouse cursor over a block of jobs that you wish to select. You can only move multiple jobs between job groups if the jobs being moved are on the same level.
    Keeping the right mouse button depressed, drag the cursor to the job group that you wish to move the jobs to and release the mouse button.
    When moving jobs from one job group to another, you must decide if the moved jobs keep their original job group attributes or assume the calendar and agent characteristics of its new job group.
    A confirmation dialog, offers three inheritance options for the jobs moved to the "new" job group parent. Select one of the following options:
    However, when I attempt to follow those instructions, it doesn't work at all and there is no indication that it's even trying (i.e., I don't see the selected job following my cursor at all and all I get is the normal menu when you right click anywhere on the screen.)
    Is there another way to do this or is there a master setting that needs to be changed so that ability is enabled?
    Thanks.

    Go into edit mode for the job group group and just manually edit the section for Parent job/Group.
    Cheers

  • Mac: can I drag and drop files from Finder into Files panel

    I am relatively new to Mac so forgive me if this is obvious.
    I just switched from Windows to Mac and now something I used to
    know how to do in Windows I can't figure out how to do on Mac. In
    Windows I used to open an Explorer window over Dreamweaver, select
    some files, and drap and drop them into the Files panel in
    Dreamweaver, and they would be sucked in.
    Now on the Mac whenever I select the Finder window to select
    files to drag and drop, the Dreamweaver panels disappear
    completely, rather than just move beneath the Finder window. So
    when I'm ready to drag and drop there's no Dreamweaver to drop
    into. I see that if I put focus on Dreamweaver, then Finder won't
    disappear, and I can click on Finder to begin a drag without
    Dreamweaver disappearing but then it is unresponsive to a drop.
    In short, I can't seem to drag and drop files from Finder
    into Dreamweaver on the Mac. Am I missing something? I'm using
    Dreamweaver CS3 on Leopard if that makes any difference.
    Thanks,
    Jan

    I don't believe you can do this on the Mac platform. The only
    other thing you could try is to use Spaces and have the Finder open
    in one Space and then drag it over to Dreamweaver in another space.
    Outside of that I can't think of how this would work.

  • Help, I can not drag and drop address book contacts into numbers.

    i have read the manual. watched videos on youtube, but I can not drag and drop address book contacts into numbers or pages.  I upgraded to Numbers 09.  set up the fields as stipulated, but when I drag a contact to the numbers canvas it just bounces back to address book.  I tried reinstalling 09 thinking it was a faulty install.  no luck.  Have tried dragging to balnk part of canvas, to the table, and to a table with fields, no luck. 
    Thank you.

    Could be a preferences setting. See Jerry's post in this thread.
    Regards,
    Barry

  • I can't drag and drop iTunes music files into Roxio Jam 6 anymore and, now I have to import music one song at a time by using the " " or "-" buttons on the bottom. What is going on? G5 Dual 2 Ghz and OS 10.4.11

    Hi. I have not used Roxio Jam for quite a long time and I just wanted to make a few CDs. Jam used to work easily and well. I have a problem. I can't drag and drop iTunes music files anymore and, now I have to import music one song at a time by using the "+" or "-" buttons on the bottom. What is going on? I trashed the preferences file and restarted Jam to no avail. I also have selected that Jam should open files with iTunes in the Jam preferences. I have a G5 DP 2Ghz PPC  machine with OS 10.4.11, iTunes 9.2.1 and Quicktime's version is 7.6.4. I have 2 GB of RAM and the machine has dual 1.25 Ghz. processors plus a 500 GB HD. Can anybody give me any suggestions?
    Thanks in advance,
    Larry

    I found an solution.
    Uninstalling AirParrot as well as the two offending AirParrotDriver.kext and APExtFramebuffer.kext files in System>Library>Extensions was the fix. All problems disappeared.

  • How can I drag and drop an item from one Tree control to another in LabVIEW 7.1?

    You can use the mouse up and down event on the two tree controls but the problem is making the correct selection in the second tree control. I want to be able to switch over to the selection bar of the second tree control so that I can place my item in the correct position. I know all possible workarounds with double-clicks and so on... but I really want a windows drag and drop.
    This is what I have for the moment. Please check the library below. I need to activate the selection bar of the second tree control somehow to get the position in the control. The VI below is written in LV 7.1
    Attachments:
    Drag&Drop.llb ‏65 KB

    Hi Jones,
    As far as I know this feature is currently not supported by the Tree control. A workaround, would be to use the vertical position of the mouse in the button up event to determine what line you�re dropping the item.
    If you would like the Tree control to include the drag and drop feature, please submit this as a Product Suggestion under the feedback at www.ni.com/contact.
    Good luck!
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • I have multiple libraries how can I drag and drop songs from either

    I have 3 PCs that are all authorized to play my music.  I have different music on different machines that I have downloaded from various places and or ripped from my own cds.  I can from my home PC drag and drop music and movies to my iPhone.  But on my work PC say if I download a new Album (not from itunes) and it is in my library, I want to be able to just drag it onto my iPhone so that I can listen to it at the gym.  When I do I see a small red circle with the red slash through it and i cant copy it.  I am tired of synching and want to be able to drag and drop from any of my PCs..  is this possible?

    My mistake totally!!! I confused a new playlist folder with a new playlist.
    Just wanted to pass that along.

  • How can I drag and drop lectures within an itunes U album so that they appear in order after syncing with my iphone?

    Whenever I download audio iTunes U lectures, they don't show up in the order in which they were recorded and therefore do not sync in order on my iphone.  There is no sorting option to sort by date recorded.  All I want to do is drag and drop the individual lectures to their proper location so that they will be in order by recording date.  Anyone have the secret?
    Kristy P-S

    This problem started last year when ios 8 was released. I think apple is trying to force users to buy music on iTunes store and that's why it's impossible to sync other music and also that's the reason why they haven't solved this serious problem. That's really disappoints me and i'm angry with apple because i have like 10 gb of music in mp3 and i can't sync music from iTunes to my iPhone.

  • How can I drag and drop a song from my "Purchased" list on to my i-Pod?

    I've recently updated the apple software on my PC and the new version of i-Tunes won't let me drag and drop songs from my "Purchased" list directly to my i-Pod.  I don't want to sync my i-Pod.  It will erase all the songs on my i-Pod and sync with the playlist from my PC.  I want to select just one song from my "Purchased" list and put that on my i-Pod.

    I got my own answer !!   I saw it on another post.  Select "View" and then toggle down to "View Sidebar".
    Now I can drag and drop like before. 

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

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

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

  • Really stupid that you can't drag and drop photos from Finder into Events

    There is no way in iPhoto to do what I want and need to to, to wit, drag and drop photos from the Finder into existing iPhoto Events.
    It really doesn't make sense that you can't do this. First of all, calling these groups Events to begin with is not smart; in my case, a group of photos in a folder on the Finder is rarely all from one photo session or so-called "event"--- instead of Events they should just be called Groups or something, and you should be able to drop individual photos into them. I have thousands of family photos that were accumulated on my hard drives over the years, some scanned in from film negatives, slides, or prints, others from digital cameras, and when I have changed Macs and hard drives over the years, every time a folder of photos was moved from an old hard drive to a new one, or regrouped into various folders, the photos seem to have acquired new dates of origin, etc.
    Anyway, what I mean is, if Events are all time based, then somebody like me who has thousands of photos with all sorts of dates of origin, mostly unrelated to the date that the photo was actually shot, is screwed. I have old photos with new dates of origin and other mismatches between photos and the dates when they were actually shot or scanned.
    My gripe is, again, that when I find photos on my hard drives that belong in certain iPhoto Events that have already been created, I cannot just drag these photos from the Finder and drop them into the Events they belong in. Instead, the stupid program creates a new Event from each photo I try to drop into an existing Event. That means I have to chase these new photos all over the place inside of iPhoto, trying to figure out where each new photo (now called an "Event") has ended up, so that I can drag and merge it into the Event I wanted it to go into in the first place. A real pain in the neck. It simply takes too long to do this for each photo added.
    What this means is that iPhoto is not going to be a practical way to organize for a person like me until Apple makes it possible to simply drop any photo from the Finder into an existing Event. There should be an option to allow that. I'm really surprised there is not one. <edited out by Hosts>
    Tom

    Tom, iPhoto will not overwrite photos with the same name. I have plenty of photos with the same name in the same event. Each photo most likely has an internal handler that manages the photo, and not just the name of the file.
    I agree with you that this is sub-optimal, and (IMO) I think what happened is iPhoto 6 had rolls, and they came up with a really cool interface for mousing over those rolls, and decided it was more consumer friendly (and because film is a thing of the past) to call them events, rather than rolls. I think it was worth a shot, but they just slightly missed.
    Right now in iPhoto08, any serious organization is done in folders and albums. Personally, I think they need to combine the two concepts -- the great "mouse over" view of events with the organization abilities of folders and albums. I'd like an albums view where I can mouse over the albums. Actually, Aperture 2's interface for organization is more functional than iPhoto, so I am hoping some of that benefit creeps into the next iPhoto release.
    What I do is: I use events for high level grouping (like Winter 2007) and I organize folders and albums to break that down further ("trip to Montreal" "Christmas" etc.). But I do it backwards. I fill albums first, then I organize events.
    When I drag in pictures to iPhoto, first I make the target album in iPhoto that I want to populate, then I drag the photo directly to that album (not to events). iPhoto automatically puts the photo into the album I created and also into a new event. Later, I go into events, right-click on this new event to "open event in separate window" then I move around the events view, to drop in the pictures from the "import" event I just created. If I move all the pictures into other events, iPhoto automatically deletes the event I just emptied. You could skip the event organization all together if you wanted to, but you'd lose the cool mouse-over feature, which can be handy.
    One nice thing about having events AND albums is you can have the photo just once in iPhoto, in an event, but then have the photo appear in as many albums as you want (as well as projects and web galleries) all while only having one photo on your hard drive. So, there are benefits to events, but I think iPhoto is missing just a couple little bits of organizational ability to make it perfect. (and yes, I've submitted this all to Apple as feature requests)
    Just in case you don't know -- events don't have any hierarchy. That is, you can't nest events. But you can have folders with subfolders, and any folder can contain albums. Albums cannot have sub-albums, and folders don't hold photos. Only albums hold photos, and folders (or sub-folders) hold albums. Try create some folders and albums and you'll get the hang of it. One other issue that Apple needs to address. When you create a new folder or album, it doesn't put it right where you want it, but rather puts it at the bottom of the list, so you have to drag it up to where you want it. Try it out, and you'll see what I mean, then submit it as a feature request to improve that.
    I agree it's not perfect, but it's not too bad once you get used to it. And the benefits of working with the rest of the features of iPhoto is worth it. I'm just really hoping they do a few tweaks on the next release. They are near greatness here. They could just use a little nudge on the last bits. (in my opinion of course. Others may disagree, but I've talked to enough people who have the same issues you are having to know we are not alone on this).

  • Can I drag and drop entire hard drive into and external hard drive?

    I want to back up my MacBook Pro before I send it in for optical drive replacement. However, the Time Machine back up app wants me to erase my external drive and reformat before it can back up my files. I already have information from other computers on the external drive, so erasing and restoring is out of the question.
    Can I just drag and drop my hard drives (Macintosh HD and BOOTCAMP) into the external hard drive?
    Will that transfer everything?
    As a side note, can anyone tell me why Time Machine doesn't work with the external drive? My dad has files on it from his Mac and I have a couple movies saved on it from this one. Is it possible to maybe partition the external drive to accommodate both and reformat only one partition without losing the other saved files?

    Hi
    +"So does reformatting make the external hard drive only usable by Macs/Time Machine?"+
    Not really. If the external drive is formatted as FAT32 you can read/write to that drive from any Mac as well as any PC. If the external drive is formatted as NTFS you can only read from it but you can read/write from any PC. You can write to an NTFS formatted volume if you use a 3rd-Party Utility such as MacFuse. If the drive is formatted as Mac OS Extended you can read/write to it from any Mac. Unless you install a 3rd-Party Utility (I don't know of any offhand) you won't be able to read/write to it from any PC. PCs don't know what a Mac OS Extended format is.
    As already mentioned TimeMachine will not work with any other format other than Mac OS Extended.
    +"Will I be able to use the same external hard drive to back up multiple Mac computers with Time Machine?"+
    Yes but only if that external drive has been formatted as Mac OS Extended. If there is existing data on that drive that you don't want to lose back it up first.
    +"Will I still be able to drag and drop movies into the external hard drive for basic storage?"+
    If you leave the external drive exactly as it is - ie no formatting - and you have already drag/dropped files to it from your mac or any other mac then you will be able to continue to do this.
    Tony

  • Can't Drag and Drop a Standard ES into VC 7.1

    Hi Experts,
    I am using a Standard ABAP ES from IDES 6.0 system, I have published the web service "SupplierERPRelationshipContactPersonByIDQueryResponse_In" from the IDES System into SR of our CE 7.1 Server. I am not able to drag and drop the same into the VC Design Board.
    When I publish a new standard ABAP ES "customerinquiryerpbyidqueryresponse_in" from the same IDES system , I am able to consume it.
    Also, my Console doesn't seems to be active. How to activate it.
    Please help me to solve this issue.
    Regards,
    Palani
    Edited by: Palani Appan on Oct 10, 2008 11:10 AM
    Edited by: Palani Appan on Oct 10, 2008 11:14 AM
    Edited by: Palani Appan on Oct 10, 2008 11:15 AM

    Hi Experts,
    Previously, I was able to access other web services, but now i am not able to access any web service that i have published in SR.
    When I try to Select the Web Service, I am getting an error
    u201CError in Search: Unknown error has occurred in service executionu201D in VC Console.
    Please help me to solve this problem.
    Thanks,
    Regards,
    Palani

  • I can't drag and drop a Goggle image onto a Word doc.

    Is there a Firefox preference that allows images to drag and drop onto a Word doc?

    For what it's worth, this worked for me using the beta version of Firefox 4 and Word for Mac 2011. If it doesn't work for you, try dragging the image from Firefox to your desktop, and then from your desktop into Word.

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

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

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

Maybe you are looking for

  • HT1339 HELP my ipod nano has completed frozen and won't do anything

    my ipod has complete frozen won't turn on or off and won't work charging by the mains or via the computer, i wanted to do a master reset but i can't even do this, please can anyone help

  • Oracle 11g in Virtual Machine

    Hi Gurus, I would like to gather input from you, what is the pro and con, advantages and disadvantages for putting Oracle 11g in Virtual Machine (VMWare, Oracle VM, Virtual Box, etc.) and will there be any licensing issue with this. Currently we have

  • Material valuation IFRS

    Hello experts, We are working on an ECC 6.0 implementation for IAS/IFRS. Therefore, it is necessary to have two accounting ledgers (IFRS ledger and Legal ledger for the country - Chile) in order to support two different kind of material valuation (on

  • OWA CSS11501 and ssl termination

    Hi, Is it possible to use the css to load balance for OWA and offload SSL ? have tried this and it appears to break OWA even though other web apps work ok through same CSS. When removing ssl termination could only make load balancing work when incomi

  • Possible Bug in Facebook Upload Program

    I have been using Aperture for quite some time now and think that I have found an obscure bug.  I took some photos over the weekend and one of them was a picture of an owl.  The eyes were red, so I used the red-eye removal feature to correct this pro