# Drag and drop to list component

**URL:** <https://forum.inductiveautomation.com/t/drag-and-drop-to-list-component/44077>\
**Category:** Ignition\
**Created:** [March 4, 2021, 5:51am UTC](https://forum.inductiveautomation.com/t/drag-and-drop-to-list-component/44077 "2021-03-04T05:51:54Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 4, 2021, 5:49pm UTC](https://forum.inductiveautomation.com/t/drag-and-drop-to-list-component/44077/11 "2021-03-04T17:49:38Z")

</div>

Oh, I was thinking of an example I made years ago:

> [@Drag and drop from tag browse tree to power table](http://forum.inductiveautomation.com/t/drag-and-drop-from-tag-browse-tree-to-power-table/15260/3):
>
> Here’s a sample window I came up with a while back. Note that is pretty low-level Java Swing stuff - so you’re on your own merits to figure out how it all works. Also, don’t even try and call into support about this. [Power Table Tags Dropped.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/70c831f665ee8ad4a4167c49a595750bf5859a8b.proj) (19.9 KB) For a brief explanation: The initialize() function of the power table fires the addListener() custom method, which creates an instance of a custom [DropTargetListener](https://docs.oracle.com/javase/7/docs/api/java/awt/dnd/DropTargetListener.html). That custom DropTargetListener has an overridden drop() function…

You're welcome to do that, but @lrose is absolutely correct - skipping drag and drop is going to be a lot more maintainable.

---

_[View the full topic](https://forum.inductiveautomation.com/t/drag-and-drop-to-list-component/44077)._
