Results 1 to 2 of 2
  1. #1
    sumys is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default Implement Drag and Drop

    I am working on a board game which is a 8x8 grid with 5 images of different colours. The objects can swap as long as they are next to each other in a row or column. If the switch results 3 or more objects are same in a row or column, they will be removed. if the switch does not result in a match, the switch will not happen. when the object is removed, the board collapses so that the objects positioned above the removed one falls down to take its place and new one falls in to the top to fill in the spaces.

    I would like to know a good way to implement drag operation and falling down of the objects, Should I use layered pane?

    Any Ideas will help me.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Implement Drag and Drop

    You have already asked this in your earlier thread. Don't double post the same question.



    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Need help with drag and drop
    By NixasMuraki in forum New To Java
    Replies: 2
    Last Post: 06-07-2011, 02:55 AM
  2. drag and drop
    By Dean29126 in forum AWT / Swing
    Replies: 0
    Last Post: 01-18-2011, 08:24 AM
  3. drag and drop - disable intra component drop
    By tomba in forum AWT / Swing
    Replies: 4
    Last Post: 12-09-2009, 02:01 PM
  4. Drag and Drop
    By carderne in forum New To Java
    Replies: 0
    Last Post: 08-31-2009, 10:18 AM
  5. Drag and drop
    By abhivenugopal in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-30-2008, 03:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts