Change Drag and Drop Cursor/Icon

When a drag and drop starts, a default icon/image appears under the cursor.
Is there any way to change this icon/image ?
thanks

See this thread Drag/Drop cursor image
The short answer is no.
If you want the feature, submit a jira: http://javafx-jira.kenai.com and provide a link to the jira in this forum thread.

Similar Messages

  • Change drag and drop cursor

    My application lets users drag files from their desktop and drop them onto a Jtree. I wrote this test app to see if I could change the drag cursor by defining the dragenter method. But the cursor doesn't change until the drop is complete.
    In my final app I want the cursor to change to the "no drop" symbol when the user tries to drop files in certain nodes. But in this test I'm simply trying to see if the cursor will change at all.
    The only examples I could find were apps dragging components from the applet, in which case they tied their compents to a DragSource object. In my case the drag is coming from outside the applet. Any help would be appreciated.
    public class UploadGUI extends Applet implements DropTargetListener{
    public void init()
         DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root");
         DefaultMutableTreeNode child1 = new DefaultMutableTreeNode("Child");
         root.add(child1);          
         DefaultTreeModel treemodel = new DefaultTreeModel(root);
         JTree tree = new JTree(root);
                    dropTarget = new DropTarget(tree, this);
                    jscroll = new JScrollPane(tree);
                    add(jscroll);
    public void dragEnter(DropTargetDragEvent dtde)
        jscroll.setCursor(DragSource.DefaultMoveNoDrop);
    }

    try DragSourceListener instead and implement the dragOver method.

  • 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.

  • 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

  • Drag and Drop Cursor changes - not working

    I have fully implemented a working drag and drop Swing application, but I am running into problems with the cursor.
    My application has some drop targets that set the cursor to DragSource.DefaultCopyNoDrop, and some that set it to DragSource.DefaultCopyDrop. The problem is once I change the cursor DefaultCopyDrop, I can never change it to NoDrop. I can however change it from NoDrop to Drop. I have tried it with jdk1.4 beta3 and rc.
    An example of this cursor behavior can be found at:
    http://www.javaworld.com/javaworld/jw-03-1999/jw-03-dragndrop.html
    I found some information related to this at:
    http://developer.java.sun.com/developer/bugParade/bugs/4407521.html
    I have tried using a null cursor in the startDrag method.
    Does anyone have a DND example where the cursor consistantly changes to give drop feedback that works with the DND in JDK1.4?
    Dave

    Hi, I also want to implement DND. I am using JRE1.3.1
    I am also facing the cursor change problem. i have passed null in the startDrag method. This problem get solved to some extent, but still many times cursor is not changing. I have created my dragSource and drag Target
    in the Constructor of my tree in a separate thread like
    // IN CONSTRUCTO OF TREE
    SwingUtilities.invokeLater( new Tree_DropTarget(this) );
    SwingUtilities.invokeLater( new TreeDragSource(this,
    DnDConstants.ACTION_MOVE) );
    Than in the target and source class
    publi clas Tree_DropTarget implements DropTargetListener,Runnable
    public Tree_DropTarget(JTree tree)
    m_dropTarget = tree;
    public void run ()
    try
    Thread.sleep(2000);
    catch (InterruptedException e)
    m_dropTarget = new DropTarget (m_targetTree, this);
    Same Way I have done for DragSource.
    Is anything wrong there???
    I am also facing 1 more proble, sometiems DND events are getting fired on navigating through the nodes, even though i am not dragging the node. And getting the Below exception some times
    java.lang.NullPointerExceptionat sun.awt.dnd.SunDropTargetContextPeer.handleMotionMessage(Unknown Source)
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    This exception I am not able to get who is throwing as all exceptions i am catching.
    Please help me, if u had any idea about these problems.

  • Drag and Drop error - icons are stuck to the cursor

    For the last few days when I try to use drag and drop, the items stick to the cursor and cannot be dislodged without a force quit or a reboot. That is they drag, but they do not drop. This is really sub-optimal.
    Has this happened to anyone else? How do I fix it?

    Idiot question - How do I re-install Leopard? No matter what I do, it kicks the disk out on restart. I have tried using the 'install' command on the disk, nothing. It kicks the disk out and boots from the hard drive. I have tried rebooting holding down the 'c' key to force it to read from the drive, it still kicks the disk out and boots from the hard drive. What else should I do?
    I researched back further and found another thread where people were complaining of the same drag and drop issue: http://discussions.apple.com/thread.jspa?messageID=6446208
    Someone suggested a solution involving permissions. I fixed my permissions. Drag and drop is still not working.
    There was also a set of commands to type into terminal that would supposedly fix the issue, or perhaps it was a Spotlight issue that the thread had morphed into. I did that. Drag and drop is still not working.
    Am I just totally hosed? Help!

  • 1.4 Drag and Drop - lost icons when added my own TransferHandler

    I've been trying to implement drag-and-drop using a custom TransferHandler on JDK 1.4.
    When I use the system default TransferHandler, I get nice icons that indicate whether the drop is allowed or not. Once I implemented my own TransferHandler, all I get is a dim grey outline when I drag -- the icon doesn't change when I drag to an area where acceptDrag() is being called versus one where rejectDrag() is being called. (I've got println's in the code so I can verify the accept/reject calls are happening, but the icon never changes).
    It would be extra nice if the icon indicated whether a COPY or MOVE operation was selected, and toggled the icon appropriately.
    From other messages in this forum, it appears that the getVisualRepresentation() method of TransferHandler is never called, so that would not help.
    I don't really need customized behavior here; I'm just trying to get back the behavior I saw with the default TransferHandler. Any suggestions?
    Thanks!
    Mike Yawn

    I've been trying to implement drag-and-drop using a custom TransferHandler on JDK 1.4.
    When I use the system default TransferHandler, I get nice icons that indicate whether the drop is allowed or not. Once I implemented my own TransferHandler, all I get is a dim grey outline when I drag -- the icon doesn't change when I drag to an area where acceptDrag() is being called versus one where rejectDrag() is being called. (I've got println's in the code so I can verify the accept/reject calls are happening, but the icon never changes).
    It would be extra nice if the icon indicated whether a COPY or MOVE operation was selected, and toggled the icon appropriately.
    From other messages in this forum, it appears that the getVisualRepresentation() method of TransferHandler is never called, so that would not help.
    I don't really need customized behavior here; I'm just trying to get back the behavior I saw with the default TransferHandler. Any suggestions?
    Thanks!
    Mike Yawn

  • When I drag and drop an icon from the address bar to the desktop is does creat the shortcut but will not display the website icon, only the firefox icon, how can I display website icons?

    When I drag and drop a website icon from the Forefox address bar to the desk top, the short cut is created but the icon that appears is the firefox Icon. I want to disply the icon from the website that the short cut refers to. I have checked all I can think of in my computer to no avail.

    You have to assign the favicon yourself to the desktop shortcut (right-click the shortcut: Properties) after you have dragged the link to the desktop.
    You can usually find the favicon in Tools >Page Info > Media and save the icon there.
    Otherwise use the main domain of the website and add favicon.ico (e.g. mozilla.com/favicon.ico ) to display the favicon in a tab and save that image to a folder.

  • Cannot drag and drop, desktop icons disappear!

    When I try to drag any desktop icon, all of the icons disappear. Here's the crash report:
    Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
    Version: 10.3.3 (10.3.3)
    PID: 346
    Thread: Unknown
    Link (dyld) error:
    dyld: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder Undefined symbols:
    /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder undefined reference to _AddDragKtemFlavor expected to be defined in Carbon
    I used disk utility to repair permissions, did fsck -fy twice, to no avail. Any other suggestions?
    Thanks!

    Heather,
    You said: I have a sinking feeling that I'm headed for a full reinstall.
    In my opinion, it is still to early to consider that option.
    Before you attempt anything else, make sure that you have a proper backup.
    Then I would advise you to start in the "Safe Mode" and see if your problem persists. Let us know what happens.
    If you have no success with the Safe Mode, and decide upon reinstallation, an "Archive and Install" followed by the reinstallation of the Mac OS X 10.3.9 Update (Combo) would be my recommendation.
    ;~)

  • Drag and Drop and save changes

    I am attempting to make an application that gives users a vast selection of icons that they can drag and drop into their own area which act as links to sites once they are double clicked but when they are clicked a single time they bring up a panel which shows the name of the website, a video about the website, a link to the website and a description of the website.
    Similar to this example except whenever any of the icons are single clicked they will bring up an information panel or link to the relevant site if they are double clicked:-
    http://demo.quietlyscheming.com/DragTile/DragDrop.html
    The drag and drop part is easy but I'm basically wondering what would be the best way to achieve this so that all data required is stored 'within' each icon? i.e. how can you store information such as a title and description within an icon so that it only appears once it is clicked and what would be the best possible component to use for the overall icon 'grid' and the icons themselves?
    This may sound silly but I've only just started using Flex and I'm simply looking for suggestions.

    Thanks my friend that helped me a lot and works well.
    I have another question for you, if I want to allow the users to SAVE the positions of the links they add how would I go about this? What I mean is if a user drags and drops some icons from a tilelist on the right hand side to their own tilelist in their own profile area how will I allow these tiles to still be saved in the same position if the user closes then reopens the application? I want each user to be abler to create their own list of links and then save these for future uses.
    Is there a simple way of achieving this or would it require a vast amount of coding?

  • How do I uninstall software not in my applications folder? The icon won't drag and drop to trash.

    I received a fitness device and downloaded the software. It didn't download to my Applications folder and I wasn't smart enought ot make sure I saved it there. Now the device doesn't work and I want to uninstall the software. I tried dragging and dropping the icon from Launchpad but that doesn't work. This lomg-time PC user turned Mac lover needs hlep!

    well this is strange, but hang with me a sec.  Some of these will sound obvious but i have to ask them.
    1)  Are you 100% sure it's not in your application folder?  (I have downloaded stuff and looked for a while without seeing the app RIGHT in front of me).
    2) The hard thing to believe is that it is in your launchpad but NOT in your application folder. 
    3) Try downloding it again....it might find the detect the old version and overwrite it.  I have never downloaded an app that did not automatically download to the applications folder, but if this one did, check to see what option it gives you to dowload to by default.  That way you can see maybe where it was installed to, and thus find it and delete it.  then reinstall to the applications folder.
    let me know

  • I can no longer drag and drop a website onto my desktop.  NOW I have to go through hoops to get anything I want onto my desktop !  this *****

    I had Leopard.  I jumped to Mountain Lion.  Sorry sorry sorry I did.   Many things are stupidly difficult to do, minor tasks, that once were EASY.
    I USED to be able to go onto a website, then DRAG AND DROP the ICON from it ONTO my desktop.  NO MORE.   Frankly, there is NOW no easy way that I've found ..........May I also say, Mountain Lion is one horrendous piece of ........##@@!!!.   I gave my old iMac to a friend after upgrading it for her...with Mountain Lion.   I wish to God I'd not tormented her with that OSX.  I wish to God I'd not tormented myself with it on my own iMac.
    Someone tell me......there MUST be an easy way to Drag/drop a website to my desktop for regular use???  IF NOT, we have YET another glitch on this stupid OSX.
    I have 10.8.2.  2.5GHz Intel Core i5  4GB  21.5 screen  (2011)

    I realize my post made me appear UNcalm.  Sorry.  I am rather irritated by this and have been.
    When I now go to any website, I can only go on it by clicking FULL page.  In other words, I can get to it by 2 ways, by putting it into the "google" bar, or by FULL screening to type in http....www....etc.
    I am then in Full screen to access any website.  THEN,   I can no longer drag/drop the website's Icon to my desktop.......If I diminish, I lose the website.  It may bring up the same site, but will not let me drag the site's icon ONTO my desktop to use in the future.
    That seems to have disappeared with Mountain Lion.  I was able to do it with ease on Leopard.
    Repeat:
    In Leopard, I would go to a website and could drag that website's icon ONTO my desktop.  Period.
    I am no longer able to do this with Mountain Lion.
    If I try to drag anything, NOTHING happens OTHER than it replicates the page...it does not place an icon on my desktop to use in the future.
    I am CALM.  I AM frustrated.

  • I tunes drag and drop to playlist

    Does anyone know why it is not possible to select CD tracks then drag and drop to new playlist. On screen tells me number of tracks+ but action does not execute? I have to laboriously go to library, search for new CD track(s), highlight then drag and drop to playlist.
    My i pod is 30 G colour screen.

    Does anyone know why it is not possible to select CD
    tracks then drag and drop to new playlist. On screen
    tells me number of tracks+ but action does not
    execute? I have to laboriously go to library, search
    for new CD track(s), highlight then drag and drop to
    playlist.
    My i pod is 30 G colour screen.
    Thank you
    I do import from CD first. Then use shift/enter to highloght tracks I wish to place in a new playlist I create for the purpose, drag and drop produce icon + and no of tracks and then nothing! After ejecting the disc the tracks are in the library but contrary to what the icon tells me not in the playlist. I can get them into the playlist but only from the library

  • Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers and firefox

    Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers, firefox, and when trying to move any file from the downloads folder.
    This is a serious pain.
    Please help.
    WB

    Yes, all I can tell you is that Finder does not have that function in ML. Your system is "working as expected".
    You can file feedback here.

  • How to change mouse cursor during drag and drop

    Hi Guys,
    Iam performing a Drag and drop from Table1(on top of the figure) to Table2(down in the figure).
    see attached figure
    http://www.upload-images.net/imagen/e80060d9d3.jpg
    Have implemented the Drag and drop functionality using "Transferable" and "TransferHandler"using the java tutorial
    http://java.sun.com/docs/books/tutorial/uiswing/examples/dnd/index.html#ExtendedDndDemo
    Now My problem is that ,I want to make the 1st column in Table2(ie: Column2-0) not to accept any drops so that the cursor appears like a "No-Drop" cursor but with selection on the column cell during a drop action.
    Also when I move my cursor between "column2-0" and "column2-1",want to to have the "No-Drop" and "Drop" cursor to appear depending on the column.
    How can I achieve it using the TransferHandle class.Dont want to go the AWT way of implementing all the source and target listeners on my own.
    Have overridded the "CanImort" as follows:
    public boolean canImport(JComponent c, DataFlavor[] flavors) {
         JTable table = (JTable)c;      
    Point p = table.getMousePosition();
    /* if(p==null)
         return false;
    int selColIndex = table.columnAtPoint(p);
    if(selColIndex==0)
         return false;*/
    If I execute the above commented code,The "No-Drop" Icon appears in "column2-0",but no cell selection.Also If I move to "column2-1",which is the 1st column,Still get the "No-Drop" Icon there,also with no cell selection.
    for (int i = 0; i < flavors.length; i++) {
    if ((DataFlavor.stringFlavor.equals(flavors))) {
    return true;
    return false;
    Thanks in advance.....
    Edited by: Kohinoor on Jan 18, 2008 3:47 PM

    If you found the selection column based on the mouse pointer, then based on the column, you can set the cursor pointer as any one as below :
    setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
    setCursor(new Cursor(Cursor.HAND_CURSOR));

Maybe you are looking for

  • Laserjet Pro 200 Color MFP M276nw installation error

    On a laptop running Windows 8 (I have tried several times, including rebooting): Whether running LJ-Pro-200-color-MFP-M276-driver-installer-14057.exe or LJ-Pro-200-color-MFP-M276-full-solution-14057.exe I get the same error: A problem occurred while

  • Photoshop CC for Mac - why can't I use the paint bucket?

    I finally found the paint bucket tool - but when I try to use it, I get the circle w/ the cross in it (like the ghostbusters background ). EUREKA! it didn't work with .tif or .psd files, but it DID work w/ a .jpg file! Hopw this helps someone!

  • Any improvement in ripping error handling since 7.0.1.8?

    iTunes is driving me nuts, %10 of the songs I rip from my CD collection are garbled crap and I have to go back and use Realplayer to rerip them or rip them to WAVs with other apps. This is time consuming when you have a 600 CD collection you're tryin

  • Idoc at status 51, however outbound delivery created

    Hi Gurus, We have peculiar issue , where in outbound delivery is getting created through IDoc. The inbound idoc has status 51 however delivery got created.  Any idea how is it possible?. Thanks in advance.

  • Structure of a data type(Sender JDBC adapter)

    Hi Experts, I've 5 columns. There's a possibility of getting multiple records at a time. How should my source data type look like? Data type(1..unbounded) .........Column1(1..1) ..........Column2(1..1) ..........Column5 OR Data type ....Rowset(1..unb