Skip to main content

All Questions

0 votes
1 answer
328 views

Drag and drop functionality with VBox

I am trying to add drag and drop functionality for my JavaFX project. It sort of works but not really at the same time VBox questions = new VBox(); questions.getChildren().add(createQustionType("long ...
rodude123's user avatar
  • 290
0 votes
1 answer
38 views

Drag button called view whats wrong and how to solve it

Hi guys can plz help me in this case i want to drag a button called view , i set up the code like u see down there , but i still can't drag it , can u give me diffident solutions plz with a good ...
amiine's user avatar
  • 3
4 votes
0 answers
176 views

Draggable Expandablelistview parent and child relationship Android

I have implement Expandable list view in navigation drawer. My Question is I have drag and drop Work to Personal so now Work is personal child this is possible in android? That is possible how? ...
Anand Diamond's user avatar
0 votes
1 answer
2k views

Drag and Drop in Android: How to get the new position of a dropped View

Hi I got an simple drag and drop activity. It looks like this: public class Test extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(...
Patrick Czerwinski's user avatar
0 votes
2 answers
453 views

Add Multiple Draggable Images to a JFrame

The following code works and creates a Draggable Image (DI). Ive created 2 instances of type DI, test and test1. Either one works but I can't figure out how to include both in a JFrame at the same ...
Codedoggie's user avatar
0 votes
1 answer
1k views

Dragging png files in processing

I am trying to design something in processing for a university experiment. I need people to be able to drag images and place them on a map. I was able to create the layout of my program and can load ...
user69247's user avatar
6 votes
1 answer
9k views

Drag and Drop from JButton to JComponent in Java

I searched on the internet for examples how to Drag and Drop JButtons to an Object but I could not make it work. What my program does, is that when I click on a button, the object updated a field (...
user3450862's user avatar
0 votes
1 answer
775 views

how to get index or position of listview control

Hello guys I am new to android programming. I want to create a puzzle game in which user will sort the html unsorted tags by dragging them on the screen. I am using a listview control to store the ...
asfandahmed1's user avatar
1 vote
1 answer
2k views

Drag and dropping with visual indication

I am trying to implement a drag and drop between 2 objects. The problem is when I drag from one rectangle to the other I need the start of a line to be connected on the source rectangle and the end ...
RAG7's user avatar
  • 13
2 votes
2 answers
6k views

Dragging buttons in Javafx

I have a button which I would like to drag it and after some time drop it. I searched online the most useful thing I came across was this link. Alike from the link provided I would like the button to ...
Adilli Adil's user avatar
  • 1,251
0 votes
1 answer
2k views

ImageIcon click and drag around the window

I'm trying to make it so I can click and drag an ImageIcon (in this case a card image but I'd like to learn how to do it generally) around the window but I don't really know how. I would like to be ...
user3281845's user avatar
2 votes
2 answers
5k views

Drag And Drop LibGDX

I want to make a game where you can build stuff by dragging and dropping objects into place. I think LibGDX only supports DragNDrop on Actors, but I need physics on bricks in order to make them fall ...
yafrack's user avatar
  • 654
0 votes
1 answer
3k views

Java - visually drag a swing element

Is there a similar solution to http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#PaletteExample but for normal Java applications, i.e. allowing gui elements to be ...
user973758's user avatar
0 votes
2 answers
132 views

What is drag and drop as in "moving stuff around with a mouse" called as opposed to drag and drop as in data transfer?

I'm trying to implement drag and drop in C# and Java in order to allow the user to move visual elements around with the mouse but all I'm finding on Google are tutorials about data transfer and copy ...
mtanti's user avatar
  • 824
4 votes
1 answer
207 views

Easiest way to make a list-like widget with drag and drop of items?

The simplest example I can think of are playlists, where you can drag a song to a different position in the list. I've done quite a few things with Swing but I've never seen an example with something ...
chibat's user avatar
  • 45

15 30 50 per page